Home
last modified time | relevance | path

Searched refs:codecCapabilities (Results 1 – 10 of 10) sorted by relevance

/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DMediaDeviceInfo.java62 CodecCapabilities codecCapabilities = info.getCapabilitiesForType(type); in collectDeviceInfo() local
63 if (codecCapabilities.profileLevels.length > 0) { in collectDeviceInfo()
65 for (CodecProfileLevel profileLevel : codecCapabilities.profileLevels) { in collectDeviceInfo()
73 if (codecCapabilities.colorFormats.length > 0) { in collectDeviceInfo()
74 store.addArrayResult("codec_color_format", codecCapabilities.colorFormats); in collectDeviceInfo()
76 store.addResult("supported_secure_playback", codecCapabilities.isFeatureSupported( in collectDeviceInfo()
78 store.addResult("supported_hdr_editing", codecCapabilities.isFeatureSupported( in collectDeviceInfo()
80 VideoCapabilities videoCapabilities = codecCapabilities.getVideoCapabilities(); in collectDeviceInfo()
141 AudioCapabilities audioCapabilities = codecCapabilities.getAudioCapabilities(); in collectDeviceInfo()
/cts/tests/video/src/android/video/cts/
DCodecPerformanceTestBase.java193 MediaCodecInfo.CodecCapabilities codecCapabilities = in selectCodecs() local
197 if (!codecCapabilities.isFormatSupported(format)) { in selectCodecs()
205 if (!codecCapabilities.isFeatureSupported(feature)) { in selectCodecs()
332 MediaCodecInfo.CodecCapabilities codecCapabilities = in getMaxFrameSize() local
334 MediaCodecInfo.VideoCapabilities vc = codecCapabilities.getVideoCapabilities(); in getMaxFrameSize()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecInitializationLatencyTest.java422 MediaCodecInfo.CodecCapabilities codecCapabilities = in setUpFormat() local
424 if (codecCapabilities.getVideoCapabilities().isSizeSupported(1920, 1080)) { in setUpFormat()
428 } else if (codecCapabilities.getVideoCapabilities().isSizeSupported(1280, 720)) { in setUpFormat()
432 } else if (codecCapabilities.getVideoCapabilities().isSizeSupported(640, 480)) { in setUpFormat()
436 } else if (codecCapabilities.getVideoCapabilities().isSizeSupported(352, 288)) { in setUpFormat()
DCodecTestBase.java463 MediaCodecInfo.CodecCapabilities codecCapabilities = in selectCodecs() local
467 if (!codecCapabilities.isFormatSupported(format)) { in selectCodecs()
475 if (!codecCapabilities.isFeatureSupported(feature)) { in selectCodecs()
536 MediaCodecInfo.CodecCapabilities codecCapabilities = in areFormatsSupported() local
538 if (!codecCapabilities.isFormatSupported(format)) { in areFormatsSupported()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecResourceTest.java295 CodecCapabilities codecCapabilities = mediaCodecInfo.getCapabilitiesForType(mime); in getFirstVideoHardwareDecoder() local
296 VideoCapabilities videoCapabilities = codecCapabilities.getVideoCapabilities(); in getFirstVideoHardwareDecoder()
305 codecCapabilities.getMaxSupportedInstances(), mime, mediaFormat); in getFirstVideoHardwareDecoder()
/cts/tests/media/src/android/mediav2/cts/
DEncoderLevelTest.java180 MediaCodecInfo.CodecCapabilities codecCapabilities = in testVideoEncodeLevels() local
186 if (!codecCapabilities.isFormatSupported(formatNotForUse)) { in testVideoEncodeLevels()
DEncoderProfileLevelTest.java645 MediaCodecInfo.CodecCapabilities codecCapabilities = in testValidateProfileLevel() local
651 if (!codecCapabilities.isFormatSupported(format)) { in testValidateProfileLevel()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapFactoryTest.java1208 MediaCodecInfo.CodecCapabilities codecCapabilities = in hasHEVCDecoderSupportsYUVP010() local
1210 for (int i = 0; i < codecCapabilities.colorFormats.length; ++i) { in hasHEVCDecoderSupportsYUVP010()
1211 if (codecCapabilities.colorFormats[i] in hasHEVCDecoderSupportsYUVP010()
DImageDecoderTest.java2875 MediaCodecInfo.CodecCapabilities codecCapabilities = in hasHEVCDecoderSupportsYUVP010() local
2877 for (int i = 0; i < codecCapabilities.colorFormats.length; ++i) { in hasHEVCDecoderSupportsYUVP010()
2878 if (codecCapabilities.colorFormats[i] in hasHEVCDecoderSupportsYUVP010()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecTestBase.java1065 MediaCodecInfo.CodecCapabilities codecCapabilities = in selectCodecs() local
1069 if (!codecCapabilities.isFormatSupported(format)) { in selectCodecs()
1077 if (!codecCapabilities.isFeatureSupported(feature)) { in selectCodecs()