Lines Matching refs:frameNumber

128 void insertResultLocked(CaptureOutputStates& states, CaptureResult *result, uint32_t frameNumber) {  in insertResultLocked()  argument
137 (int32_t*)&frameNumber, 1) != OK) { in insertResultLocked()
138 SET_ERR("Failed to set frame number %d in metadata", frameNumber); in insertResultLocked()
143 SET_ERR("Failed to set request ID in metadata for frame %d", frameNumber); in insertResultLocked()
161 queuedResult->mResultExtras.frameNumber, in insertResultLocked()
170 const CaptureResultExtras &resultExtras, uint32_t frameNumber) { in sendPartialCaptureResult() argument
185 insertResultLocked(states, &captureResult, frameNumber); in sendPartialCaptureResult()
193 uint32_t frameNumber, in sendCaptureResult() argument
205 if (frameNumber < states.nextReprocResultFrameNum) { in sendCaptureResult()
208 frameNumber, states.nextReprocResultFrameNum); in sendCaptureResult()
211 states.nextReprocResultFrameNum = frameNumber + 1; in sendCaptureResult()
213 if (frameNumber < states.nextZslResultFrameNum) { in sendCaptureResult()
216 frameNumber, states.nextZslResultFrameNum); in sendCaptureResult()
219 states.nextZslResultFrameNum = frameNumber + 1; in sendCaptureResult()
221 if (frameNumber < states.nextResultFrameNum) { in sendCaptureResult()
224 frameNumber, states.nextResultFrameNum); in sendCaptureResult()
227 states.nextResultFrameNum = frameNumber + 1; in sendCaptureResult()
246 frameNumber); in sendCaptureResult()
256 String8(physicalMetadata.mPhysicalCameraId).c_str(), frameNumber); in sendCaptureResult()
268 frameNumber, strerror(-res), res); in sendCaptureResult()
280 frameNumber, strerror(-res), res); in sendCaptureResult()
292 frameNumber, strerror(-res), res); in sendCaptureResult()
306 frameNumber, strerror(-res), res); in sendCaptureResult()
316 "frame %d: %s(%d)", cameraId8.c_str(), frameNumber, strerror(-res), res); in sendCaptureResult()
344 frameNumber, sensorTimestamp, captureResult.mMetadata, in sendCaptureResult()
347 insertResultLocked(states, &captureResult, frameNumber); in sendCaptureResult()
399 const uint32_t frameNumber = inflightMap.keyAt(idx); in removeInFlightRequestIfReadyLocked() local
414 ATRACE_ASYNC_END("still capture", frameNumber); in removeInFlightRequestIfReadyLocked()
417 ATRACE_ASYNC_END("frame capture", frameNumber); in removeInFlightRequestIfReadyLocked()
425 sensorTimestamp, frameNumber, shutterTimestamp); in removeInFlightRequestIfReadyLocked()
442 states.lastCompletedReprocessFrameNumber = frameNumber; in removeInFlightRequestIfReadyLocked()
444 states.lastCompletedZslFrameNumber = frameNumber; in removeInFlightRequestIfReadyLocked()
446 states.lastCompletedRegularFrameNumber = frameNumber; in removeInFlightRequestIfReadyLocked()
450 ALOGVV("%s: removed frame %d from InFlightMap", __FUNCTION__, frameNumber); in removeInFlightRequestIfReadyLocked()
461 uint32_t frameNumber = result->frame_number; in processCaptureResult() local
465 frameNumber); in processCaptureResult()
474 frameNumber, result->partial_result); in processCaptureResult()
491 ssize_t idx = states.inflightMap.indexOfKey(frameNumber); in processCaptureResult()
494 frameNumber); in processCaptureResult()
503 request.resultExtras.frameNumber, request.resultExtras.burstId, in processCaptureResult()
518 frameNumber, result->partial_result, states.numPartialResults); in processCaptureResult()
524 " physical camera result", frameNumber); in processCaptureResult()
534 frameNumber); in processCaptureResult()
550 frameNumber); in processCaptureResult()
561 frameNumber, physicalId.c_str()); in processCaptureResult()
587 frameNumber); in processCaptureResult()
622 collectedPartialResult, frameNumber, in processCaptureResult()
641 frameNumber, strerror(-res), res); in processCaptureResult()
662 r.frame_number = result.frameNumber; in processOneCaptureResultLocked()
671 __FUNCTION__, result.frameNumber); in processOneCaptureResultLocked()
687 __FUNCTION__, result.frameNumber, in processOneCaptureResultLocked()
708 __FUNCTION__, result.frameNumber, i, bSrc.streamId); in processOneCaptureResultLocked()
721 __FUNCTION__, result.frameNumber, i, bSrc.streamId); in processOneCaptureResultLocked()
732 res = bufferRecords.popInflightBuffer(result.frameNumber, bSrc.streamId, &buffer); in processOneCaptureResultLocked()
737 __FUNCTION__, result.frameNumber, i, bSrc.streamId); in processOneCaptureResultLocked()
753 __FUNCTION__, result.frameNumber, i, bSrc.releaseFence->numFds); in processOneCaptureResultLocked()
766 result.frameNumber, result.inputBuffer.streamId); in processOneCaptureResultLocked()
771 res = bufferRecords.popInflightBuffer(result.frameNumber, result.inputBuffer.streamId, in processOneCaptureResultLocked()
775 __FUNCTION__, result.frameNumber, result.inputBuffer.streamId); in processOneCaptureResultLocked()
787 __FUNCTION__, result.frameNumber, result.inputBuffer.releaseFence->numFds); in processOneCaptureResultLocked()
844 inResultExtras.frameNumber); in returnOutputBuffers()
848 inResultExtras.frameNumber); in returnOutputBuffers()
867 inResultExtras.frameNumber); in returnOutputBuffers()
1063 resultExtras.frameNumber = msg.frame_number; in notifyError()
1066 resultExtras.frameNumber); in notifyError()
1114 m.message.error.frame_number = msg.msg.error.frameNumber; in notify()
1144 m.message.shutter.frame_number = msg.msg.shutter.frameNumber; in notify()
1421 int32_t frameNumber = pair.first; in flushInflightRequests() local
1424 status_t res = states.bufferRecordsIntf.popInflightBuffer(frameNumber, streamId, &buffer); in flushInflightRequests()
1427 __FUNCTION__, frameNumber, streamId); in flushInflightRequests()
1430 inflightBuffers.push_back(std::make_tuple(streamId, frameNumber, buffer)); in flushInflightRequests()
1450 int32_t frameNumber = std::get<1>(tuple); in flushInflightRequests() local
1467 /*timestampIncreasing*/true, std::vector<size_t> (), frameNumber); in flushInflightRequests()
1471 frameNumber, streamId, strerror(-res), res); in flushInflightRequests()
1479 frameNumber, streamId, strerror(-res), res); in flushInflightRequests()