Home
last modified time | relevance | path

Searched refs:codecs (Results 1 – 15 of 15) sorted by relevance

/cts/tests/mediapc/
DREADME.md28 #### Select codecs by media type
29 To select codecs by media type, *media-type-prefix* can be passed to media codec tests to select on…
36 #### Select codecs using regular expressions
37 To select codecs by applying regular expressions, *codec-filter* can be passed to media codec tests…
45 #### Select codecs by name
46 To select codecs by name, *codec-prefix* can be passed to media codec tests to select one or more c…
48 Example: To limit the tests to run for codecs whose names start with c2.android.
/cts/tests/media/
DREADME.md2 …, media muxer, media codec SDK and NDK Api. These tests aims to test all codecs advertised in Medi…
25 #### Select codecs by name
26 To select codecs by name, *codec-prefix* can be passed to media codec tests to select one or more c…
28 Example: To limit the tests to run for codecs whose names start with c2.android.
40 #### Select codecs using regular expressions
41 To select codecs by applying regular expressions, *codec-filter* can be passed to media codec tests…
49 #### Select codecs by type
50 To select codecs by type, *media-type-sel* can be passed to media codec tests to select one or more…
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecBlockModelTest.java173 String[] codecs = MediaUtils.getDecoderNames(true /* isGoog */, mediaFormat); in runDecodeShortAudio() local
174 if (codecs.length == 0) { in runDecodeShortAudio()
178 mediaCodec = MediaCodec.createByCodecName(codecs[0]); in runDecodeShortAudio()
228 String[] codecs = MediaUtils.getEncoderNames(true /* isGoog */, mediaFormat); in runEncodeShortAudio() local
229 if (codecs.length == 0) { in runEncodeShortAudio()
233 mediaCodec = MediaCodec.createByCodecName(codecs[0]); in runEncodeShortAudio()
287 String[] codecs = MediaUtils.getEncoderNames(true /* isGoog */, mediaFormat); in runEncodeShortVideo() local
288 if (codecs.length == 0) { in runEncodeShortVideo()
292 mediaCodec = MediaCodec.createByCodecName(codecs[0]); in runEncodeShortVideo()
DMediaCodecInstancesTest.java97 Vector<MediaCodec> codecs = new Vector<>(); in getActualMax() local
117 codecs.add(codec); in getActualMax()
156 int actualMax = codecs.size(); in getActualMax()
157 for (int i = 0; i < codecs.size(); ++i) { in getActualMax()
159 codecs.get(i).release(); in getActualMax()
168 codecs.clear(); in getActualMax()
/cts/tests/video/src/android/video/cts/
DVideoCodecClaimsPerformanceTestBase.java82 ArrayList<String> codecs = in deviceClaimsPerformanceSupported() local
84 if (codecs.isEmpty()) { in deviceClaimsPerformanceSupported()
91 for (String codecName : codecs) { in deviceClaimsPerformanceSupported()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecAudioReturnChannelControlTest.java219 HashSet<Integer> codecs = new HashSet<>(); in shortAudioDescriptorsRequested() local
221 codecs.add(CecMessage.getParams(requestSad1, 2 * i, 2 * i + 2)); in shortAudioDescriptorsRequested()
230 codecs.add(CecMessage.getParams(requestSad2, 2 * i, 2 * i + 2)); in shortAudioDescriptorsRequested()
233 "Requested codecs are " + codecs + " but expected to be " + expectedCodecs) in shortAudioDescriptorsRequested()
234 .that(codecs) in shortAudioDescriptorsRequested()
/cts/hostsidetests/videoencodingminimum/app/src/android/videoencodingmin/app/
DVideoTranscoderTest.java176 ArrayList<String> codecs = selectCodecs(mEncMediaType, formats, null, true, cType); in parseEncoderConfigurationFile() local
177 if (!codecs.isEmpty()) mEncoderName = codecs.get(0); in parseEncoderConfigurationFile()
/cts/hostsidetests/mediapc/videoencodingquality/app/src/android/videoencoding/app/
DVideoTranscoderTest.java176 ArrayList<String> codecs = selectCodecs(mEncMediaType, formats, null, true, cType); in parseEncoderConfigurationFile() local
177 if (!codecs.isEmpty()) mEncoderName = codecs.get(0); in parseEncoderConfigurationFile()
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/
DMediaExtractorTest.java740 MediaCodec [] codecs = { null, null }; in testProgramStreamExtraction() local
744 codecs[0] = MediaCodec.createDecoderByType(f.getString(MediaFormat.KEY_MIME)); in testProgramStreamExtraction()
745 codecs[0].configure(f, null /* surface */, null /* crypto */, 0 /* flags */); in testProgramStreamExtraction()
746 codecs[0].start(); in testProgramStreamExtraction()
752 codecs[1] = MediaCodec.createDecoderByType(f.getString(MediaFormat.KEY_MIME)); in testProgramStreamExtraction()
753 codecs[1].configure(f, null /* surface */, null /* crypto */, 0 /* flags */); in testProgramStreamExtraction()
754 codecs[1].start(); in testProgramStreamExtraction()
765 for (MediaCodec codec : codecs) { in testProgramStreamExtraction()
779 MediaCodec codec = codecs[trackIdx]; in testProgramStreamExtraction()
/cts/tests/mediapc/requirements/
Drequirements.txtpb85 …resolution@30 fps and 3 sessions at 4k resolution@30fps, unless AV1. AV1 codecs are only required …
92 …ll sessions, there MUST NOT be more than 1 frame dropped per second. AV1 codecs are only required …
163 …resolution@30 fps and 2 sessions at 4k resolution@30fps, unless AV1. AV1 codecs are only required …
170 …ll sessions, there MUST NOT be more than 1 frame dropped per second. AV1 codecs are only required …
241 …h at most 2 are encoder sessions and 3 sessions at 1080p resolution. AV1 codecs are only required …
248 …ll sessions, there MUST NOT be more than 1 frame dropped per second. AV1 codecs are only required …
281 "video-only transcoding session using hardware video codecs together "
310 "video-only transcoding session using hardware video codecs together "
339 "video-only transcoding session using hardware video codecs together "
368 "video-only transcoding session using hardware video codecs together "
[all …]
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecBlockModelHelper.java370 String[] codecs = MediaUtils.getDecoderNames(true /* isGoog */, mediaFormat); in runDecodeShortVideo() local
371 if (codecs.length == 0) { in runDecodeShortVideo()
375 mediaCodec = MediaCodec.createByCodecName(codecs[0]); in runDecodeShortVideo()
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMockMediaParserOutputConsumer.java159 String codecs = in toExoPlayerFormat() local
231 .setCodecs(codecs) in toExoPlayerFormat()
/cts/apps/CameraITS/utils/
Dsensor_fusion_utils.py18 import codecs
267 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/
DMediaUtils.java296 String[] codecs = getCodecNames(isEncoder, isGoog, formats); in verifyNumCodecs() local
297 assertTrue("test can only verify " + count + " " + desc + "; found " + codecs.length + ": " in verifyNumCodecs()
298 + Arrays.toString(codecs), codecs.length <= count); in verifyNumCodecs()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt23637 field public static final String KEY_CODECS_STRING = "codecs-string";