Home
last modified time | relevance | path

Searched refs:bufferID (Results 1 – 4 of 4) sorted by relevance

/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp312 int bufferID = AMediaCodec_dequeueOutputBuffer(mEncoder, &outInfo, timeOutUs); in tryEncoderOutput() local
313 if (bufferID >= 0) { in tryEncoderOutput()
314 if (!dequeueEncoderOutput(bufferID, &outInfo)) return false; in tryEncoderOutput()
315 } else if (bufferID == AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED) { in tryEncoderOutput()
316 } else if (bufferID == AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in tryEncoderOutput()
317 } else if (bufferID == AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED) { in tryEncoderOutput()
319 ALOGE("unexpected return value from *_dequeueOutputBuffer: %d", (int)bufferID); in tryEncoderOutput()
DNativeCodecTestBase.cpp508 int bufferID = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in waitForAllOutputs() local
509 if (bufferID >= 0) { in waitForAllOutputs()
510 isOk = dequeueOutput(bufferID, &outInfo); in waitForAllOutputs()
511 } else if (bufferID == AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED) { in waitForAllOutputs()
518 } else if (bufferID == AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in waitForAllOutputs()
519 } else if (bufferID == AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED) { in waitForAllOutputs()
521 ALOGE("unexpected return value from *_dequeueOutputBuffer: %d", (int)bufferID); in waitForAllOutputs()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderSurfaceTest.java345 int bufferID = element.first; in queueEOS() local
348 dequeueDecoderOutput(bufferID, info); in queueEOS()
391 int bufferID = element.first; in doWork() local
395 dequeueDecoderOutput(bufferID, info); in doWork()
398 enqueueDecoderInput(bufferID); in doWork()
DCodecTestBase.java664 int bufferID = element.first; in doWork() local
668 dequeueOutput(bufferID, info); in doWork()
671 enqueueInput(bufferID); in doWork()
701 int bufferID = element.first; in queueEOS() local
704 dequeueOutput(bufferID, info); in queueEOS()
990 int bufferID = element.first; in doWork() local
993 dequeueOutput(bufferID, info); in doWork()
995 enqueueInput(bufferID, buffer, list.get(frameCount)); in doWork()