Lines Matching refs:frameIndex
846 uint8_t frameIndex; in streamCbRoutine() local
860 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
861 if(frameIndex >= mNumBufs) { in streamCbRoutine()
863 stream->bufDone(frameIndex); in streamCbRoutine()
883 resultBuffer = (buffer_handle_t *)mMemory.getBufferHandle(frameIndex); in streamCbRoutine()
884 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
945 int32_t rc = stream->bufRelease(frameIndex); in streamCbRoutine()
948 rc, frameIndex); in streamCbRoutine()
951 rc = mMemory.unregisterBuffer(frameIndex); in streamCbRoutine()
954 rc, frameIndex); in streamCbRoutine()
972 frameIndex = super_frame->bufs[0]->buf_idx; in streamCbRoutine()
973 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
977 resultFrameNumber, frameIndex, lowestFrameNumber, oldestBufIndex); in streamCbRoutine()
3148 uint8_t frameIndex; in streamCbRoutine() local
3157 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
3158 if(frameIndex >= mNumBufs) { in streamCbRoutine()
3160 stream->bufDone(frameIndex); in streamCbRoutine()
3169 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
3176 LOGD("frame index %d, frame number %d", frameIndex, in streamCbRoutine()
3181 stream->bufDone(frameIndex); in streamCbRoutine()
3197 stream->bufDone(frameIndex); in streamCbRoutine()
3227 result.buffer = (buffer_handle_t *)mMemory.getBufferHandle(frameIndex); in streamCbRoutine()
4022 uint8_t frameIndex; in streamCbRoutine() local
4035 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4037 (uint32_t)frameIndex); in streamCbRoutine()
4038 if(frameIndex >= mNumSnapshotBufs) { in streamCbRoutine()
4042 mFreeBufferList.push_back(frameIndex); in streamCbRoutine()
4043 stream->bufDone(frameIndex); in streamCbRoutine()
4048 if ((uint32_t)mYuvMemory->getFrameNumber(frameIndex) == EMPTY_FRAMEWORK_FRAME_NUMBER) { in streamCbRoutine()
4051 mFreeBufferList.push_back(frameIndex); in streamCbRoutine()
4060 mFreeBufferList.push_back(frameIndex); in streamCbRoutine()
4061 stream->bufDone(frameIndex); in streamCbRoutine()
4071 mChannelCbBufErr(this, mYuvMemory->getFrameNumber(frameIndex), in streamCbRoutine()
4563 uint8_t frameIndex; in streamCbRoutine() local
4586 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4590 resultFrameNumber = mMemory->getFrameNumber(frameIndex); in streamCbRoutine()
4595 stream->bufDone(frameIndex); in streamCbRoutine()
4600 (uint32_t)frameIndex); in streamCbRoutine()
4618 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
4619 resultBuffer = (buffer_handle_t *)mGrallocMemory.getBufferHandle(frameIndex); in streamCbRoutine()
4620 resultFrameNumber = mGrallocMemory.getFrameNumber(frameIndex); in streamCbRoutine()
4621 int32_t rc = stream->bufRelease(frameIndex); in streamCbRoutine()
4624 rc, frameIndex); in streamCbRoutine()
4626 rc = mGrallocMemory.unregisterBuffer(frameIndex); in streamCbRoutine()
4629 rc, frameIndex); in streamCbRoutine()