Home
last modified time | relevance | path

Searched refs:inputBufferIndex (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DVideoDecodingWrapper.java168 int inputBufferIndex = mediaCodec.dequeueInputBuffer(DEQUEUE_TIMEOUT_US); in queueOneFrameToDecoder() local
169 if (inputBufferIndex < 0) { in queueOneFrameToDecoder()
175 inputBufferIndex, in queueOneFrameToDecoder()
184 ByteBuffer inputBuffer = checkNotNull(mediaCodec.getInputBuffer(inputBufferIndex)); in queueOneFrameToDecoder()
187 inputBufferIndex, in queueOneFrameToDecoder()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeVirtualDisplayWithCompositionTestImpl.java224 int inputBufferIndex = mDecoder.dequeueInputBuffer(DEQUEUE_TIMEOUT_US); in doTestRenderingOutput()
225 if (inputBufferIndex < 0) { in doTestRenderingOutput()
227 Log.i(TAG, "dequeueInputBuffer returned:" + inputBufferIndex); in doTestRenderingOutput()
231 assertTrue(inputBufferIndex >= 0); in doTestRenderingOutput()
232 ByteBuffer inputBuffer = mDecoderInputBuffers[inputBufferIndex]; in doTestRenderingOutput()
235 mDecoder.queueInputBuffer(inputBufferIndex, 0, info.size, in doTestRenderingOutput()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java307 final int inputBufferIndex = decoder.dequeueInputBuffer(DEQUEUE_TIMEOUT_US); in queueDecoderInputBuffer() local
308 if (inputBufferIndex >= 0) { in queueDecoderInputBuffer()
310 inputBuffer = inputBufferArray[inputBufferIndex]; in queueDecoderInputBuffer()
312 inputBuffer = decoder.getInputBuffer(inputBufferIndex); in queueDecoderInputBuffer()
317 inputBufferIndex, 0, sampleSize, extractor.getSampleTime(), 0); in queueDecoderInputBuffer()