Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DDecoderConformanceTest.java134 …private Status decodeTestVector(String mime, String decoderName, String vectorName) throws Excepti… in decodeTestVector() argument
141 mDecoder = MediaCodec.createByCodecName(decoderName); in decodeTestVector()
171 for (String decoderName: decoderNames) { in decodeTestVectors()
175 Log.d(TAG, "Decode vector " + vectorName + " with " + decoderName); in decodeTestVectors()
177 Status stat = decodeTestVector(mime, decoderName, vectorName); in decodeTestVectors()
193 mReportLog.addValue("decode_name", decoderName, ResultType.NEUTRAL, in decodeTestVectors()
DDecoderTestXheAac.java329 String effectTypeName, int nCh, int aggressiveDrc, String decoderName) in checkUsacDrcEffectType() argument
347 -1, null, drcParams_def, decoderName); in checkUsacDrcEffectType()
349 -1, null, drcParams_test, decoderName); in checkUsacDrcEffectType()
373 String decoderName) throws Exception in checkUsacStreamSwitching() argument
380 -1, null, drcParams, decoderName); in checkUsacStreamSwitching()
396 private void checkUsacSamplingRate(int testinput, String decoderName) throws Exception { in checkUsacSamplingRate() argument
402 -1, null, drcParams_def, decoderName); in checkUsacSamplingRate()
404 -1, null, drcParams_test, decoderName); in checkUsacSamplingRate()
423 private void checkUsacSamplingRateWoLoudness(int testinput, String decoderName) throws Exception in checkUsacSamplingRateWoLoudness() argument
428 short[] decSamples = decodeToMemory(decParams, testinput, -1, null, drcParams, decoderName); in checkUsacSamplingRateWoLoudness()
[all …]
DDecoderTestAacDrc.java318 String decoderName) throws Exception { in checkUsacLoudness() argument
324 -1, null, drcParams_def, decoderName); in checkUsacLoudness()
326 -1, null, drcParams_test, decoderName); in checkUsacLoudness()
398 int eossample, List<Long> timestamps, DrcParams drcParams, String decoderName) in decodeToMemory() argument
423 if (decoderName == null) { in decodeToMemory()
426 codec = MediaCodec.createByCodecName(decoderName); in decodeToMemory()
DDecoderTest.java467 for (String decoderName: MediaUtils.getDecoderNames(mimeFormat)) { in testColorAspects()
468 if (!MediaUtils.supports(decoderName, format)) { in testColorAspects()
469 MediaUtils.skipTest(decoderName + " cannot play resource " + res); in testColorAspects()
471 testColorAspects(decoderName, res, testId, in testColorAspects()
478 String decoderName, int res, int testId, int expectRange, in testColorAspects() argument
484 MediaCodec dec = MediaCodec.createByCodecName(decoderName); in testColorAspects()
543 String reportName = decoderName + "_colorAspectsTest Test " + testId + in testColorAspects()
549 log.addValue("decoder_name", decoderName, ResultType.NEUTRAL, ResultUnit.NONE); in testColorAspects()
2505 for (String decoderName: decoderNames) {
2514 decodeWithChecks(decoderName, extractor,
[all …]
DVideoDecoderPerfTest.java354 String decoderName = decoders[ix]; in perf() local
358 if (MediaUtils.supports(decoderName, formats[i])) { in perf()
359 decode(decoderName, resources[i], formats[i]); in perf()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DMediaBitstreamsTest.java411 String decoderName = lines[i++]; in parse() local
417 mLastCrash = MediaBitstreams.generateCrashSignature(path, decoderName); in parse()
420 addConformanceEntry(mMethodName, path, decoderName, result); in parse()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java780 for (String decoderName : decoderNames) { in doTest()
782 CodecInfo.getSupportedFormatInfo(decoderName, mimeType, w, h, MAX_FPS); in doTest()
792 RunResult decoderResult = runDecoder(decoderName, format, i); in doTest()
1145 private RunResult runDecoder(String decoderName, MediaFormat format, int runId) { in runDecoder() argument
1148 codec = MediaCodec.createByCodecName(decoderName); in runDecoder()