Searched refs:RETURN_IF_FALSE (Results 1 – 4 of 4) sorted by relevance
/cts/tests/media/jni/ |
D | NativeCodecEncoderTest.cpp | 326 RETURN_IF_FALSE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &mSampleRate), in initFormat() 328 RETURN_IF_FALSE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &mChannels), in initFormat() 331 RETURN_IF_FALSE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_WIDTH, &mWidth), in initFormat() 333 RETURN_IF_FALSE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_HEIGHT, &mHeight), in initFormat() 338 RETURN_IF_FALSE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_MAX_B_FRAMES, in initFormat() 343 RETURN_IF_FALSE(AMediaFormat_getInt32(format, COMPATIBLE_AMEDIAFORMAT_KEY_MAX_B_FRAMES, in initFormat() 348 RETURN_IF_FALSE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_FRAME_RATE, &mDefFrameRate), in initFormat() 350 RETURN_IF_FALSE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_COLOR_FORMAT, &mColorFormat), in initFormat() 445 RETURN_IF_FALSE(encodeToMemory(srcPath, encoder, INT32_MAX, format, configRef), in testReconfigure() 452 RETURN_IF_FALSE(encodeToMemory(srcPath, encoder, INT32_MAX, format, ref), in testReconfigure() [all …]
|
D | NativeCodecTestBase.h | 49 #define RETURN_IF_FALSE(cond, msg) \ macro
|
D | NativeCodecDecoderTestCommon.cpp | 282 RETURN_IF_FALSE(mOutputBuff->isPtsStrictlyIncreasing(mPrevOutputPts), in isTestStateValid() 436 RETURN_IF_FALSE(decodeToMemory(decoder, mInpDecFormat, INT32_MAX, ref, pts, mode), in testFlush()
|
D | NativeCodecEncoderSurfaceTest.cpp | 563 RETURN_IF_FALSE(setUpExtractor(srcPath, srcMediaType, colorFormat), in testSimpleEncode()
|