Searched refs:outputBufferIndex (Results 1 – 2 of 2) sorted by relevance
205 int outputBufferIndex = mediaCodec.dequeueOutputBuffer(bufferInfo, DEQUEUE_TIMEOUT_US); in dequeueOneFrameFromDecoder() local206 if (outputBufferIndex < 0) { in dequeueOneFrameFromDecoder()211 mediaCodec.releaseOutputBuffer(outputBufferIndex, /* render= */ isCurrentFrameComparisonFrame); in dequeueOneFrameFromDecoder()
1425 int outputBufferIndex = mediaCodec.dequeueOutputBuffer( in runDecodeTillFirstOutput() local1428 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() local1535 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 …]