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.java314 int inputBufferIndex = mDecoder.dequeueInputBuffer(DEFAULT_WAIT_TIMEOUT_US); in doTestRenderingOutput()
315 if (inputBufferIndex < 0) { in doTestRenderingOutput()
317 Log.i(TAG, "dequeueInputBuffer returned:" + inputBufferIndex); in doTestRenderingOutput()
321 assertTrue(inputBufferIndex >= 0); in doTestRenderingOutput()
322 ByteBuffer inputBuffer = mDecoderInputBuffers[inputBufferIndex]; in doTestRenderingOutput()
325 mDecoder.queueInputBuffer(inputBufferIndex, 0, info.size, in doTestRenderingOutput()
DDecodeAccuracyTestBase.java305 final int inputBufferIndex = decoder.dequeueInputBuffer(DEQUEUE_TIMEOUT_US); in queueDecoderInputBuffer() local
306 if (inputBufferIndex >= 0) { in queueDecoderInputBuffer()
308 inputBuffer = inputBufferArray[inputBufferIndex]; in queueDecoderInputBuffer()
310 inputBuffer = decoder.getInputBuffer(inputBufferIndex); in queueDecoderInputBuffer()
315 inputBufferIndex, 0, sampleSize, extractor.getSampleTime(), 0); in queueDecoderInputBuffer()