Searched refs:codecInfo (Results 1 – 10 of 10) sorted by relevance
/cts/tests/media/src/android/mediav2/cts/ |
D | EncoderColorAspectsTest.java | 120 for (MediaCodecInfo codecInfo : codecInfos) { in input() 121 if (!codecInfo.isEncoder()) continue; in input() 122 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q && codecInfo.isAlias()) continue; in input() 123 String[] types = codecInfo.getSupportedTypes(); in input()
|
D | CodecTestBase.java | 542 for (MediaCodecInfo codecInfo : codecInfos) { in prepareParamList() 543 if (codecInfo.isEncoder() != isEncoder) continue; in prepareParamList() 544 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q && codecInfo.isAlias()) continue; in prepareParamList() 545 String[] types = codecInfo.getSupportedTypes(); in prepareParamList() 742 for (MediaCodecInfo codecInfo : codecInfos) { in selectCodecs() 743 if (codecInfo.isEncoder() != isEncoder) continue; in selectCodecs() 744 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q && codecInfo.isAlias()) continue; in selectCodecs() 745 String[] types = codecInfo.getSupportedTypes(); in selectCodecs() 750 codecInfo.getCapabilitiesForType(type); in selectCodecs() 767 if (isOk) listOfCodecs.add(codecInfo.getName()); in selectCodecs()
|
D | CodecEncoderSurfaceTest.java | 122 for (MediaCodecInfo codecInfo : codecInfos) { in input() 123 if (!codecInfo.isEncoder()) continue; in input() 124 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q && codecInfo.isAlias()) continue; in input() 125 String[] types = codecInfo.getSupportedTypes(); in input()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTest.java | 221 MediaCodecInfo codecInfo = codec.getCodecInfo(); // obtaining the codec info now is fine. in verifyException() local 330 codecInfo = codec.getCodecInfo(); in verifyException() 366 MediaCodecInfo codecInfo = selectCodec(MIME_TYPE); in testCreateInputSurfaceErrors() local 367 int colorFormat = findNonSurfaceColorFormat(codecInfo, MIME_TYPE); in testCreateInputSurfaceErrors() 372 encoder = MediaCodec.createByCodecName(codecInfo.getName()); in testCreateInputSurfaceErrors() 374 fail("failed to create codec " + codecInfo.getName()); in testCreateInputSurfaceErrors() 1714 private static int findNonSurfaceColorFormat(MediaCodecInfo codecInfo, String mimeType) { in findNonSurfaceColorFormat() argument 1715 MediaCodecInfo.CodecCapabilities capabilities = codecInfo.getCapabilitiesForType(mimeType); in findNonSurfaceColorFormat() 1722 fail("couldn't find a good color format for " + codecInfo.getName() + " / " + MIME_TYPE); in findNonSurfaceColorFormat() 1844 for (MediaCodecInfo codecInfo : mcl.getCodecInfos()) { in testPCMEncoding() [all …]
|
D | DecoderConformanceTest.java | 142 MediaCodecInfo codecInfo = mDecoder.getCodecInfo(); in decodeTestVector() local 143 MediaCodecInfo.CodecCapabilities caps = codecInfo.getCapabilitiesForType(mime); in decodeTestVector()
|
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 | DecoderTest.java | 267 for (MediaCodecInfo codecInfo : codecInfoList) { in verifyChannelsAndRates() 268 MediaCodec codec = MediaCodec.createByCodecName(codecInfo.getName()); in verifyChannelsAndRates() 280 Log.d(TAG, "codec: " + codecInfo.getName() + in verifyChannelsAndRates() 301 for (MediaCodecInfo codecInfo : mediaCodecList.getCodecInfos()) { in getDecoderMediaCodecInfoList() 302 if (!codecInfo.isEncoder() && isMimeTypeSupported(codecInfo, mimeType)) { in getDecoderMediaCodecInfoList() 303 decoderInfos.add(codecInfo); in getDecoderMediaCodecInfoList() 309 private boolean isMimeTypeSupported(MediaCodecInfo codecInfo, String mimeType) { in isMimeTypeSupported() argument 310 for (String type : codecInfo.getSupportedTypes()) { in isMimeTypeSupported() 3302 MediaCodecInfo codecInfo = MediaCodecList.getCodecInfoAt(i); 3303 if (codecInfo.isAlias()) { [all …]
|
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()
|