Home
last modified time | relevance | path

Searched refs:mActiveRawRes (Results 1 – 12 of 12) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecEncoderTestBase.java64 protected RawResource mActiveRawRes; field in CodecEncoderTestBase
363 mActiveRawRes.mBytesPerSample); in fillImage()
373 int tileWidth = mActiveRawRes.mWidth; in fillImage()
374 int tileHeight = mActiveRawRes.mHeight; in fillImage()
380 tileWidth = mActiveRawRes.mWidth / 2; in fillImage()
381 tileHeight = mActiveRawRes.mHeight / 2; in fillImage()
427 int tileWidth = mActiveRawRes.mWidth; in fillByteBuffer()
428 int tileHeight = mActiveRawRes.mHeight; in fillByteBuffer()
432 tileWidth = mActiveRawRes.mWidth / 2; in fillByteBuffer()
433 tileHeight = mActiveRawRes.mHeight / 2; in fillByteBuffer()
[all …]
DHDREncoderTestBase.java114 setUpSource(mActiveRawRes.mFileName); in validateHDRInfo()
126 / (mActiveRawRes.mWidth * mActiveRawRes.mHeight * mActiveRawRes.mBytesPerSample); in validateHDRInfo()
128 + mActiveRawRes.mFileName + " has " + maxNumFrames + " frames. \n" + mTestConfig in validateHDRInfo()
DCodecEncoderBlockModelTestBase.java100 int frameSize = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount; in enqueueInput()
107 pts += mNumBytesSubmitted * 1000000L / ((long) mActiveRawRes.mBytesPerSample in enqueueInput()
112 size % ((long) mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount)); in enqueueInput()
/cts/tests/media/src/android/mediav2/cts/
DAudioEncoderTest.java145 setUpSource(mActiveRawRes.mFileName); in encodeAndValidate()
184 CodecDecoderTest.verify(cdtb.getOutputManager(), mActiveRawRes.mFileName, 3.446394f, in encodeAndValidate()
193 * mActiveEncCfg.mChannelCount * mActiveRawRes.mBytesPerSample / 1000; in encodeAndValidate()
222 mActiveRawRes = EncoderInput.getRawResource(mActiveEncCfg); in testEncodeAndValidate()
224 + mTestEnv, mActiveRawRes); in testEncodeAndValidate()
DCodecEncoderBlockModelMultiAccessUnitTest.java143 mActiveRawRes = EncoderInput.getRawResource(mActiveEncCfg); in setUp()
145 + mTestEnv, mActiveRawRes); in setUp()
308 referenceBase.encodeToMemory(mCodecName, mActiveEncCfg, mActiveRawRes, Integer.MAX_VALUE, in testSimpleEncode()
315 cebmtb.encodeToMemory(mCodecName, mActiveEncCfg, mActiveRawRes, test, Integer.MAX_VALUE, in testSimpleEncode()
326 setUpSource(mActiveRawRes.mFileName); in testSimpleEncode()
330 int frameSize = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount; in testSimpleEncode()
DCodecEncoderTest.java282 mActiveRawRes = EncoderInput.getRawResource(mActiveEncCfg); in setUp()
284 + mTestEnv, mActiveRawRes); in setUp()
334 setUpSource(mActiveRawRes.mFileName); in testSimpleEncode()
395 boolean isPass = nativeTestSimpleEncode(mCodecName, mActiveRawRes.mFileName, mMediaType, in testSimpleEncodeNative()
441 encodeToMemory(mCodecName, mEncCfgParams[1], mActiveRawRes, Integer.MAX_VALUE, in testReconfigure()
446 encodeToMemory(mCodecName, mEncCfgParams[0], mActiveRawRes, Integer.MAX_VALUE, in testReconfigure()
544 boolean isPass = nativeTestReconfigure(mCodecName, mActiveRawRes.mFileName, mMediaType, in testReconfigureNative()
632 setUpSource(mActiveRawRes.mFileName); in testSetForceSyncFrame()
701 boolean isPass = nativeTestSetForceSyncFrame(mCodecName, mActiveRawRes.mFileName, in testSetForceSyncFrameNative()
729 setUpSource(mActiveRawRes.mFileName); in testAdaptiveBitRate()
[all …]
DCodecEncoderMultiAccessUnitTest.java140 mActiveRawRes = EncoderInput.getRawResource(mActiveEncCfg); in setUp()
142 + mTestEnv, mActiveRawRes); in setUp()
298 cetb.encodeToMemory(mCodecName, mActiveEncCfg, mActiveRawRes, Integer.MAX_VALUE, true, in testSimpleEncode()
307 setUpSource(mActiveRawRes.mFileName); in testSimpleEncode()
311 int frameSize = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount; in testSimpleEncode()
DEncoderLevelTest.java172 mActiveRawRes = getRawResource(mEncCfgParams[0]); in testVideoEncodeLevels()
174 + mEncCfgParams[0] + mTestConfig + mTestEnv, mActiveRawRes); in testVideoEncodeLevels()
175 setUpSource(mActiveRawRes.mFileName); in testVideoEncodeLevels()
DEncoderHDRInfoTest.java138 mActiveRawRes = EncoderInput.getRawResource(mActiveEncCfg); in testHDRInfo()
140 + mTestEnv, mActiveRawRes); in testHDRInfo()
DEncoderColorAspectsTest.java354 mActiveRawRes = EncoderInput.getRawResource(mActiveEncCfg); in doFullColorAspects()
356 + mTestConfig + mTestEnv, mActiveRawRes); in doFullColorAspects()
357 setUpSource(mActiveRawRes.mFileName); in doFullColorAspects()
DEncoderProfileLevelTest.java637 mActiveRawRes = EncoderInput.getRawResource(mEncCfgParams[0]); in testValidateProfileLevel()
639 + mEncCfgParams[0] + mTestConfig + mTestEnv, mActiveRawRes); in testValidateProfileLevel()
640 setUpSource(mActiveRawRes.mFileName); in testValidateProfileLevel()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderValidationTestBase.java164 int frmSize = 3 * mActiveRawRes.mBytesPerSample * mActiveRawRes.mWidth in enqueueInput()
165 * mActiveRawRes.mHeight / 2; in enqueueInput()
187 int size = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mWidth in enqueueInput()