Searched refs:outputBufIndex (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoDecoderPerfTest.java | 241 int outputBufIndex = codec.dequeueOutputBuffer(info, kTimeOutUs); in doDecode() local 243 if (outputBufIndex >= 0) { in doDecode() 251 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in doDecode() 256 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doDecode() 259 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doDecode() 267 + outputBufIndex, in doDecode() 268 MediaCodec.INFO_TRY_AGAIN_LATER, outputBufIndex); in doDecode()
|
D | DecoderTest.java | 754 int outputBufIndex = res; in decodeToMemory() local 755 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; in decodeToMemory() 766 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeToMemory() 1508 int outputBufIndex = codec.dequeueOutputBuffer(info, kTimeOutUs); in decodeWithChecks() local 1511 if (outputBufIndex >= 0) { in decodeWithChecks() 1555 Image image = codec.getOutputImage(outputBufIndex); in decodeWithChecks() 1564 ByteBuffer outputBuffer = codec.getOutputBuffer(outputBufIndex); in decodeWithChecks() 1592 codec.releaseOutputBuffer(outputBufIndex, true /* render */); in decodeWithChecks() 1597 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in decodeWithChecks() 1600 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in decodeWithChecks() [all …]
|
D | Vp8CodecTestBase.java | 631 int outputBufIndex = result; in decode() local 646 outputBuffers[outputBufIndex].position(bufferInfo.offset); in decode() 647 outputBuffers[outputBufIndex].get(frame, 0, bufferInfo.size); in decode() 671 decoder.releaseOutputBuffer(outputBufIndex, false); in decode() 1118 int outputBufIndex = result; in getOutputInternal() local 1120 mOutputBuffers[outputBufIndex].position(mBufferInfo.offset); in getOutputInternal() 1121 mOutputBuffers[outputBufIndex].get(mOutput.buffer, 0, mBufferInfo.size); in getOutputInternal() 1147 mCodec.releaseOutputBuffer(outputBufIndex, false); in getOutputInternal()
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | VideoEncoderDecoderTest.java | 973 int outputBufIndex = res; in runDecoder() local 995 ByteBuffer buf = codec.getOutputBuffer(outputBufIndex); in runDecoder() 1018 Image image = codec.getOutputImage(outputBufIndex); in runDecoder() 1037 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in runDecoder()
|