Home
last modified time | relevance | path

Searched refs:mOutputBuff (Results 1 – 25 of 48) sorted by relevance

12

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderTestBase.java230 mOutputBuff.saveInPTS(pts); in enqueueInput()
250 mOutputBuff.saveInPTS(info.presentationTimeUs); in enqueueInput()
262 mOutputBuff.checksum(mFlatBuffer, mFlatBuffer.limit()); in dequeueOutput()
264 mOutputBuff.checksum(buf, info); in dequeueOutput()
265 mOutputBuff.saveToMemory(buf, info); in dequeueOutput()
271 mOutputBuff.checksum(img); in dequeueOutput()
280 mOutputBuff.checksum(buf, info.size, width, height, stride, bytesPerSample); in dequeueOutput()
291 mOutputBuff.saveOutPTS(info.presentationTimeUs); in dequeueOutput()
353 if (!mOutputBuff.isPtsStrictlyIncreasing(mPrevOutputPts)) { in validateTestState()
355 + mOutputBuff.getErrMsg()); in validateTestState()
[all …]
DCodecEncoderBlockModelTestBase.java134 mOutputBuff.saveInPTS(pts); in enqueueInput()
163 copy.set(mOutputBuff.getOutStreamSize(), info.size, info.presentationTimeUs, in dequeueOutput()
167 mOutputBuff.checksum(buf, info); in dequeueOutput()
168 mOutputBuff.saveToMemory(buf, info); in dequeueOutput()
182 mOutputBuff.saveOutPTS(info.presentationTimeUs); in dequeueOutput()
DCodecDecoderBlockModelTestBase.java180 mOutputBuff.saveInPTS(pts); in enqueueInput()
201 mOutputBuff.checksum(mFlatBuffer, mFlatBuffer.limit()); in dequeueOutput()
204 mOutputBuff.checksum(buf, info.size); in dequeueOutput()
205 mOutputBuff.saveToMemory(buf, info); in dequeueOutput()
217 mOutputBuff.saveOutPTS(infoPts); in dequeueOutput()
DCodecEncoderSurfaceTestBase.java95 protected OutputManager mOutputBuff; field in CodecEncoderSurfaceTestBase
307 mOutputBuff.saveInPTS(pts); in enqueueDecoderInput()
338 mOutputBuff.saveToMemory(buf, info); in dequeueEncoderOutput()
350 mOutputBuff.saveOutPTS(info.presentationTimeUs); in dequeueEncoderOutput()
522 if (!mOutputBuff.isOutPtsListIdenticalToInpPtsList((mEncCfgParams.mMaxBFrames != 0))) { in validateTestState()
524 + mTestEnv + mOutputBuff.getErrMsg()); in validateTestState()
526 if (mEncCfgParams.mMaxBFrames == 0 && !mOutputBuff.isPtsStrictlyIncreasing( in validateTestState()
529 + mOutputBuff.getErrMsg()); in validateTestState()
560 mOutputBuff = outBuff; in encodeToMemory()
561 mOutputBuff.reset(); in encodeToMemory()
DCodecEncoderTestBase.java509 mOutputBuff.saveInPTS(pts); in enqueueInput()
526 copy.set(mOutputBuff.getOutStreamSize(), info.size, info.presentationTimeUs, in dequeueOutput()
530 mOutputBuff.checksum(buf, info); in dequeueOutput()
531 mOutputBuff.saveToMemory(buf, info); in dequeueOutput()
534 mOutputBuff.saveOutPTS(info.presentationTimeUs); in dequeueOutput()
591 mOutputBuff = outputBuff; in encodeToMemory()
627 && !mOutputBuff.isPtsStrictlyIncreasing(mPrevOutputPts)) { in validateTestState()
629 + mOutputBuff.getErrMsg()); in validateTestState()
632 if (!mOutputBuff.isOutPtsListIdenticalToInpPtsList((mActiveEncCfg.mMaxBFrames != 0))) { in validateTestState()
634 + mTestEnv + mOutputBuff.getErrMsg()); in validateTestState()
DCodecDecoderMultiAccessUnitTestBase.java141 mOutputBuff.saveInPTS(info.presentationTimeUs); in enqueueInput()
174 mOutputBuff.saveToMemory(buf, info); in dequeueOutputs()
184 mOutputBuff.saveOutPTS(info.presentationTimeUs); in dequeueOutputs()
DCodecDecoderBlockModelMultiAccessUnitTestBase.java134 mOutputBuff.saveInPTS(info.presentationTimeUs); in enqueueInput()
197 mOutputBuff.saveToMemory(buf, callBackInfo); in dequeueOutputs()
200 mOutputBuff.saveOutPTS(infoPts); in dequeueOutputs()
/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderSurfaceTest.java101 mOutputBuff.saveOutPTS(info.presentationTimeUs); in dequeueOutput()
111 mOutputBuff = new OutputManager(); in decodeAndSavePts()
237 OutputManager ref = mOutputBuff; in testSimpleDecodeToSurface()
241 mOutputBuff = test; in testSimpleDecodeToSurface()
244 mOutputBuff.reset(); in testSimpleDecodeToSurface()
283 mOutputBuff = new OutputManager(); in testDetachAndReattachSurface()
293 mOutputBuff.reset(); in testDetachAndReattachSurface()
401 OutputManager ref = mOutputBuff; in testFlush()
403 mOutputBuff = test; in testFlush()
512 OutputManager ref = mOutputBuff; in testReconfigure()
[all …]
DCodecEncoderMultiAccessUnitTest.java184 copy.set(mOutputBuff.getOutStreamSize(), info.size, info.presentationTimeUs, in dequeueOutputs()
188 mOutputBuff.checksum(buf, info); in dequeueOutputs()
189 mOutputBuff.saveToMemory(buf, info); in dequeueOutputs()
192 mOutputBuff.saveOutPTS(info.presentationTimeUs); in dequeueOutputs()
323 mOutputBuff = eosType ? testA : testB; in testSimpleEncode()
324 mOutputBuff.reset(); in testSimpleEncode()
331 if (!ref.equalsDequeuedOutput(mOutputBuff)) { in testSimpleEncode()
333 + " mode. \n" + mTestConfig + mTestEnv + mOutputBuff.getErrMsg()); in testSimpleEncode()
DCodecEncoderBlockModelMultiAccessUnitTest.java211 copy.set(mOutputBuff.getOutStreamSize(), callBackInfo.size, infoPts, in dequeueOutputs()
215 mOutputBuff.checksum(buf, callBackInfo); in dequeueOutputs()
216 mOutputBuff.saveToMemory(buf, callBackInfo); in dequeueOutputs()
227 mOutputBuff.saveOutPTS(infoPts); in dequeueOutputs()
340 mOutputBuff = eosType ? testA : testB; in testSimpleEncode()
341 mOutputBuff.reset(); in testSimpleEncode()
349 if (!ref.equalsDequeuedOutput(mOutputBuff)) { in testSimpleEncode()
351 + "mode.\n" + mTestConfig + mTestEnv + mOutputBuff.getErrMsg()); in testSimpleEncode()
DCodecDecoderBlockModelMultiAccessUnitTest.java148 mOutputBuff = signalEosWithLastFrame ? testA : testB; in testSimpleDecode()
149 mOutputBuff.reset(); in testSimpleDecode()
158 if (!ref.equalsByteOutput(mOutputBuff)) { in testSimpleDecode()
162 + mOutputBuff.getErrMsg()); in testSimpleDecode()
217 mOutputBuff = test; in testFlush()
329 mOutputBuff = test; in testReconfigure()
377 mOutputBuff = configTest; in testReconfigure()
DCodecDecoderTest.java390 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleDecode()
391 mOutputBuff.reset(); in testSimpleDecode()
440 verify(mOutputBuff, mRefFile, mRmsError, audioEncoding, mRefCRC, in testSimpleDecode()
486 OutputManager ref = mOutputBuff; in testFlush()
488 mOutputBuff = test; in testFlush()
633 OutputManager ref = mOutputBuff; in testReconfigure()
635 OutputManager configRef = mOutputBuff; in testReconfigure()
640 mOutputBuff = test; in testReconfigure()
706 mOutputBuff = configTest; in testReconfigure()
756 mOutputBuff = loopCounter == 0 ? ref : test; in testOnlyEos()
[all …]
DCodecEncoderTest.java349 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncode()
350 mOutputBuff.reset(); in testSimpleEncode()
443 configRef = mOutputBuff; in testReconfigure()
448 OutputManager ref = mOutputBuff; in testReconfigure()
453 mOutputBuff = test; in testReconfigure()
500 mOutputBuff = configTest; in testReconfigure()
570 mOutputBuff = loopCounter == 0 ? ref : test; in testOnlyEos()
571 mOutputBuff.reset(); in testOnlyEos()
633 mOutputBuff = new OutputManager(); in testSetForceSyncFrame()
638 mOutputBuff.reset(); in testSetForceSyncFrame()
[all …]
DCodecDecoderMultiAccessUnitTest.java218 mOutputBuff = signalEosWithLastFrame ? testA : testB; in testSimpleDecode()
219 mOutputBuff.reset(); in testSimpleDecode()
228 if (!ref.equalsByteOutput(mOutputBuff)) { in testSimpleDecode()
232 + mTestConfig + mTestEnv + mOutputBuff.getErrMsg()); in testSimpleDecode()
296 mOutputBuff = test; in testFlush()
422 mOutputBuff = test; in testReconfigure()
467 mOutputBuff = configTest; in testReconfigure()
DCodecDecoderDetachedSurfaceTest.java238 mOutputBuff.saveOutPTS(info.presentationTimeUs); in dequeueOutput()
301 mOutputBuff = new OutputManager(); in testSetOutputSurface()
305 mOutputBuff.reset(); in testSetOutputSurface()
362 mOutputBuff = new OutputManager(); in testFeatureDetachedSurface()
364 mOutputBuff.reset(); in testFeatureDetachedSurface()
427 mOutputBuff = new OutputManager(); in testDetachOutputSurface()
429 mOutputBuff.reset(); in testDetachOutputSurface()
DCodecDecoderPauseTest.java112 mOutputBuff = enablePause ? test : ref; in testPause()
113 mOutputBuff.reset(); in testPause()
DAdaptivePlaybackTest.java236 mOutputBuff.saveOutPTS(info.presentationTimeUs); in dequeueOutput()
346 mOutputBuff = new OutputManager(); in testAdaptivePlayback()
351 mOutputBuff.reset(); in testAdaptivePlayback()
/cts/tests/media/jni/
DNativeCodecDecoderTestCommon.cpp239 mOutputBuff->saveInPTS(pts); in enqueueInput()
258 mOutputBuff->saveToMemory(buf, info); in dequeueOutput()
259 mOutputBuff->updateChecksum(buf, info); in dequeueOutput()
267 mOutputBuff->updateChecksum(buf, info, width, height, stride, mBytesPerSample); in dequeueOutput()
270 mOutputBuff->saveOutPTS(info->presentationTimeUs); in dequeueOutput()
282 RETURN_IF_FALSE(mOutputBuff->isPtsStrictlyIncreasing(mPrevOutputPts), in isTestStateValid()
284 mOutputBuff->getErrorMsg())) in isTestStateValid()
286 !mOutputBuff->isOutPtsListIdenticalToInpPtsList(false), in isTestStateValid()
288 mOutputBuff->getErrorMsg())) in isTestStateValid()
340 mOutputBuff = ref; in decodeToMemory()
[all …]
DNativeCodecEncoderTest.cpp263 mOutputBuff->saveInPTS(pts); in enqueueInput()
280 mOutputBuff->saveToMemory(buf, info); in dequeueOutput()
281 mOutputBuff->updateChecksum(buf, info); in dequeueOutput()
288 mOutputBuff->saveOutPTS(info->presentationTimeUs); in dequeueOutput()
307 !mOutputBuff->isPtsStrictlyIncreasing(mPrevOutputPts), in isTestStateValid()
309 mOutputBuff->getErrorMsg())) in isTestStateValid()
310 RETURN_IF_TRUE(mIsVideo && !mOutputBuff->isOutPtsListIdenticalToInpPtsList(mMaxBFrames != 0), in isTestStateValid()
312 mOutputBuff->getErrorMsg())) in isTestStateValid()
361 mOutputBuff = ref; in encodeToMemory()
405 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncode()
[all …]
DNativeCodecEncoderSurfaceTest.cpp55 OutputManager* mOutputBuff; member in CodecEncoderSurfaceTest
302 mOutputBuff->saveInPTS(pts); in enqueueDecoderInput()
335 mOutputBuff->saveToMemory(buf, info); in dequeueEncoderOutput()
348 mOutputBuff->saveOutPTS(info->presentationTimeUs); in dequeueEncoderOutput()
576 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncode()
577 mOutputBuff->reset(); in testSimpleEncode()
628 RETURN_IF_TRUE((mMaxBFrames == 0 && !mOutputBuff->isPtsStrictlyIncreasing(INT32_MIN)), in testSimpleEncode()
635 RETURN_IF_TRUE(!mOutputBuff->isOutPtsListIdenticalToInpPtsList(mMaxBFrames != 0), in testSimpleEncode()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DCodecDecoderMultiAccessUnitDrmTest.java153 mOutputBuff = eosType ? testA : testB; in testSimpleDecode()
154 mOutputBuff.reset(); in testSimpleDecode()
165 if (!ref.equalsByteOutput(mOutputBuff)) { in testSimpleDecode()
169 + mTestConfig + mTestEnv + mOutputBuff.getErrMsg()); in testSimpleDecode()
DCodecDecoderBlockModelMultiAccessUnitDrmTest.java157 mOutputBuff = eosType ? testA : testB; in testSimpleDecode()
158 mOutputBuff.reset(); in testSimpleDecode()
169 if (!ref.equalsByteOutput(mOutputBuff)) { in testSimpleDecode()
173 + mOutputBuff.getErrMsg()); in testSimpleDecode()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderFrameRateTest.java135 refSize = mOutputBuff.getOutStreamSize(); in testEncoderFrameRateSupport()
138 float scaledStreamSize = (scaleFactor / refFactor) * mOutputBuff.getOutStreamSize(); in testEncoderFrameRateSupport()
145 (int) (BASE_FRAME_RATE * scaleFactor), mOutputBuff.getOutStreamSize()); in testEncoderFrameRateSupport()
DVideoEncoderTargetBitrateTest.java137 mBufferSize.add(mOutputBuff.getOutStreamSize()); in dequeueOutput()
141 int size = mOutputBuff.getOutStreamSize() - mBufferSize.remove(); in dequeueOutput()
DVideoEncoderAdaptiveBitRateTest.java147 mSegmentSizes[segIdx] = mOutputBuff.getOutStreamSize() - mOutputSizeTillLastSegment; in dequeueOutput()
148 mOutputSizeTillLastSegment = mOutputBuff.getOutStreamSize(); in dequeueOutput()

12