Lines Matching refs:bufferIndex
60 bool enqueueInput(size_t bufferIndex) override;
61 bool dequeueOutput(size_t bufferIndex, AMediaCodecBufferInfo* bufferInfo) override;
263 bool CodecEncoderTest::enqueueInput(size_t bufferIndex) { in enqueueInput() argument
265 return enqueueEOS(bufferIndex); in enqueueInput()
271 uint8_t* inputBuffer = AMediaCodec_getInputBuffer(mCodec, bufferIndex, &buffSize); in enqueueInput()
304 CHECK_STATUS(AMediaCodec_queueInputBuffer(mCodec, bufferIndex, 0, size, pts, flags), in enqueueInput()
306 ALOGV("input: id: %zu size: %d pts: %d flags: %d", bufferIndex, size, (int)pts, flags); in enqueueInput()
313 bool CodecEncoderTest::dequeueOutput(size_t bufferIndex, AMediaCodecBufferInfo* info) { in dequeueOutput() argument
320 uint8_t* buf = AMediaCodec_getOutputBuffer(mCodec, bufferIndex, &buffSize); in dequeueOutput()
332 ALOGV("output: id: %zu size: %d pts: %d flags: %d", bufferIndex, info->size, in dequeueOutput()
334 CHECK_STATUS(AMediaCodec_releaseOutputBuffer(mCodec, bufferIndex, false), in dequeueOutput()