Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DCodecState.java262 private Long feedInputBuffer(int inputBufferIndex) in feedInputBuffer() argument
264 if (mSawInputEOS || inputBufferIndex == -1) { in feedInputBuffer()
274 ByteBuffer codecData = mCodecInputBuffers[inputBufferIndex]; in feedInputBuffer()
307 inputBufferIndex, 0 /* offset */, info, mLastPresentTimeUs, 0 /* flags */); in feedInputBuffer()
310inputBufferIndex, 0 /* offset */, sampleSize, mLastPresentTimeUs, 0 /* flags */); in feedInputBuffer()
327 inputBufferIndex, 0 /* offset */, 0 /* sampleSize */, in feedInputBuffer()
DEncodeVirtualDisplayWithCompositionTestImpl.java234 int inputBufferIndex = mDecoder.dequeueInputBuffer(DEFAULT_WAIT_TIMEOUT_US); in doTestRenderingOutput()
235 if (inputBufferIndex < 0) { in doTestRenderingOutput()
237 Log.i(TAG, "dequeueInputBuffer returned:" + inputBufferIndex); in doTestRenderingOutput()
241 assertTrue(inputBufferIndex >= 0); in doTestRenderingOutput()
242 ByteBuffer inputBuffer = mDecoderInputBuffers[inputBufferIndex]; in doTestRenderingOutput()
245 mDecoder.queueInputBuffer(inputBufferIndex, 0, info.size, in doTestRenderingOutput()
DDecodeAccuracyTestBase.java304 final int inputBufferIndex = decoder.dequeueInputBuffer(DEQUEUE_TIMEOUT_US); in queueDecoderInputBuffer() local
305 if (inputBufferIndex >= 0) { in queueDecoderInputBuffer()
307 inputBuffer = inputBufferArray[inputBufferIndex]; in queueDecoderInputBuffer()
309 inputBuffer = decoder.getInputBuffer(inputBufferIndex); in queueDecoderInputBuffer()
314 inputBufferIndex, 0, sampleSize, extractor.getSampleTime(), 0); in queueDecoderInputBuffer()