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.java309 int inputBufferIndex = mDecoder.dequeueInputBuffer(DEFAULT_WAIT_TIMEOUT_US); in doTestRenderingOutput()
310 if (inputBufferIndex < 0) { in doTestRenderingOutput()
312 Log.i(TAG, "dequeueInputBuffer returned:" + inputBufferIndex); in doTestRenderingOutput()
316 assertTrue(inputBufferIndex >= 0); in doTestRenderingOutput()
317 ByteBuffer inputBuffer = mDecoderInputBuffers[inputBufferIndex]; in doTestRenderingOutput()
320 mDecoder.queueInputBuffer(inputBufferIndex, 0, info.size, in doTestRenderingOutput()
DDecodeAccuracyTestBase.java302 final int inputBufferIndex = decoder.dequeueInputBuffer(DEQUEUE_TIMEOUT_US); in queueDecoderInputBuffer() local
303 if (inputBufferIndex >= 0) { in queueDecoderInputBuffer()
305 inputBuffer = inputBufferArray[inputBufferIndex]; in queueDecoderInputBuffer()
307 inputBuffer = decoder.getInputBuffer(inputBufferIndex); in queueDecoderInputBuffer()
312 inputBufferIndex, 0, sampleSize, extractor.getSampleTime(), 0); in queueDecoderInputBuffer()