Searched refs:bufferIx (Results 1 – 1 of 1) sorted by relevance
/packages/services/Car/cpp/computepipe/runner/input_manager/ |
D | VideoDecoder.cpp | 252 int bufferIx = AMediaCodec_dequeueInputBuffer(mCodec, kMediaCodecNonBlockingTimeoutUs); in addFramesToCodec() local 253 if (bufferIx < 0) { in addFramesToCodec() 254 if (bufferIx != AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in addFramesToCodec() 260 uint8_t* buffer = AMediaCodec_getInputBuffer(mCodec, bufferIx, &bufferSize); in addFramesToCodec() 265 AMediaCodec_queueInputBuffer(mCodec, bufferIx, 0 /*offset*/, 0 /*size*/, in addFramesToCodec() 271 media_status_t status = AMediaCodec_queueInputBuffer(mCodec, bufferIx, 0 /*offset*/, read, in addFramesToCodec() 284 int bufferIx = AMediaCodec_dequeueOutputBuffer( in popFramesFromCodec() local 286 if (bufferIx < 0) { in popFramesFromCodec() 287 if (bufferIx != AMEDIACODEC_INFO_TRY_AGAIN_LATER) { in popFramesFromCodec() 292 mDecodedBuffers.push(std::pair<int, AMediaCodecBufferInfo>(bufferIx, info)); in popFramesFromCodec()
|