Lines Matching refs:resultFrameNumber
848 int32_t resultFrameNumber; in streamCbRoutine() local
884 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
888 if ((lowestFrameNumber != -1 ) && (lowestFrameNumber < resultFrameNumber) && in streamCbRoutine()
902 if (resultFrameNumber < frame_num) { in streamCbRoutine()
938 mChannelCbBufErr(this, resultFrameNumber, CAMERA3_BUFFER_STATUS_ERROR, mUserData); in streamCbRoutine()
958 if (0 <= resultFrameNumber) { in streamCbRoutine()
960 mChannelCB(NULL, &result, (uint32_t)resultFrameNumber, false, mUserData); in streamCbRoutine()
973 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
977 resultFrameNumber, frameIndex, lowestFrameNumber, oldestBufIndex); in streamCbRoutine()
978 if ((lowestFrameNumber != -1) && (lowestFrameNumber < resultFrameNumber)) { in streamCbRoutine()
983 } else if (lowestFrameNumber == resultFrameNumber) { in streamCbRoutine()
1772 uint32_t resultFrameNumber) in reprocessCbRoutine() argument
1777 rc = releaseOfflineMemory(resultFrameNumber); in reprocessCbRoutine()
1783 mChannelCB(NULL, NULL, resultFrameNumber, true, mUserData); in reprocessCbRoutine()
1785 issueChannelCb(resultBuffer, resultFrameNumber); in reprocessCbRoutine()
1804 uint32_t resultFrameNumber) in issueChannelCb() argument
1815 mChannelCB(NULL, &result, resultFrameNumber, false, mUserData); in issueChannelCb()
1878 int32_t QCamera3ProcessingChannel::releaseOfflineMemory(uint32_t resultFrameNumber) in releaseOfflineMemory() argument
1882 mOfflineMemory.getGrallocBufferIndex(resultFrameNumber); in releaseOfflineMemory()
1887 resultFrameNumber); in releaseOfflineMemory()
1894 mOfflineMetaMemory.getHeapBufferIndex(resultFrameNumber); in releaseOfflineMemory()
1900 resultFrameNumber); in releaseOfflineMemory()
3149 int32_t resultFrameNumber; in streamCbRoutine() local
3169 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
3172 if (ppInfo->frameNumber == (uint32_t)resultFrameNumber) { in streamCbRoutine()
3177 resultFrameNumber); in streamCbRoutine()
3204 resultFrameNumber); in streamCbRoutine()
3223 mChannelCbBufErr(this, resultFrameNumber, in streamCbRoutine()
3229 mMemory.getHeapBufferIndex(resultFrameNumber); in streamCbRoutine()
3232 bufferIndex, resultFrameNumber); in streamCbRoutine()
3238 LOGE("Input frame number: %d dropped!", resultFrameNumber); in streamCbRoutine()
3244 mChannelCB(NULL, &result, (uint32_t)resultFrameNumber, false, mUserData); in streamCbRoutine()
3298 uint32_t resultFrameNumber) in reprocessCbRoutine() argument
3300 LOGD("E: frame number %d", resultFrameNumber); in reprocessCbRoutine()
3304 if (0 > mMemory.getHeapBufferIndex(resultFrameNumber)) { in reprocessCbRoutine()
3306 int32_t rc = releaseOfflineMemory(resultFrameNumber); in reprocessCbRoutine()
3312 mChannelCB(NULL, NULL, resultFrameNumber, true, mUserData); in reprocessCbRoutine()
3317 int32_t rc = handleOfflinePpCallback(resultFrameNumber, pendingCbs); in reprocessCbRoutine()
3323 issueChannelCb(resultBuffer, resultFrameNumber); in reprocessCbRoutine()
3398 int32_t QCamera3YUVChannel::handleOfflinePpCallback(uint32_t resultFrameNumber, in handleOfflinePpCallback() argument
3406 if (ppInfo->frameNumber == resultFrameNumber) { in handleOfflinePpCallback()
3413 resultFrameNumber); in handleOfflinePpCallback()
3417 resultFrameNumber); in handleOfflinePpCallback()
3425 mMemory.getHeapBufferIndex(resultFrameNumber); in handleOfflinePpCallback()
3428 bufferIndex, resultFrameNumber); in handleOfflinePpCallback()
3446 resultFrameNumber); in handleOfflinePpCallback()
3568 int32_t resultFrameNumber = obj->mMemory.getFrameNumber(bufIdx); in jpegEvtHandle() local
3604 resultFrameNumber, resultStatus); in jpegEvtHandle()
3605 ATRACE_ASYNC_END("SNAPSHOT", resultFrameNumber); in jpegEvtHandle()
3609 (uint32_t)resultFrameNumber, in jpegEvtHandle()
3618 obj->mOfflineMemory.getGrallocBufferIndex((uint32_t)resultFrameNumber); in jpegEvtHandle()
3623 resultFrameNumber); in jpegEvtHandle()
3632 obj->mOfflineMetaMemory.getHeapBufferIndex((uint32_t)resultFrameNumber); in jpegEvtHandle()
3638 resultFrameNumber); in jpegEvtHandle()
4551 uint32_t resultFrameNumber; in streamCbRoutine() local
4577 resultFrameNumber = mMemory->getFrameNumber(frameIndex); in streamCbRoutine()
4594 int32_t rc = obj->releaseOfflineMemory(resultFrameNumber); in streamCbRoutine()
4600 mChannelCB(NULL, NULL, resultFrameNumber, true, mUserData); in streamCbRoutine()
4607 resultFrameNumber = mGrallocMemory.getFrameNumber(frameIndex); in streamCbRoutine()
4618 obj->reprocessCbRoutine(resultBuffer, resultFrameNumber); in streamCbRoutine()
4621 qcamera_hal3_pp_data_t *pp_job = obj->m_postprocessor.dequeuePPJob(resultFrameNumber); in streamCbRoutine()
4626 resetToCamPerfNormal(resultFrameNumber); in streamCbRoutine()