/cts/tests/video/src/android/video/cts/ |
D | CodecDecoderPerformanceTestBase.java | 72 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()
|
D | CodecEncoderPerformanceTestBase.java | 180 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()
|
D | VideoEncoderDecoderTest.java | 908 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/ |
D | MediaTranscodingTestUtil.java | 277 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/ |
D | VideoDecoderPerfTest.java | 352 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()
|
D | DecoderTestAacFormat.java | 246 int outputBufIndex = res; in decodeUpdateFormat() local 247 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; in decodeUpdateFormat() 258 decoder.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeUpdateFormat()
|
D | DecoderTestAacDrc.java | 673 int outputBufIndex = res; in decodeToMemory() local 674 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; in decodeToMemory() 685 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeToMemory()
|
D | DecoderTest.java | 1833 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 …]
|
D | DecoderTestXheAac.java | 1443 int outputBufIndex = res; 1444 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; 1455 codec.releaseOutputBuffer(outputBufIndex, false /* render */);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundPlayerObject.java | 188 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/ |
D | MediaUtils.java | 1299 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/ |
D | VideoCodecTestBase.java | 736 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()
|