Home
last modified time | relevance | path

Searched refs:canDecodeVideo (Results 1 – 4 of 4) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java635 public static boolean canDecodeVideo(String mime, int width, int height, float rate) { in canDecodeVideo() method in MediaUtils
636 return canDecodeVideo(mime, width, height, rate, (float)0.0); in canDecodeVideo()
640 …public static boolean canDecodeVideo(String mime, int width, int height, float rate, float decodeR… in canDecodeVideo() method in MediaUtils
646 public static boolean canDecodeVideo( in canDecodeVideo() method in MediaUtils
649 return canDecodeVideo(mime, width, height, rate, profile, level, bitrate, (float)0.0); in canDecodeVideo()
652 public static boolean canDecodeVideo( in canDecodeVideo() method in MediaUtils
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecCapabilitiesTest.java174 if (isTv() && MediaUtils.canDecodeVideo(MIMETYPE_VIDEO_HEVC, 3840, 2160, 30)) { in testH265DecoderProfileAndLevel()
184 assertTrue(MediaUtils.canDecodeVideo(MIMETYPE_VIDEO_VP9, 1920, 1080, 60 /* fps */, in testVp9DecoderCapabilitiesOnTv()
186 if (MediaUtils.canDecodeVideo(MIMETYPE_VIDEO_VP9, 3840, 2160, 60 /* fps */)) { in testVp9DecoderCapabilitiesOnTv()
188 assertTrue(MediaUtils.canDecodeVideo(MIMETYPE_VIDEO_VP9, 3840, 2160, 60 /* fps */, in testVp9DecoderCapabilitiesOnTv()
DDecoderTest.java2200 assertTrue(MediaUtils.canDecodeVideo(
2220 assertTrue(MediaUtils.canDecodeVideo(
2244 assertTrue(MediaUtils.canDecodeVideo(
2269 assertTrue(MediaUtils.canDecodeVideo(
2310 assertTrue(MediaUtils.canDecodeVideo(MediaFormat.MIMETYPE_VIDEO_VP8, 1280, 720, 30));
2320 assertTrue(MediaUtils.canDecodeVideo(MediaFormat.MIMETYPE_VIDEO_VP8, 1280, 720, 60));
2330 assertTrue(MediaUtils.canDecodeVideo(MediaFormat.MIMETYPE_VIDEO_VP8, 1920, 1080, 30));
2341 assertTrue(MediaUtils.canDecodeVideo(MediaFormat.MIMETYPE_VIDEO_VP8, 1920, 1080, 60));
2361 assertTrue(MediaUtils.canDecodeVideo(MediaFormat.MIMETYPE_VIDEO_VP9, 1280, 720, 30));
2427 assertTrue(MediaUtils.canDecodeVideo(
[all …]
DDecodeAccuracyTest.java211 if (!MediaUtils.canDecodeVideo(vf.getMimeType(), vf.getWidth(), vf.getHeight(), 30)) { in runTest()