Home
last modified time | relevance | path

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

/cts/tests/video/src/android/video/cts/
DCodecDecoderPerformanceTestBase.java72 int outputBufIndex = mDecoder.dequeueOutputBuffer(info, Q_DEQ_TIMEOUT_US); in doWork() local
73 if (outputBufIndex >= 0) { in doWork()
74 dequeueDecoderOutput(outputBufIndex, info, false); in doWork()
DCodecEncoderPerformanceTestBase.java180 int outputBufIndex = mDecoder.dequeueOutputBuffer(info, Q_DEQ_TIMEOUT_US); in doWork() local
181 if (outputBufIndex >= 0) { in doWork()
182 dequeueDecoderOutput(outputBufIndex, info, true); in doWork()
DVideoEncoderDecoderTest.java908 int outputBufIndex = res; in runDecoder() local
928 ByteBuffer buf = codec.getOutputBuffer(outputBufIndex); in runDecoder()
951 Image image = codec.getOutputImage(outputBufIndex); in runDecoder()
970 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in runDecoder()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java277 int outputBufIndex = codec.dequeueOutputBuffer(info, kTimeOutUs); in decodeMp4ToYuv() local
279 if (outputBufIndex >= 0) { in decodeMp4ToYuv()
283 Image image = codec.getOutputImage(outputBufIndex); in decodeMp4ToYuv()
287 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeMp4ToYuv()
292 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in decodeMp4ToYuv()
295 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in decodeMp4ToYuv()
297 } else if (outputBufIndex == MediaCodec.INFO_TRY_AGAIN_LATER) { in decodeMp4ToYuv()
302 "Unrecognized dequeueOutputBuffer() return value: " + outputBufIndex); in decodeMp4ToYuv()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DVideoDecoderPerfTest.java352 int outputBufIndex = codec.dequeueOutputBuffer(info, kTimeOutUs); in doDecode() local
354 if (outputBufIndex >= 0) { in doDecode()
363 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in doDecode()
368 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doDecode()
371 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doDecode()
379 + outputBufIndex, in doDecode()
380 MediaCodec.INFO_TRY_AGAIN_LATER, outputBufIndex); in doDecode()
DDecoderTestAacFormat.java246 int outputBufIndex = res; in decodeUpdateFormat() local
247 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; in decodeUpdateFormat()
258 decoder.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeUpdateFormat()
DDecoderTestAacDrc.java673 int outputBufIndex = res; in decodeToMemory() local
674 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; in decodeToMemory()
685 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeToMemory()
DDecoderTest.java1833 int outputBufIndex = res;
1834 ByteBuffer buf = codecOutputBuffers[outputBufIndex];
1845 codec.releaseOutputBuffer(outputBufIndex, false /* render */);
2853 int outputBufIndex = codec.dequeueOutputBuffer(info, kTimeOutUs);
2856 if (outputBufIndex >= 0) {
2900 Image image = codec.getOutputImage(outputBufIndex);
2909 ByteBuffer outputBuffer = codec.getOutputBuffer(outputBufIndex);
2937 codec.releaseOutputBuffer(outputBufIndex, true /* render */);
2942 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
2945 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
[all …]
DDecoderTestXheAac.java1443 int outputBufIndex = res;
1444 ByteBuffer buf = codecOutputBuffers[outputBufIndex];
1455 codec.releaseOutputBuffer(outputBufIndex, false /* render */);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java188 final int outputBufIndex = outputRes; in run() local
190 mCodec.getOutputBuffer(outputBufIndex); in run()
214 mCodec.getOutputBuffer(outputBufIndex).position(0); in run()
215 mCodec.releaseOutputBuffer(outputBufIndex, in run()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1299 int outputBufIndex = decoder.dequeueOutputBuffer(info, kTimeOutUs); in verifyDecoder() local
1300 if (outputBufIndex >= 0) { in verifyDecoder()
1305 Image image = decoder.getOutputImage(outputBufIndex); in verifyDecoder()
1323 decoder.releaseOutputBuffer(outputBufIndex, false /* render */); in verifyDecoder()
1328 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in verifyDecoder()
1331 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in verifyDecoder()
1333 } else if (outputBufIndex == MediaCodec.INFO_TRY_AGAIN_LATER) { in verifyDecoder()
1336 Log.w(TAG, "decoder.dequeueOutputBuffer() unrecognized index: " + outputBufIndex); in verifyDecoder()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DVideoCodecTestBase.java736 int outputBufIndex = result; in decode() local
751 outputBuffers[outputBufIndex].position(bufferInfo.offset); in decode()
752 outputBuffers[outputBufIndex].get(frame, 0, bufferInfo.size); in decode()
776 decoder.releaseOutputBuffer(outputBufIndex, false); in decode()
1269 int outputBufIndex = result; in getOutputInternal() local
1271 ByteBuffer outputBuffer = mCodec.getOutputBuffer(outputBufIndex); in getOutputInternal()
1303 mCodec.releaseOutputBuffer(outputBufIndex, false); in getOutputInternal()