Searched refs:codecInfo (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderConformanceTest.java | 139 MediaCodecInfo codecInfo = mDecoder.getCodecInfo(); in decodeTestVector() local 140 MediaCodecInfo.CodecCapabilities caps = codecInfo.getCapabilitiesForType(mime); in decodeTestVector()
|
D | MediaCodecTest.java | 205 MediaCodecInfo codecInfo = codec.getCodecInfo(); // obtaining the codec info now is fine. in verifyException() local 313 codecInfo = codec.getCodecInfo(); in verifyException() 349 MediaCodecInfo codecInfo = selectCodec(MIME_TYPE); in testCreateInputSurfaceErrors() local 350 int colorFormat = findNonSurfaceColorFormat(codecInfo, MIME_TYPE); in testCreateInputSurfaceErrors() 355 encoder = MediaCodec.createByCodecName(codecInfo.getName()); in testCreateInputSurfaceErrors() 357 fail("failed to create codec " + codecInfo.getName()); in testCreateInputSurfaceErrors() 1694 private static int findNonSurfaceColorFormat(MediaCodecInfo codecInfo, String mimeType) { in findNonSurfaceColorFormat() argument 1695 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in findNonSurfaceColorFormat() 1702 fail("couldn't find a good color format for " + codecInfo.getName() + " / " + MIME_TYPE); in findNonSurfaceColorFormat()
|
D | VpxCodecTestBase.java | 134 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in getVpxCodecProperties() 135 if (isEncoder != codecInfo.isEncoder()) { in getVpxCodecProperties() 138 Log.v(TAG, codecInfo.getName()); in getVpxCodecProperties() 142 codecInfo.getName().toLowerCase().startsWith(GOOGLE_CODEC_PREFIX); 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()
|
D | ExtractDecodeEditEncodeMuxTest.java | 1215 MediaCodecInfo codecInfo = MediaCodecList.getCodecInfoAt(i); in selectCodec() local 1217 if (!codecInfo.isEncoder()) { in selectCodec() 1221 String[] types = codecInfo.getSupportedTypes(); in selectCodec() 1224 return codecInfo; in selectCodec()
|
D | AdaptivePlaybackTest.java | 1176 String codecName, MediaCodecInfo codecInfo, Media media, int eosframe, TestSurface s) 1429 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { 1430 if (codecInfo.isEncoder()) { 1433 for (String type : codecInfo.getSupportedTypes()) { 1436 if (codecInfo.getName().equals(explicitCodecName)) { 1440 codecInfo.getName(), 1441 codecInfo.getCapabilitiesForType(mime),
|
D | EncodeDecodeTest.java | 560 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()
|
D | DecoderTest.java | 2813 MediaCodecInfo codecInfo = MediaCodecList.getCodecInfoAt(i); 2814 if (codecInfo.isEncoder()) { 2818 String[] types = codecInfo.getSupportedTypes(); 2821 caps.add(codecInfo.getCapabilitiesForType(mimeType));
|