Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp447 ssize_t iBufferId = AMediaCodec_dequeueInputBuffer(mDecoder, kQDeQTimeOutUs); in queueEOS() local
448 if (iBufferId >= 0) { in queueEOS()
449 if (!enqueueDecoderEOS(iBufferId)) return false; in queueEOS()
450 } else if (iBufferId == AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in queueEOS()
454 iBufferId)); in queueEOS()
539 ssize_t iBufferId = AMediaCodec_dequeueInputBuffer(mDecoder, kQDeQTimeOutUs); in doWork() local
540 if (iBufferId >= 0) { in doWork()
541 if (!enqueueDecoderInput(iBufferId)) return false; in doWork()
543 } else if (iBufferId == AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in doWork()
547 iBufferId)); in doWork()
DNativeCodecTestBase.cpp552 ssize_t iBufferId = AMediaCodec_dequeueInputBuffer(mCodec, kQDeQTimeOutUs); in doWork() local
553 if (iBufferId >= 0) { in doWork()
554 isOk = enqueueInput(iBufferId); in doWork()
556 } else if (iBufferId == AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in doWork()
560 iBufferId); in doWork()
606 ssize_t iBufferId = AMediaCodec_dequeueInputBuffer(mCodec, kQDeQTimeOutUs); in queueEOS() local
607 if (iBufferId >= 0) { in queueEOS()
608 isOk = enqueueEOS(iBufferId); in queueEOS()
609 } else if (iBufferId == AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in queueEOS()
613 iBufferId); in queueEOS()