Searched refs:bufidx (Results 1 – 1 of 1) sorted by relevance
89 ssize_t bufidx = -1; in doCodecWork() local91 bufidx = AMediaCodec_dequeueInputBuffer(d->codec, 2000); in doCodecWork()92 LOGV("input buffer %zd", bufidx); in doCodecWork()93 if (bufidx >= 0) { in doCodecWork()95 uint8_t *buf = AMediaCodec_getInputBuffer(d->codec, bufidx, &bufsize); in doCodecWork()104 AMediaCodec_queueInputBuffer(d->codec, bufidx, 0, sampleSize, presentationTimeUs, in doCodecWork()