Home
last modified time | relevance | path

Searched refs:oBufferID (Results 1 – 2 of 2) sorted by relevance

/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp435 ssize_t oBufferID = AMediaCodec_dequeueOutputBuffer(mDecoder, &outInfo, kQDeQTimeOutUs); in queueEOS() local
436 if (oBufferID >= 0) { in queueEOS()
437 if (!dequeueDecoderOutput(oBufferID, &outInfo)) return false; in queueEOS()
438 } else if (oBufferID == AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED) { in queueEOS()
439 } else if (oBufferID == AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in queueEOS()
440 } else if (oBufferID == AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED) { in queueEOS()
444 oBufferID)); in queueEOS()
477 ssize_t oBufferID = in queueEOS() local
479 if (oBufferID >= 0) { in queueEOS()
480 if (!dequeueDecoderOutput(oBufferID, &outInfo)) return false; in queueEOS()
[all …]
DNativeCodecTestBase.cpp532 ssize_t oBufferID = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in doWork() local
533 if (oBufferID >= 0) { in doWork()
534 isOk = dequeueOutput(oBufferID, &outInfo); in doWork()
535 } else if (oBufferID == AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED) { in doWork()
542 } else if (oBufferID == AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in doWork()
543 } else if (oBufferID == AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED) { in doWork()
547 oBufferID); in doWork()
586 ssize_t oBufferID = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in queueEOS() local
587 if (oBufferID >= 0) { in queueEOS()
588 isOk = dequeueOutput(oBufferID, &outInfo); in queueEOS()
[all …]