Home
last modified time | relevance | path

Searched refs:vcaps (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerCodecActivity.java138 VideoCapabilities vcaps = caps.getVideoCapabilities(); in createVideoFormat() local
141 mWidth = vcaps.getSupportedWidths().getUpper(); in createVideoFormat()
142 mHeight = vcaps.getSupportedHeightsFor(mWidth).getUpper(); in createVideoFormat()
143 mBitrate = vcaps.getBitrateRange().getUpper(); in createVideoFormat()
145 mWidth = vcaps.getSupportedWidths().getLower(); in createVideoFormat()
146 mHeight = vcaps.getSupportedHeightsFor(mWidth).getLower(); in createVideoFormat()
147 mBitrate = vcaps.getBitrateRange().getLower(); in createVideoFormat()
DResourceManagerTestActivityBase.java92 VideoCapabilities vcaps = caps.getVideoCapabilities(); in getTestFormat() local
97 mWidth = vcaps.getSupportedWidths().getUpper(); in getTestFormat()
98 mHeight = vcaps.getSupportedHeightsFor(mWidth).getUpper(); in getTestFormat()
100 bitrate = vcaps.getBitrateRange().getUpper(); in getTestFormat()
103 mWidth = vcaps.getSupportedWidths().getLower(); in getTestFormat()
104 mHeight = vcaps.getSupportedHeightsFor(mWidth).getLower(); in getTestFormat()
106 bitrate = vcaps.getBitrateRange().getLower(); in getTestFormat()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecInstancesTest.java65 MediaCodecInfo.VideoCapabilities vcaps = caps.getVideoCapabilities(); in createMinFormat() local
66 int minWidth = vcaps.getSupportedWidths().getLower(); in createMinFormat()
67 int minHeight = vcaps.getSupportedHeightsFor(minWidth).getLower(); in createMinFormat()
68 int minBitrate = vcaps.getBitrateRange().getLower(); in createMinFormat()
69 int minFrameRate = Math.max(vcaps.getSupportedFrameRatesFor(minWidth, minHeight) in createMinFormat()
DMediaCodecTest.java2368 VideoCapabilities vcaps = caps.getVideoCapabilities(); in testPrependHeadersToSyncFrames() local
2369 int minWidth = vcaps.getSupportedWidths().getLower(); in testPrependHeadersToSyncFrames()
2370 int minHeight = vcaps.getSupportedHeightsFor(minWidth).getLower(); in testPrependHeadersToSyncFrames()
2371 int minBitrate = vcaps.getBitrateRange().getLower(); in testPrependHeadersToSyncFrames()
2372 int minFrameRate = Math.max(vcaps.getSupportedFrameRatesFor( in testPrependHeadersToSyncFrames()