Searched refs:inputIndex (Results 1 – 1 of 1) sorted by relevance
992 int inputIndex = -1; in run() local999 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() argument1098 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() local1910 while (inputIndex == -1) { in runAudioEncoding()[all …]