Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java272 int inputBufferIndex = mDecoder.dequeueInputBuffer(DEFAULT_WAIT_TIMEOUT_US); in doTestRenderingOutput()
273 if (inputBufferIndex < 0) { in doTestRenderingOutput()
275 Log.i(TAG, "dequeueInputBuffer returned:" + inputBufferIndex); in doTestRenderingOutput()
279 assertTrue(inputBufferIndex >= 0); in doTestRenderingOutput()
280 ByteBuffer inputBuffer = mDecoderInputBuffers[inputBufferIndex]; in doTestRenderingOutput()
283 mDecoder.queueInputBuffer(inputBufferIndex, 0, info.size, in doTestRenderingOutput()
DDecodeAccuracyTestBase.java196 int inputBufferIndex = decoder.dequeueInputBuffer(DEQUEUE_TIMEOUT_US); in decodeFramesAndDisplay() local
197 if (inputBufferIndex >= 0) { in decodeFramesAndDisplay()
199 inputBuffer = inputBufferArray[inputBufferIndex]; in decodeFramesAndDisplay()
201 inputBuffer = decoder.getInputBuffer(inputBufferIndex); in decodeFramesAndDisplay()
209 inputBufferIndex, 0, sampleSize, extractor.getSampleTime(), 0); in decodeFramesAndDisplay()