Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DDecoderConformanceTest.java139 MediaCodecInfo codecInfo = mDecoder.getCodecInfo(); in decodeTestVector() local
140 MediaCodecInfo.CodecCapabilities caps = codecInfo.getCapabilitiesForType(mime); in decodeTestVector()
DMediaCodecTest.java205 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()
DVpxCodecTestBase.java134 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()
DExtractDecodeEditEncodeMuxTest.java1215 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()
DAdaptivePlaybackTest.java1176 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),
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()
DDecoderTest.java2813 MediaCodecInfo codecInfo = MediaCodecList.getCodecInfoAt(i);
2814 if (codecInfo.isEncoder()) {
2818 String[] types = codecInfo.getSupportedTypes();
2821 caps.add(codecInfo.getCapabilitiesForType(mimeType));