Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecUnitTest.cpp115 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 …]
DNativeCodecEncoderSurfaceTest.cpp168 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 …]
DNativeCodecDecoderTest.cpp158 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 …]
DNativeCodecTestBase.cpp361 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()
DNativeCodecTestBase.h31 #define CHECK_STATUS(status, str) \ macro