Home
last modified time | relevance | path

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

/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DVideoDecodingWrapper.java205 int outputBufferIndex = mediaCodec.dequeueOutputBuffer(bufferInfo, DEQUEUE_TIMEOUT_US); in dequeueOneFrameFromDecoder() local
206 if (outputBufferIndex < 0) { in dequeueOneFrameFromDecoder()
211 mediaCodec.releaseOutputBuffer(outputBufferIndex, /* render= */ isCurrentFrameComparisonFrame); in dequeueOneFrameFromDecoder()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java1425 int outputBufferIndex = mediaCodec.dequeueOutputBuffer( in runDecodeTillFirstOutput() local
1428 if (outputBufferIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED in runDecodeTillFirstOutput()
1429 || outputBufferIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED in runDecodeTillFirstOutput()
1430 || outputBufferIndex == MediaCodec.INFO_TRY_AGAIN_LATER) { in runDecodeTillFirstOutput()
1433 assertTrue("Wrong output buffer index", outputBufferIndex >= 0); in runDecodeTillFirstOutput()
1447 mediaCodec.releaseOutputBuffer(outputBufferIndex, false /* render */); in runDecodeTillFirstOutput()
1514 int outputBufferIndex = NO_BUFFER_INDEX; in runDecodeShortInput() local
1535 if (outputBufferIndex == NO_BUFFER_INDEX) { in runDecodeShortInput()
1536 outputBufferIndex = mediaCodec.dequeueOutputBuffer(outputBufferInfo, 0); in runDecodeShortInput()
1539 if (outputBufferIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED in runDecodeShortInput()
[all …]