Home
last modified time | relevance | path

Searched refs:codecInfo (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDecoderConformanceTest.java141 MediaCodecInfo codecInfo = mDecoder.getCodecInfo(); in decodeTestVector() local
142 MediaCodecInfo.CodecCapabilities caps = codecInfo.getCapabilitiesForType(mime); in decodeTestVector()
DMediaCodecTest.java207 MediaCodecInfo codecInfo = codec.getCodecInfo(); // obtaining the codec info now is fine. in verifyException() local
316 codecInfo = codec.getCodecInfo(); in verifyException()
352 MediaCodecInfo codecInfo = selectCodec(MIME_TYPE); in testCreateInputSurfaceErrors() local
353 int colorFormat = findNonSurfaceColorFormat(codecInfo, MIME_TYPE); in testCreateInputSurfaceErrors()
358 encoder = MediaCodec.createByCodecName(codecInfo.getName()); in testCreateInputSurfaceErrors()
360 fail("failed to create codec " + codecInfo.getName()); in testCreateInputSurfaceErrors()
1697 private static int findNonSurfaceColorFormat(MediaCodecInfo codecInfo, String mimeType) { in findNonSurfaceColorFormat() argument
1698 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in findNonSurfaceColorFormat()
1705 fail("couldn't find a good color format for " + codecInfo.getName() + " / " + MIME_TYPE); in findNonSurfaceColorFormat()
DVpxCodecTestBase.java135 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in getVpxCodecProperties()
136 if (isEncoder != codecInfo.isEncoder()) { in getVpxCodecProperties()
139 Log.v(TAG, codecInfo.getName()); in getVpxCodecProperties()
142 boolean isGoogleCodec = MediaUtils.isGoogle(codecInfo.getName()); in getVpxCodecProperties()
147 for (String type : codecInfo.getSupportedTypes()) { in getVpxCodecProperties()
151 CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(type); in getVpxCodecProperties()
157 Log.v(TAG, "Found candidate codec " + codecInfo.getName()); in getVpxCodecProperties()
166 codecProperties = new CodecProperties(codecInfo.getName(), in getVpxCodecProperties()
DExtractDecodeEditEncodeMuxTest.java1217 MediaCodecInfo codecInfo = MediaCodecList.getCodecInfoAt(i); in selectCodec() local
1219 if (!codecInfo.isEncoder()) { in selectCodec()
1223 String[] types = codecInfo.getSupportedTypes(); in selectCodec()
1226 return codecInfo; in selectCodec()
DAdaptivePlaybackTest.java1159 String codecName, MediaCodecInfo codecInfo, Media media, int eosframe, TestSurface s)
1412 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) {
1413 if (codecInfo.isEncoder()) {
1416 for (String type : codecInfo.getSupportedTypes()) {
1419 codecInfo.getName(),
1420 codecInfo.getCapabilitiesForType(mime),
DEncodeDecodeTest.java560 private static int selectColorFormat(MediaCodecInfo codecInfo, String mimeType) { in selectColorFormat() argument
561 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in selectColorFormat()
568 fail("couldn't find a good color format for " + codecInfo.getName() + " / " + mimeType); in selectColorFormat()