Home
last modified time | relevance | path

Searched refs:RETURN_IF_TRUE (Results 1 – 5 of 5) sorted by relevance

/cts/tests/media/jni/
DNativeCodecDecoderTestCommon.cpp120 RETURN_IF_TRUE(true, in setUpExtractor()
205 RETURN_IF_TRUE(bufSize < csdSize, in enqueueCodecConfig()
225 RETURN_IF_TRUE(size > bufSize, in enqueueInput()
228 RETURN_IF_TRUE(size != AMediaExtractor_readSampleData(mExtractor, buf, bufSize), in enqueueInput()
285 RETURN_IF_TRUE(mIsVideo && !mIsInterlaced && in isTestStateValid()
293 RETURN_IF_TRUE(mIsCodecInAsyncMode ? !mAsyncHandle.hasOutputFormatChanged() in isOutputFormatOk()
297 RETURN_IF_TRUE(!isFormatSimilar(configFormat, in isOutputFormatOk()
381 RETURN_IF_TRUE(res, StringFormat("Codec name mismatch act/got: %s/%s", decoder, name)) in testSimpleDecode()
396 RETURN_IF_TRUE((loopCounter != 0 && !ref->equals(test)), in testSimpleDecode()
402 RETURN_IF_TRUE(checksum != ref->getChecksum(), in testSimpleDecode()
[all …]
DNativeCodecEncoderSurfaceTest.cpp288 RETURN_IF_TRUE(size > bufSize, in enqueueDecoderInput()
291 RETURN_IF_TRUE(size != AMediaExtractor_readSampleData(mExtractor, buf, bufSize), in enqueueDecoderInput()
615 RETURN_IF_TRUE(mAsyncHandleDecoder.getError(), in testSimpleEncode()
618 RETURN_IF_TRUE(mAsyncHandleEncoder.getError(), in testSimpleEncode()
621 RETURN_IF_TRUE((0 == mDecInputCount), std::string{"Decoder has not received any input \n"}) in testSimpleEncode()
622 RETURN_IF_TRUE((0 == mDecOutputCount), std::string{"Decoder has not sent any output \n"}) in testSimpleEncode()
623 RETURN_IF_TRUE((0 == mEncOutputCount), std::string{"Encoder has not sent any output \n"}) in testSimpleEncode()
624 RETURN_IF_TRUE((mDecInputCount != mDecOutputCount), in testSimpleEncode()
628 RETURN_IF_TRUE((mMaxBFrames == 0 && !mOutputBuff->isPtsStrictlyIncreasing(INT32_MIN)), in testSimpleEncode()
631 RETURN_IF_TRUE((mEncOutputCount != mDecOutputCount), in testSimpleEncode()
[all …]
DNativeCodecEncoderTest.cpp239 RETURN_IF_TRUE(mInputBufferReadOffset + frmSize > mInputLength, in enqueueInput()
241 RETURN_IF_TRUE(size > buffSize, in enqueueInput()
306 RETURN_IF_TRUE((mIsAudio || (mIsVideo && mMaxBFrames == 0)) && in isTestStateValid()
310 RETURN_IF_TRUE(mIsVideo && !mOutputBuff->isOutPtsListIdenticalToInpPtsList(mMaxBFrames != 0), in isTestStateValid()
417 RETURN_IF_TRUE(res, in testSimpleEncode()
427 RETURN_IF_TRUE((loopCounter != 0 && !ref->equals(test)), in testSimpleEncode()
487 RETURN_IF_TRUE(!ref->equals(test), in testReconfigure()
499 RETURN_IF_TRUE(!ref->equals(test), in testReconfigure()
512 RETURN_IF_TRUE(!configRef->equals(test), in testReconfigure()
548 RETURN_IF_TRUE((loopCounter != 0 && !ref->equals(test)), in testOnlyEos()
[all …]
DNativeCodecTestBase.h42 #define RETURN_IF_TRUE(cond, msg) \ macro
DNativeCodecTestBase.cpp485 RETURN_IF_TRUE(hasSeenError(), in isTestStateValid()
488 RETURN_IF_TRUE(mInputCount > 0 && mOutputCount <= 0, in isTestStateValid()