Lines Matching refs:bufIdx

1030     int32_t bufIdx;  in timeoutFrame()  local
1032 bufIdx = mMemory.getBufferIndex(frameNumber); in timeoutFrame()
1034 if (bufIdx < 0) { in timeoutFrame()
1039 mStreams[0]->timeoutFrame(bufIdx); in timeoutFrame()
3047 uint32_t bufIdx; in request() local
3054 bufIdx = (uint32_t)rc; in request()
3057 bufIdx = *(mFreeHeapBufferList.begin()); in request()
3072 LOGD("erasing %d", bufIdx); in request()
3074 mMemory.markFrameNumber(bufIdx, frameNumber); in request()
3075 indexUsed = bufIdx; in request()
3077 mStreams[0]->bufDone(bufIdx); in request()
3510 uint32_t bufIdx = (uint32_t)job->jpeg_settings->out_buf_index; in jpegEvtHandle() local
3511 LOGD("jpeg out_buf_index: %d", bufIdx); in jpegEvtHandle()
3532 jpeg_dump_buffer->frame_idx = obj->mMemory.getFrameNumber(bufIdx); in jpegEvtHandle()
3545 (buffer_handle_t *)obj->mMemory.getBufferHandle(bufIdx); in jpegEvtHandle()
3549 if (maxJpegSize > obj->mMemory.getSize(bufIdx)) { in jpegEvtHandle()
3550 maxJpegSize = obj->mMemory.getSize(bufIdx); in jpegEvtHandle()
3557 obj->mMemory.cleanInvalidateCache(bufIdx); in jpegEvtHandle()
3560 bufIdx); in jpegEvtHandle()
3567 (buffer_handle_t *)obj->mMemory.getBufferHandle(bufIdx); in jpegEvtHandle()
3568 int32_t resultFrameNumber = obj->mMemory.getFrameNumber(bufIdx); in jpegEvtHandle()
3569 int32_t rc = obj->mMemory.unregisterBuffer(bufIdx); in jpegEvtHandle()
3572 rc, bufIdx); in jpegEvtHandle()
3627 rc, bufIdx); in jpegEvtHandle()
3914 uint32_t bufIdx; in request() local
3921 bufIdx = (uint32_t)rc; in request()
3925 bufIdx = *it; in request()
3929 mYuvMemory->markFrameNumber(bufIdx, 0xFFFFFFFF); in request()
3931 mYuvMemory->markFrameNumber(bufIdx, frameNumber); in request()
3934 mStreams[0]->bufDone(bufIdx); in request()
3936 indexUsed = bufIdx; in request()
4235 int32_t bufIdx; in timeoutFrame() local
4237 bufIdx = mYuvMemory->getBufferIndex(frameNumber); in timeoutFrame()
4239 if (bufIdx < 0) { in timeoutFrame()
4244 mStreams[0]->timeoutFrame(bufIdx); in timeoutFrame()
4252 uint32_t bufIdx; in getYuvBufferForRequest() local
4265 bufIdx = (uint32_t)rc; in getYuvBufferForRequest()
4269 bufIdx = *it; in getYuvBufferForRequest()
4273 mYuvMemory->markFrameNumber(bufIdx, frameNumber); in getYuvBufferForRequest()
4279 rc = mYuvMemory->getBufDef(offset, *frame, bufIdx, mMapStreamBuffers); in getYuvBufferForRequest()
5238 uint32_t bufIdx; in doReprocessOffline() local
5245 bufIdx = (uint32_t)rc; in doReprocessOffline()
5248 bufIdx = *(mFreeBufferList.begin()); in doReprocessOffline()
5252 mMemory->markFrameNumber(bufIdx, frame->frameNumber); in doReprocessOffline()
5253 rc = pStream->bufDone(bufIdx); in doReprocessOffline()