Searched refs:codecs (Results 1 – 7 of 7) sorted by relevance
/cts/tests/media/ |
D | README.md | 2 …, media muxer, media codec SDK and NDK Api. These tests aims to test all codecs advertised in Medi… 21 #### Select codecs by name 22 To select codecs by name, *codec-prefix* can be passed to media codec tests to select one or more c… 24 Example: To limit the tests to run for codecs whose names start with c2.android. 36 #### Select codecs by type 37 To select codecs by type, *mime-sel* can be passed to media codec tests to select one or more codec…
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecBlockModelTest.java | 584 String[] codecs = MediaUtils.getDecoderNames(true /* isGoog */, mediaFormat); in runDecodeShortVideo() local 585 if (codecs.length == 0) { in runDecodeShortVideo() 589 mediaCodec = MediaCodec.createByCodecName(codecs[0]); in runDecodeShortVideo() 647 String[] codecs = MediaUtils.getDecoderNames(true /* isGoog */, mediaFormat); in runDecodeShortAudio() local 648 if (codecs.length == 0) { in runDecodeShortAudio() 652 mediaCodec = MediaCodec.createByCodecName(codecs[0]); in runDecodeShortAudio() 699 String[] codecs = MediaUtils.getEncoderNames(true /* isGoog */, mediaFormat); in runEncodeShortAudio() local 700 if (codecs.length == 0) { in runEncodeShortAudio() 704 mediaCodec = MediaCodec.createByCodecName(codecs[0]); in runEncodeShortAudio() 755 String[] codecs = MediaUtils.getEncoderNames(true /* isGoog */, mediaFormat); in runEncodeShortVideo() local [all …]
|
D | MediaExtractorTest.java | 933 MediaCodec [] codecs = { null, null }; in testProgramStreamExtraction() local 937 codecs[0] = MediaCodec.createDecoderByType(f.getString(MediaFormat.KEY_MIME)); in testProgramStreamExtraction() 938 codecs[0].configure(f, null /* surface */, null /* crypto */, 0 /* flags */); in testProgramStreamExtraction() 939 codecs[0].start(); in testProgramStreamExtraction() 945 codecs[1] = MediaCodec.createDecoderByType(f.getString(MediaFormat.KEY_MIME)); in testProgramStreamExtraction() 946 codecs[1].configure(f, null /* surface */, null /* crypto */, 0 /* flags */); in testProgramStreamExtraction() 947 codecs[1].start(); in testProgramStreamExtraction() 958 for (MediaCodec codec : codecs) { in testProgramStreamExtraction() 972 MediaCodec codec = codecs[trackIdx]; in testProgramStreamExtraction()
|
D | MediaCodecCapabilitiesTest.java | 702 Vector<MediaCodec> codecs = new Vector<MediaCodec>(); in getActualMax() local 713 codecs.add(codec); in getActualMax() 743 int actualMax = codecs.size(); in getActualMax() 744 for (int i = 0; i < codecs.size(); ++i) { in getActualMax() 746 codecs.get(i).release(); in getActualMax() 748 codecs.clear(); in getActualMax()
|
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/ |
D | MockMediaParserOutputConsumer.java | 155 String codecs = in toExoPlayerFormat() local 227 .setCodecs(codecs) in toExoPlayerFormat()
|
/cts/apps/CameraITS/utils/ |
D | sensor_fusion_utils.py | 18 import codecs 171 return [('%0.2x' % int(codecs.encode(x, 'hex_codec'), 16) if x else '--')
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 281 String[] codecs = getCodecNames(isEncoder, isGoog, formats); in verifyNumCodecs() local 282 assertTrue("test can only verify " + count + " " + desc + "; found " + codecs.length + ": " in verifyNumCodecs() 283 + Arrays.toString(codecs), codecs.length <= count); in verifyNumCodecs()
|