Home
last modified time | relevance | path

Searched refs:mDecoderName (Results 1 – 24 of 24) sorted by relevance

/cts/tests/mediapc/src/android/mediapc/cts/
DMultiDecoderPerfTest.java55 private final String mDecoderName; field in MultiDecoderPerfTest
59 mDecoderName = decoderName; in MultiDecoderPerfTest()
101 isSecureSupportedCodec(mDecoderName, mMediaType)); in test720p()
120 if (isSecureSupportedCodec(mDecoderName, mMediaType)) { in test1080p()
143 if (isSecureSupportedCodec(mDecoderName, mMediaType)) { in test4k()
162 isSecureSupportedCodec(mDecoderName, mMediaType)); in test4kHbd()
172 mediaTypeDecoderPairs.add(Pair.create(mMediaType, mDecoderName)); in testCodec()
173 boolean isSecure = isSecureSupportedCodec(mDecoderName, mMediaType); in testCodec()
186 testList.add(new Decode(mMediaType, testFile1080p, mDecoderName, mIsAsync, in testCodec()
188 testList.add(new Decode(mMediaType, mTestFile, mDecoderName, mIsAsync, in testCodec()
[all …]
DAudioPlaybackLoad.java33 private final String mDecoderName; field in AudioPlaybackLoad
43 mDecoderName = decoderName; in AudioPlaybackLoad()
53 mCodec = MediaCodec.createByCodecName(mDecoderName); in doDecodeAndPlayback()
DCodecInitializationLatencyTest.java546 private final String mDecoderName; field in CodecInitializationLatencyTest.DecoderInitializationLatency
552 mDecoderName = decoderName; in DecoderInitializationLatency()
565 if (!areFormatsSupported(mDecoderName, formats)) { in calculateInitLatency()
571 mCodec = MediaCodec.createByCodecName(mDecoderName); in calculateInitLatency()
624 Log.d(LOG_TAG, "Decode MediaType: " + mMediaType + " Decoder: " + mDecoderName + in calculateInitLatency()
627 Log.d(LOG_TAG, "Decode MediaType: " + mMediaType + " Decoder: " + mDecoderName + in calculateInitLatency()
630 Log.d(LOG_TAG, "Decode MediaType: " + mMediaType + " Decoder: " + mDecoderName + in calculateInitLatency()
633 Log.d(LOG_TAG, "Decode MediaType: " + mMediaType + " Decoder: " + mDecoderName + in calculateInitLatency()
DPlaybackFrameDrop.java40 private final String mDecoderName; field in PlaybackFrameDrop
137 mDecoderName = decoderName; in PlaybackFrameDrop()
231 if (!areFormatsSupported(mDecoderName, formats)) { in getFrameDropCount()
235 mCodec = MediaCodec.createByCodecName(mDecoderName); in getFrameDropCount()
DCodecTranscoderTestBase.java399 final String mDecoderName; field in Transcode
406 mDecoderName = decoderName; in Transcode()
416 if (!areFormatsSupported(mDecoderName, formats)) { in doTranscode()
420 mDecoder = MediaCodec.createByCodecName(mDecoderName); in doTranscode()
439 Log.d(LOG_TAG, "MediaType: " + mMediaType + " Decoder: " + mDecoderName + " Encoder: " in doTranscode()
449 Log.d(LOG_TAG, "MediaType: " + mMediaType + " Decoder: " + mDecoderName + " Encoder: " in call()
528 mDecoder = MediaCodec.createByCodecName(mDecoderName); in doTranscode()
548 "MediaType: " + mMediaType + " Decoder: " + mDecoderName + " Encoder: " in doTranscode()
DFrameDropTestBase.java66 final String mDecoderName; field in FrameDropTestBase
162 mDecoderName = decoderName; in FrameDropTestBase()
DFrameDropTest.java59 PlaybackFrameDrop playbackFrameDrop = new PlaybackFrameDrop(mMediaType, mDecoderName, in testDecodeToSurface()
DAdaptivePlaybackFrameDropTest.java61 PlaybackFrameDrop playbackFrameDrop = new PlaybackFrameDrop(mMediaType, mDecoderName, in testAdaptivePlaybackFrameDrop()
DCodecTestBase.java922 final String mDecoderName; field in Decode
940 mDecoderName = decoderName; in Decode()
966 if (!areFormatsSupported(mDecoderName, formats)) { in doDecode()
969 mCodec = MediaCodec.createByCodecName(mDecoderName); in doDecode()
999 Log.d(LOG_TAG, "Decode MediaType: " + mMediaType + " Decoder: " + mDecoderName + in doDecode()
1009 Log.d(LOG_TAG, "Decode MediaType: " + mMediaType + " Decoder: " + mDecoderName in call()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DVideoDecoderRotationTest.java59 public String mDecoderName; field in VideoDecoderRotationTest
106 mMimeType, 800, 480, mImpl.BITRATE_800x480, mDecoderName)) { in testRendering800x480Rotated()
109 mMimeType, 800, 480, false, false, mDegrees, mDecoderName); in testRendering800x480Rotated() local
112 mDecoderName + ":" + mMimeType + ") not supported"); in testRendering800x480Rotated()
DDecodeEditEncodeTest.java127 private final String mDecoderName; field in DecodeEditEncodeTest
226 assumeTrue(MediaUtils.supports(mDecoderName, format)); in shouldSkip()
275 mDecoderName = decoder; in DecodeEditEncodeTest()
599 decoder = MediaCodec.createByCodecName(mDecoderName); in editVideoFile()
808 decoder = MediaCodec.createByCodecName(mDecoderName); in checkVideoFile()
DEncodeDecodeTest.java116 private final String mDecoderName; field in EncodeDecodeTest
180 assumeTrue(MediaUtils.supports(mDecoderName, format)); in shouldSkip()
203 mDecoderName = decoder; in EncodeDecodeTest()
354 decoder = MediaCodec.createByCodecName(mDecoderName); in encodeDecodeVideoFromBuffer()
411 decoder = MediaCodec.createByCodecName(mDecoderName); in encodeDecodeVideoFromSurfaceToSurface()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderLowLatencyTest.java71 public String mDecoderName; field in DecoderLowLatencyTest
78 mDecoderName = decoderName; in DecoderLowLatencyTest()
167 MediaCodecWrapper decoder = new SdkMediaCodec(MediaCodec.createByCodecName(mDecoderName)); in testLowLatencyVideoSdk()
174 MediaCodecWrapper decoder = new NdkMediaCodec(mDecoderName); in testLowLatencyVideoNdk()
179 CodecCapabilities cap = getCodecCapabilitiesForDecoder(mDecoderName, mMediaType); in testLowLatencyVideo()
180 assumeTrue("Low latency feature not supported by " + mDecoderName, in testLowLatencyVideo()
199 assumeTrue("Format is not supported", MediaUtils.supports(mDecoderName, format)); in testLowLatencyVideo()
202 Log.v(TAG, "found decoder " + mDecoderName + " for format: " + format); in testLowLatencyVideo()
295 log.addValue("codec_name", mDecoderName, ResultType.NEUTRAL, ResultUnit.NONE); in testLowLatencyVideo()
DDecoderConformanceTest.java80 private final String mDecoderName; field in DecoderConformanceTest
112 mDecoderName = decodername; in DecoderConformanceTest()
210 Log.d(TAG, "Decode vector " + mTestVector + " with " + mDecoderName); in testDecoderConformance()
213 stat = decodeTestVector(mMediaType, mDecoderName, mTestVector); in testDecoderConformance()
225 mReportLog.addValue("decode_name", mDecoderName, ResultType.NEUTRAL, ResultUnit.NONE); in testDecoderConformance()
227 assumeTrue(mDecoderName + " failed for " + mTestVector, stat != Status.FAIL); in testDecoderConformance()
228 assumeTrue(mDecoderName + " skipped for " + mTestVector, stat != Status.SKIP); in testDecoderConformance()
DVideoDecoderPerfTest.java86 private final String mDecoderName; field in VideoDecoderPerfTest
169 mDecoderName = decodername; in VideoDecoderPerfTest()
593 perf(mDecoderName, mResources); in testPerf()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecEncoderSurfaceTestBase.java64 protected final String mDecoderName; field in CodecEncoderSurfaceTestBase
108 mDecoderName = decoder; in CodecEncoderSurfaceTestBase()
129 if (mEncoderName.startsWith(CodecTestBase.INVALID_CODEC) || mDecoderName.startsWith( in setUpCodecEncoderSurfaceTestBase()
137 Assume.assumeTrue("Decoder: " + mDecoderName + " doesn't support format: " + mDecoderFormat, in setUpCodecEncoderSurfaceTestBase()
138 CodecTestBase.areFormatsSupported(mDecoderName, mTestFileMediaType, in setUpCodecEncoderSurfaceTestBase()
150 Assume.assumeFalse(mDecoderName + "is hardware accelerated and " + mEncoderName in setUpCodecEncoderSurfaceTestBase()
152 isHardwareAcceleratedCodec(mDecoderName) && isSoftwareCodec(mEncoderName)); in setUpCodecEncoderSurfaceTestBase()
158 hasSupportForColorFormat(mDecoderName, mTestFileMediaType, mDecColorFormat); in setUpCodecEncoderSurfaceTestBase()
160 assumeTrue(mDecoderName + " doesn't support P010 output.", in setUpCodecEncoderSurfaceTestBase()
163 assertTrue(mDecoderName + " doesn't support 420p 888 flexible output.", in setUpCodecEncoderSurfaceTestBase()
[all …]
/cts/hostsidetests/videoencodingminimum/app/src/android/videoencodingmin/app/
DVideoTranscoderTest.java84 private String mDecoderName; field in VideoTranscoderTest
171 mDecoderName = MEDIA_CODEC_LIST_REGULAR.findDecoderForFormat(format); in parseEncoderConfigurationFile()
187 Assume.assumeTrue("Found no decoder supporting the config file", mDecoderName != null); in testTranscode()
200 mDecoderName, mTestFileMediaType, mTestFile, mEncCfgParams[i], in testTranscode()
/cts/hostsidetests/mediapc/videoencodingquality/app/src/android/videoencoding/app/
DVideoTranscoderTest.java84 private String mDecoderName; field in VideoTranscoderTest
171 mDecoderName = MEDIA_CODEC_LIST_REGULAR.findDecoderForFormat(format); in parseEncoderConfigurationFile()
187 Assume.assumeTrue("Found no decoder supporting the config file", mDecoderName != null); in testTranscode()
200 mDecoderName, mTestFileMediaType, mTestFile, mEncCfgParams[i], in testTranscode()
/cts/tests/video/src/android/video/cts/
DCodecDecoderPerformanceTestBase.java51 mOperatingRateExpected = getMaxOperatingRate(mDecoderName, mDecoderMime); in setUpFormat()
87 mDecoder = MediaCodec.createByCodecName(mDecoderName); in decode()
DCodecDecoderPerformanceTest.java129 "%d :: ", mDecoderMime, mDecoderName, mHeight, mKeyPriority); in testPerformanceOfHardwareVideoDecoders()
DCodecEncoderPerformanceTestBase.java129 double maxOperatingRateDecoder = getMaxOperatingRate(mDecoderName, mDecoderMime); in setUpFormats()
210 mDecoder = MediaCodec.createByCodecName(mDecoderName); in encode()
DCodecEncoderPerformanceTest.java133 " Encoder: %s, Key-priority: %d :: ", mDecoderMime, mDecoderName, mHeight, in testPerformanceOfHardwareVideoEncoders()
DCodecPerformanceTestBase.java73 final String mDecoderName; field in CodecPerformanceTestBase
138 mDecoderName = decoderName; in CodecPerformanceTestBase()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderSurfaceTest.java366 boolean isPass = nativeTestSimpleEncode(mEncoderName, mDecoderName, mEncMediaType, in testSimpleEncodeFromSurfaceNative()