Searched refs:CHECK_STATUS (Results 1 – 5 of 5) sorted by relevance
/cts/tests/media/jni/ |
D | NativeCodecUnitTest.cpp | 115 CHECK_STATUS(AMediaCodec_releaseOutputBuffer(mCodec, bufferIndex, false), in dequeueOutput() 263 CHECK_STATUS(AMediaCodec_stop(mCodec), "AMediaCodec_stop failed"); in testConfigureInInitState() 275 CHECK_STATUS(AMediaCodec_start(mCodec), "AMediaCodec_start failed"); in testConfigureInRunningState() 288 CHECK_STATUS(AMediaCodec_start(mCodec), "AMediaCodec_start failed"); in testConfigureInRunningState() 302 CHECK_STATUS(AMediaCodec_stop(mCodec), "AMediaCodec_stop failed"); in testConfigureInRunningState() 314 CHECK_STATUS(AMediaCodec_stop(mCodec), "AMediaCodec_stop failed"); in testConfigureInUnInitState() 315 CHECK_STATUS(AMediaCodec_configure(mCodec, mFormat, nullptr, nullptr, in testConfigureInUnInitState() 318 CHECK_STATUS(AMediaCodec_stop(mCodec), "AMediaCodec_stop failed"); in testConfigureInUnInitState() 335 CHECK_STATUS(AMediaCodec_stop(mCodec), "AMediaCodec_stop failed"); in testDequeueInputBufferInInitState() 347 CHECK_STATUS(AMediaCodec_start(mCodec), "AMediaCodec_start failed"); in testDequeueInputBufferInRunningState() [all …]
|
D | NativeCodecEncoderSurfaceTest.cpp | 168 CHECK_STATUS(mAsyncHandleEncoder.setCallBack(mEncoder, isAsync), in configureCodec() 170 CHECK_STATUS(AMediaCodec_configure(mEncoder, mEncFormat, nullptr, nullptr, in configureCodec() 176 CHECK_STATUS(AMediaCodec_createInputSurface(mEncoder, &mWindow), in configureCodec() 178 CHECK_STATUS(mAsyncHandleDecoder.setCallBack(mDecoder, isAsync), in configureCodec() 180 CHECK_STATUS(AMediaCodec_configure(mDecoder, mDecFormat, mWindow, nullptr, 0), in configureCodec() 216 CHECK_STATUS(AMediaCodec_queueInputBuffer(mDecoder, bufferIndex, 0, 0, 0, in enqueueDecoderEOS() 250 CHECK_STATUS(AMediaCodec_queueInputBuffer(mDecoder, bufferIndex, 0, size, pts, flags), in enqueueDecoderInput() 272 CHECK_STATUS(AMediaCodec_releaseOutputBuffer(mDecoder, bufferIndex, mWindow != nullptr), in dequeueDecoderOutput() 291 CHECK_STATUS(AMediaMuxer_start(mMuxer), "AMediaMuxer_start failed"); in dequeueEncoderOutput() 293 CHECK_STATUS(AMediaMuxer_writeSampleData(mMuxer, mMuxTrackID, buf, info), in dequeueEncoderOutput() [all …]
|
D | NativeCodecDecoderTest.cpp | 158 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec() 160 CHECK_STATUS(AMediaCodec_configure(mCodec, format, mWindow, nullptr, in configureCodec() 181 CHECK_STATUS(AMediaCodec_queueInputBuffer(mCodec, bufferIndex, 0, csdSize, 0, flags), in enqueueCodecConfig() 211 CHECK_STATUS(AMediaCodec_queueInputBuffer(mCodec, bufferIndex, 0, size, pts, flags), in enqueueInput() 249 CHECK_STATUS(AMediaCodec_releaseOutputBuffer(mCodec, bufferIndex, mWindow != nullptr), in dequeueOutput() 290 CHECK_STATUS(AMediaCodec_start(mCodec), "AMediaCodec_start failed"); in decodeToMemory() 294 CHECK_STATUS(AMediaCodec_stop(mCodec), "AMediaCodec_stop failed"); in decodeToMemory() 295 CHECK_STATUS(AMediaCodec_delete(mCodec), "AMediaCodec_delete failed"); in decodeToMemory() 349 CHECK_STATUS(AMediaCodec_start(mCodec), "AMediaCodec_start failed"); in testSimpleDecode() 353 CHECK_STATUS(AMediaCodec_stop(mCodec), "AMediaCodec_stop failed"); in testSimpleDecode() [all …]
|
D | NativeCodecTestBase.cpp | 361 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec() 363 CHECK_STATUS(AMediaCodec_configure(mCodec, format, nullptr, nullptr, in configureCodec() 370 CHECK_STATUS(AMediaCodec_flush(mCodec), "AMediaCodec_flush failed"); in flushCodec() 383 CHECK_STATUS(AMediaCodec_stop(mCodec), "AMediaCodec_stop failed"); in reConfigureCodec() 405 CHECK_STATUS(AMediaCodec_queueInputBuffer(mCodec, bufferIndex, 0, 0, 0, in enqueueEOS()
|
D | NativeCodecTestBase.h | 31 #define CHECK_STATUS(status, str) \ macro
|