Home
last modified time | relevance | path

Searched refs:RETURN_IF_NULL (Results 1 – 4 of 4) sorted by relevance

/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp222 RETURN_IF_NULL(inputBuffer, std::string{"AMediaCodec_getInputBuffer returned nullptr"}) in enqueueInput()
277 RETURN_IF_NULL(buf, std::string{"AMediaCodec_getOutputBuffer returned nullptr"}) in dequeueOutput()
363 RETURN_IF_NULL(mCodec, StringFormat("unable to create codec by name %s \n", encoder)) in encodeToMemory()
365 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", file)) in encodeToMemory()
392 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testSimpleEncode()
400 RETURN_IF_NULL(format, in testSimpleEncode()
411 RETURN_IF_NULL(mCodec, StringFormat("unable to create codec %s", encoder)) in testSimpleEncode()
414 RETURN_IF_NULL(name, std::string{"AMediaCodec_getName returned null"}) in testSimpleEncode()
439 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testReconfigure()
443 RETURN_IF_NULL(format, in testReconfigure()
[all …]
DNativeCodecDecoderTestCommon.cpp111 RETURN_IF_NULL(fp, StringFormat("Unable to open file %s", srcFile)) in setUpExtractor()
146 RETURN_IF_NULL(mInpDecFormat, in setUpExtractor()
202 RETURN_IF_NULL(buf, std::string{"AMediaCodec_getInputBuffer returned nullptr"}) in enqueueCodecConfig()
222 RETURN_IF_NULL(buf, std::string{"AMediaCodec_getInputBuffer returned nullptr"}) in enqueueInput()
254 RETURN_IF_NULL(buf, std::string{"AMediaCodec_getOutputBuffer returned nullptr"}) in dequeueOutput()
343 RETURN_IF_NULL(mCodec, StringFormat("unable to create codec %s", decoder)) in decodeToMemory()
375 RETURN_IF_NULL(mCodec, StringFormat("unable to create codec %s", decoder)) in testSimpleDecode()
378 RETURN_IF_NULL(name, std::string{"AMediaCodec_getName returned null"}) in testSimpleDecode()
447 RETURN_IF_NULL(mCodec, StringFormat("unable to create codec %s", decoder)) in testFlush()
532 RETURN_IF_NULL(mCodec, StringFormat("unable to create codec %s", decoder)) in testOnlyEos()
[all …]
DNativeCodecEncoderSurfaceTest.cpp190 RETURN_IF_NULL(mEncFormat, in configureCodec()
285 RETURN_IF_NULL(buf, std::string{"AMediaCodec_getInputBuffer failed"}) in enqueueDecoderInput()
584 RETURN_IF_NULL(mDecoder, StringFormat("unable to create media codec by name %s", decoder)) in testSimpleEncode()
585 RETURN_IF_NULL(mEncoder, StringFormat("unable to create media codec by name %s", encoder)) in testSimpleEncode()
DNativeCodecTestBase.h56 #define RETURN_IF_NULL(var, msg) \ macro