Home
last modified time | relevance | path

Searched refs:outputBufIndex (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDecoderConformanceTest.java190 int outputBufIndex = mDecoder.dequeueOutputBuffer(info, kTimeOutUs); in decodeTestVector() local
191 if (outputBufIndex >= 0) { in decodeTestVector()
193 MediaFormat bufferFormat = mDecoder.getOutputFormat(outputBufIndex); in decodeTestVector()
200 Image image = mDecoder.getOutputImage(outputBufIndex); in decodeTestVector()
214 mDecoder.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeTestVector()
218 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in decodeTestVector()
223 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in decodeTestVector()
227 … "decoder.dequeueOutputBuffer() unrecognized return index: " + outputBufIndex, in decodeTestVector()
228 MediaCodec.INFO_TRY_AGAIN_LATER, outputBufIndex); in decodeTestVector()
DVideoDecoderPerfTest.java206 int outputBufIndex = codec.dequeueOutputBuffer(info, kTimeOutUs); in doDecode() local
208 if (outputBufIndex >= 0) { in doDecode()
217 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in doDecode()
222 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doDecode()
225 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doDecode()
233 + outputBufIndex, in doDecode()
234 MediaCodec.INFO_TRY_AGAIN_LATER, outputBufIndex); in doDecode()
DDecoderTest.java1381 int outputBufIndex = res;
1382 ByteBuffer buf = codecOutputBuffers[outputBufIndex];
1393 codec.releaseOutputBuffer(outputBufIndex, false /* render */);
2206 int outputBufIndex = codec.dequeueOutputBuffer(info, kTimeOutUs);
2209 if (outputBufIndex >= 0) {
2253 Image image = codec.getOutputImage(outputBufIndex);
2262 ByteBuffer outputBuffer = codec.getOutputBuffer(outputBufIndex);
2290 codec.releaseOutputBuffer(outputBufIndex, true /* render */);
2295 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
2298 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
[all …]
DVp8CodecTestBase.java631 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/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1071 int outputBufIndex = res; in runDecoder() local
1091 ByteBuffer buf = codec.getOutputBuffer(outputBufIndex); in runDecoder()
1114 Image image = codec.getOutputImage(outputBufIndex); in runDecoder()
1133 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in runDecoder()