Lines Matching refs:frameNumber
212 void insertResultLocked(CaptureOutputStates& states, CaptureResult *result, uint32_t frameNumber) { in insertResultLocked() argument
222 (int32_t*)&frameNumber, 1) != OK) { in insertResultLocked()
223 SET_ERR("Failed to set frame number %d in metadata", frameNumber); in insertResultLocked()
228 SET_ERR("Failed to set request ID in metadata for frame %d", frameNumber); in insertResultLocked()
247 queuedResult->mResultExtras.frameNumber, in insertResultLocked()
256 const CaptureResultExtras &resultExtras, uint32_t frameNumber) { in sendPartialCaptureResult() argument
296 insertResultLocked(states, &captureResult, frameNumber); in sendPartialCaptureResult()
305 uint32_t frameNumber, in sendCaptureResult() argument
317 if (frameNumber < states.nextReprocResultFrameNum) { in sendCaptureResult()
320 frameNumber, states.nextReprocResultFrameNum); in sendCaptureResult()
323 states.nextReprocResultFrameNum = frameNumber + 1; in sendCaptureResult()
325 if (frameNumber < states.nextZslResultFrameNum) { in sendCaptureResult()
328 frameNumber, states.nextZslResultFrameNum); in sendCaptureResult()
331 states.nextZslResultFrameNum = frameNumber + 1; in sendCaptureResult()
333 if (frameNumber < states.nextResultFrameNum) { in sendCaptureResult()
336 frameNumber, states.nextResultFrameNum); in sendCaptureResult()
339 states.nextResultFrameNum = frameNumber + 1; in sendCaptureResult()
358 frameNumber); in sendCaptureResult()
368 physicalMetadata.mPhysicalCameraId.c_str(), frameNumber); in sendCaptureResult()
380 frameNumber, strerror(-res), res); in sendCaptureResult()
392 frameNumber, strerror(-res), res); in sendCaptureResult()
404 frameNumber, strerror(-res), res); in sendCaptureResult()
450 frameNumber, strerror(-res), res); in sendCaptureResult()
460 "frame %d: %s(%d)", cameraId.c_str(), frameNumber, strerror(-res), res); in sendCaptureResult()
488 frameNumber, sensorTimestamp, captureResult.mMetadata, in sendCaptureResult()
491 insertResultLocked(states, &captureResult, frameNumber); in sendCaptureResult()
507 const uint32_t frameNumber = inflightMap.keyAt(idx); in removeInFlightRequestIfReadyLocked() local
523 ATRACE_ASYNC_END("still capture", frameNumber); in removeInFlightRequestIfReadyLocked()
526 ATRACE_ASYNC_END("frame capture", frameNumber); in removeInFlightRequestIfReadyLocked()
534 sensorTimestamp, frameNumber, shutterTimestamp); in removeInFlightRequestIfReadyLocked()
555 states.lastCompletedReprocessFrameNumber = frameNumber; in removeInFlightRequestIfReadyLocked()
557 states.lastCompletedZslFrameNumber = frameNumber; in removeInFlightRequestIfReadyLocked()
559 states.lastCompletedRegularFrameNumber = frameNumber; in removeInFlightRequestIfReadyLocked()
565 ALOGVV("%s: removed frame %d from InFlightMap", __FUNCTION__, frameNumber); in removeInFlightRequestIfReadyLocked()
616 uint32_t frameNumber = result->frame_number; in processCaptureResult() local
620 frameNumber); in processCaptureResult()
629 frameNumber, result->partial_result); in processCaptureResult()
647 ssize_t idx = states.inflightMap.indexOfKey(frameNumber); in processCaptureResult()
650 frameNumber); in processCaptureResult()
659 request.resultExtras.frameNumber, request.resultExtras.burstId, in processCaptureResult()
723 frameNumber, result->partial_result, states.numPartialResults); in processCaptureResult()
729 " physical camera result", frameNumber); in processCaptureResult()
739 frameNumber); in processCaptureResult()
755 frameNumber); in processCaptureResult()
764 frameNumber, physicalId.c_str()); in processCaptureResult()
790 frameNumber); in processCaptureResult()
829 collectedPartialResult, frameNumber, in processCaptureResult()
857 frameNumber, strerror(-res), res); in processCaptureResult()
939 b.surfaceIds, b.resultExtras.frameNumber, b.transform); in finishReturningOutputBuffers()
970 b.resultExtras.frameNumber, b.transform); in finishReturningOutputBuffers()
1223 resultExtras.frameNumber = msg.frame_number; in notifyError()
1226 resultExtras.frameNumber); in notifyError()
1320 int32_t frameNumber = pair.first; in flushInflightRequests() local
1323 status_t res = states.bufferRecordsIntf.popInflightBuffer(frameNumber, streamId, &buffer); in flushInflightRequests()
1326 __FUNCTION__, frameNumber, streamId); in flushInflightRequests()
1329 inflightBuffers.push_back(std::make_tuple(streamId, frameNumber, buffer)); in flushInflightRequests()
1349 int32_t frameNumber = std::get<1>(tuple); in flushInflightRequests() local
1367 std::vector<size_t> (), frameNumber); in flushInflightRequests()
1371 frameNumber, streamId, strerror(-res), res); in flushInflightRequests()
1379 frameNumber, streamId, strerror(-res), res); in flushInflightRequests()