Searched refs:codecInfo (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderConformanceTest.java | 142 MediaCodecInfo codecInfo = mDecoder.getCodecInfo(); in decodeTestVector() local 143 MediaCodecInfo.CodecCapabilities caps = codecInfo.getCapabilitiesForType(mime); in decodeTestVector()
|
D | MediaCodecTest.java | 220 MediaCodecInfo codecInfo = codec.getCodecInfo(); // obtaining the codec info now is fine. in verifyException() local 329 codecInfo = codec.getCodecInfo(); in verifyException() 365 MediaCodecInfo codecInfo = selectCodec(MIME_TYPE); in testCreateInputSurfaceErrors() local 366 int colorFormat = findNonSurfaceColorFormat(codecInfo, MIME_TYPE); in testCreateInputSurfaceErrors() 371 encoder = MediaCodec.createByCodecName(codecInfo.getName()); in testCreateInputSurfaceErrors() 373 fail("failed to create codec " + codecInfo.getName()); in testCreateInputSurfaceErrors() 1713 private static int findNonSurfaceColorFormat(MediaCodecInfo codecInfo, String mimeType) { in findNonSurfaceColorFormat() argument 1714 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in findNonSurfaceColorFormat() 1721 fail("couldn't find a good color format for " + codecInfo.getName() + " / " + MIME_TYPE); in findNonSurfaceColorFormat() 1831 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in testPCMEncoding() [all …]
|
D | ExtractDecodeEditEncodeMuxTest.java | 1213 MediaCodecInfo codecInfo = MediaCodecList.getCodecInfoAt(i); in selectCodec() local 1215 if (codecInfo.isAlias()) { in selectCodec() 1218 if (!codecInfo.isEncoder()) { in selectCodec() 1222 String[] types = codecInfo.getSupportedTypes(); in selectCodec() 1225 return codecInfo; in selectCodec()
|
D | VpxCodecTestBase.java | 130 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in getVpxCodecProperties() 131 if (isEncoder != codecInfo.isEncoder()) { in getVpxCodecProperties() 134 Log.v(TAG, codecInfo.getName()); in getVpxCodecProperties() 137 if (codecInfo.isVendor() && forceGoogleCodec) { in getVpxCodecProperties() 141 for (String type : codecInfo.getSupportedTypes()) { in getVpxCodecProperties() 145 CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(type); in getVpxCodecProperties() 151 Log.v(TAG, "Found candidate codec " + codecInfo.getName()); in getVpxCodecProperties() 160 codecProperties = new CodecProperties(codecInfo.getName(), in getVpxCodecProperties() 165 if (!codecInfo.isVendor()) { in getVpxCodecProperties()
|
D | AdaptivePlaybackTest.java | 1209 String codecName, MediaCodecInfo codecInfo, Media media, int eosframe, TestSurface s) 1483 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { 1484 if (codecInfo.isAlias()) { 1487 if (codecInfo.isEncoder()) { 1490 for (String type : codecInfo.getSupportedTypes()) { 1493 codecInfo, 1494 codecInfo.getCapabilitiesForType(mime),
|
D | EncodeDecodeTest.java | 562 private static int selectColorFormat(MediaCodecInfo codecInfo, String mimeType) { in selectColorFormat() argument 563 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in selectColorFormat() 570 fail("couldn't find a good color format for " + codecInfo.getName() + " / " + mimeType); in selectColorFormat()
|
D | DecoderTest.java | 3218 MediaCodecInfo codecInfo = MediaCodecList.getCodecInfoAt(i); 3219 if (codecInfo.isAlias()) { 3222 if (codecInfo.isEncoder()) { 3226 String[] types = codecInfo.getSupportedTypes(); 3229 caps.add(codecInfo.getCapabilitiesForType(mimeType));
|