/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 | 144 int outputBufIndex = mDecoder.dequeueOutputBuffer(info, Q_DEQ_TIMEOUT_US); in doWork() local 145 if (outputBufIndex >= 0) { in doWork() 146 dequeueDecoderOutput(outputBufIndex, info, true); in doWork()
|
D | VideoEncoderDecoderTest.java | 1172 int outputBufIndex = res; in runDecoder() local 1192 ByteBuffer buf = codec.getOutputBuffer(outputBufIndex); in runDecoder() 1215 Image image = codec.getOutputImage(outputBufIndex); in runDecoder() 1234 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in runDecoder()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTestAacFormat.java | 199 int outputBufIndex = res; in decodeUpdateFormat() local 200 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; in decodeUpdateFormat() 211 decoder.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeUpdateFormat()
|
D | VideoDecoderPerfTest.java | 245 int outputBufIndex = codec.dequeueOutputBuffer(info, kTimeOutUs); in doDecode() local 247 if (outputBufIndex >= 0) { in doDecode() 256 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in doDecode() 261 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doDecode() 264 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doDecode() 272 + outputBufIndex, in doDecode() 273 MediaCodec.INFO_TRY_AGAIN_LATER, outputBufIndex); in doDecode()
|
D | DecoderTestAacDrc.java | 674 int outputBufIndex = res; in decodeToMemory() local 675 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; in decodeToMemory() 686 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeToMemory()
|
D | VideoCodecTestBase.java | 692 int outputBufIndex = result; in decode() local 707 outputBuffers[outputBufIndex].position(bufferInfo.offset); in decode() 708 outputBuffers[outputBufIndex].get(frame, 0, bufferInfo.size); in decode() 732 decoder.releaseOutputBuffer(outputBufIndex, false); in decode() 1198 int outputBufIndex = result; in getOutputInternal() local 1200 ByteBuffer outputBuffer = mCodec.getOutputBuffer(outputBufIndex); in getOutputInternal() 1232 mCodec.releaseOutputBuffer(outputBufIndex, false); in getOutputInternal()
|
D | DecoderTestXheAac.java | 1416 int outputBufIndex = res; 1417 ByteBuffer buf = codecOutputBuffers[outputBufIndex]; 1428 codec.releaseOutputBuffer(outputBufIndex, false /* render */);
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingTestUtil.java | 274 int outputBufIndex = codec.dequeueOutputBuffer(info, kTimeOutUs); in decodeMp4ToYuv() local 276 if (outputBufIndex >= 0) { in decodeMp4ToYuv() 280 Image image = codec.getOutputImage(outputBufIndex); in decodeMp4ToYuv() 284 codec.releaseOutputBuffer(outputBufIndex, false /* render */); in decodeMp4ToYuv() 289 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in decodeMp4ToYuv() 292 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in decodeMp4ToYuv()
|
/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 | 1273 int outputBufIndex = decoder.dequeueOutputBuffer(info, kTimeOutUs); in verifyDecoder() local 1274 if (outputBufIndex >= 0) { in verifyDecoder() 1279 Image image = decoder.getOutputImage(outputBufIndex); in verifyDecoder() 1297 decoder.releaseOutputBuffer(outputBufIndex, false /* render */); in verifyDecoder() 1302 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in verifyDecoder() 1305 } else if (outputBufIndex == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in verifyDecoder() 1307 } else if (outputBufIndex == MediaCodec.INFO_TRY_AGAIN_LATER) { in verifyDecoder() 1310 Log.w(TAG, "decoder.dequeueOutputBuffer() unrecognized index: " + outputBufIndex); in verifyDecoder()
|