Home
last modified time | relevance | path

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

/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java992 int inputIndex = -1; in run() local
999 inputIndex = mInputBufferIndices.remove(0); in run()
1003 feedEncoder(mEncoder, inputSurface, inputIndex); in run()
1095 private static void feedEncoder(MediaCodec encoder, InputSurface inputSurface, int inputIndex) { in feedEncoder() argument
1098 while (inputIndex == -1) { in feedEncoder()
1099 inputIndex = encoder.dequeueInputBuffer(TIMEOUT_USEC); in feedEncoder()
1101 ByteBuffer inputBuffer = encoder.getInputBuffer(inputIndex);; in feedEncoder()
1105 encoder.queueInputBuffer(inputIndex, 0, inputBuffer.limit(), 0, 0); in feedEncoder()
1909 int inputIndex = encoder.dequeueInputBuffer(TIMEOUT_USEC); in runAudioEncoding() local
1910 while (inputIndex == -1) { in runAudioEncoding()
[all …]