Home
last modified time | relevance | path

Searched refs:frame_number (Results 1 – 25 of 74) sorted by relevance

123

/hardware/google/camera/common/hal/tests/
Dresult_dispatcher_tests.cc39 uint32_t frame_number = 0; member
45 uint32_t frame_number = 0; member
82 received_shutters_.push_back({message.message.shutter.frame_number, in Notify()
94 uint32_t frame_number = new_result->frame_number; in ProcessCaptureResult() local
101 metadata.frame_number = frame_number; in ProcessCaptureResult()
107 ProcessReceivedBuffer(frame_number, buffer); in ProcessCaptureResult()
111 ProcessReceivedBuffer(frame_number, buffer); in ProcessCaptureResult()
117 void ProcessReceivedBuffer(uint32_t frame_number, const StreamBuffer& buffer) { in ProcessReceivedBuffer() argument
126 buffers_it->second.push_back({frame_number, buffer}); in ProcessReceivedBuffer()
130 bool IsShutterReceivedLocked(uint32_t frame_number, uint64_t timestamp_ns) { in IsShutterReceivedLocked() argument
[all …]
Dcamera_device_session_tests.cc110 auto pending_result = received_results_.find(result->frame_number); in ProcessCaptureResult()
113 result->frame_number, result->result_metadata.get()); in ProcessCaptureResult()
114 received_results_.emplace(result->frame_number, std::move(result)); in ProcessCaptureResult()
169 auto result = received_results_.find(request.frame_number); in IsResultReceivedLocked()
205 bool IsShutterReceivedLocked(uint32_t frame_number) { in IsShutterReceivedLocked() argument
208 message.message.shutter.frame_number == frame_number) { in IsShutterReceivedLocked()
216 status_t WaitForShutter(uint32_t frame_number, uint32_t timeout_ms) { in WaitForShutter() argument
218 if (IsShutterReceivedLocked(frame_number)) { in WaitForShutter()
224 [&] { return IsShutterReceivedLocked(frame_number); }); in WaitForShutter()
393 .frame_number = i, in TEST_F()
[all …]
/hardware/google/camera/common/hal/utils/
Dresult_dispatcher.cc66 void ResultDispatcher::RemovePendingRequest(uint32_t frame_number) { in RemovePendingRequest() argument
69 RemovePendingRequestLocked(frame_number); in RemovePendingRequest()
81 RemovePendingRequestLocked(pending_request.frame_number); in AddPendingRequest()
91 uint32_t frame_number = pending_request.frame_number; in AddPendingRequestLocked() local
93 status_t res = AddPendingShutterLocked(frame_number); in AddPendingRequestLocked()
96 __FUNCTION__, frame_number, strerror(-res), res); in AddPendingRequestLocked()
100 res = AddPendingFinalResultMetadataLocked(frame_number); in AddPendingRequestLocked()
103 __FUNCTION__, frame_number, strerror(-res), res); in AddPendingRequestLocked()
108 res = AddPendingBufferLocked(frame_number, buffer, /*is_input=*/true); in AddPendingRequestLocked()
111 __FUNCTION__, frame_number, strerror(-res), res); in AddPendingRequestLocked()
[all …]
Dpipeline_request_id_manager.cc47 uint32_t frame_number, in SetPipelineRequestId() argument
62 size_t frame_index = frame_number % kMaxPendingRequest; in SetPipelineRequestId()
66 if (frame_number != 0 && frame_number == request_id_info.frame_number) { in SetPipelineRequestId()
70 __FUNCTION__, request_id, frame_number, request_id_info.request_id, in SetPipelineRequestId()
75 request_id_info.frame_number = frame_number; in SetPipelineRequestId()
81 __FUNCTION__, frame_number, request_id, pipeline_id); in SetPipelineRequestId()
87 uint32_t frame_number, in GetPipelineRequestId() argument
106 size_t frame_index = frame_number % kMaxPendingRequest; in GetPipelineRequestId()
108 if (frame_number != request_id_info.frame_number) { in GetPipelineRequestId()
112 __FUNCTION__, frame_number, request_id_info.frame_number); in GetPipelineRequestId()
Dresult_dispatcher.h59 status_t AddShutter(uint32_t frame_number, int64_t timestamp_ns);
66 void RemovePendingRequest(uint32_t frame_number);
103 status_t AddPendingShutterLocked(uint32_t frame_number);
107 status_t AddPendingFinalResultMetadataLocked(uint32_t frame_number);
110 status_t AddPendingBufferLocked(uint32_t frame_number,
114 void RemovePendingRequestLocked(uint32_t frame_number);
117 void NotifyResultMetadata(uint32_t frame_number,
123 uint32_t frame_number, std::unique_ptr<HalCameraMetadata> final_metadata,
127 uint32_t frame_number, std::unique_ptr<HalCameraMetadata> metadata,
131 status_t AddBuffer(uint32_t frame_number, StreamBuffer buffer);
[all …]
Dzsl_buffer_manager.cc263 status_t ZslBufferManager::ReturnFilledBuffer(uint32_t frame_number, in ReturnFilledBuffer() argument
267 zsl_buffer.frame_number = frame_number; in ReturnFilledBuffer()
272 partially_filled_zsl_buffers_.find(frame_number) == in ReturnFilledBuffer()
279 __FUNCTION__, frame_number); in ReturnFilledBuffer()
282 partially_filled_zsl_buffers_[frame_number] = std::move(zsl_buffer); in ReturnFilledBuffer()
283 } else if (partially_filled_zsl_buffers_[frame_number].buffer.buffer == in ReturnFilledBuffer()
285 partially_filled_zsl_buffers_[frame_number].metadata != nullptr) { in ReturnFilledBuffer()
289 __FUNCTION__, frame_number); in ReturnFilledBuffer()
292 std::move(partially_filled_zsl_buffers_[frame_number].metadata); in ReturnFilledBuffer()
293 filled_zsl_buffers_[frame_number] = std::move(zsl_buffer); in ReturnFilledBuffer()
[all …]
Dpipeline_request_id_manager.h37 status_t SetPipelineRequestId(uint32_t request_id, uint32_t frame_number,
41 status_t GetPipelineRequestId(uint32_t pipeline_id, uint32_t frame_number,
53 uint32_t frame_number = 0; member
/hardware/google/camera/common/hal/google_camera_hal/
Drgbird_result_request_processor.cc92 requested_face_detect_modes_.emplace(request.frame_number, in SaveFdForHdrplus()
110 requested_lens_shading_map_modes_.emplace(request.frame_number, in SaveLsForHdrplus()
139 bool RgbirdResultRequestProcessor::IsAutocalRequest(uint32_t frame_number) const { in IsAutocalRequest()
154 return frame_number == kAutocalFrameNumber; in IsAutocalRequest()
173 !IsAutocalRequest(result->frame_number)) { in TryReturnInternalBufferForDepth()
179 __FUNCTION__, result->frame_number); in TryReturnInternalBufferForDepth()
231 remaining_session_request.frame_number); in AddPendingRequests()
233 capture_request->frame_number = remaining_session_request.frame_number; in AddPendingRequests()
240 depth_requests_.emplace(remaining_session_request.frame_number, in AddPendingRequests()
274 result->frame_number, result->output_buffers[i]); in ProcessResultForHdrplus()
[all …]
Ddepth_process_block.cc237 [this](DepthResultStatus result_status, uint32_t frame_number) { in ConfigureStreams() argument
238 status_t res = ProcessDepthResult(result_status, frame_number); in ConfigureStreams()
241 __FUNCTION__, frame_number); in ConfigureStreams()
278 request_info.frame_number); in SubmitBlockingDepthRequest()
283 request_info.frame_number); in SubmitBlockingDepthRequest()
287 res = ProcessDepthResult(DepthResultStatus::kOk, request_info.frame_number); in SubmitBlockingDepthRequest()
300 request_info.frame_number); in SubmitAsyncDepthRequest()
311 uint32_t frame_number) { in ProcessDepthResult() argument
314 frame_number); in ProcessDepthResult()
316 status_t res = UnmapDepthRequestBuffers(frame_number); in ProcessDepthResult()
[all …]
Ddual_ir_result_request_processor.cc142 uint32_t frame_number = process_block_requests[0].request.frame_number; in AddPendingRequests() local
145 pending_result_metadata_[frame_number] = std::move(pending_result_metadata); in AddPendingRequests()
151 uint32_t frame_number) { in TrySendingResultMetadataLocked() argument
154 pending_result_metadata_.find(frame_number); in TrySendingResultMetadataLocked()
157 frame_number); in TrySendingResultMetadataLocked()
177 result->frame_number = frame_number; in TrySendingResultMetadataLocked()
195 uint32_t frame_number, uint32_t physical_camera_id, in ProcessResultMetadata() argument
200 pending_result_metadata_.find(frame_number); in ProcessResultMetadata()
202 ALOGE("%s: frame number %u is not expected.", __FUNCTION__, frame_number); in ProcessResultMetadata()
211 __FUNCTION__, physical_camera_id, frame_number); in ProcessResultMetadata()
[all …]
Drealtime_zsl_result_processor.cc74 requested_lens_shading_map_modes_.emplace(request.frame_number, in SaveLsForHdrplus()
115 requested_face_detect_modes_.emplace(request.frame_number, in SaveFdForHdrplus()
186 result->frame_number, result->output_buffers[i]); in ProcessResult()
189 result->frame_number); in ProcessResult()
203 raw_stream_id_, result->frame_number, result->result_metadata.get()); in ProcessResult()
205 ALOGW("%s: (%d)ReturnMetadata fail", __FUNCTION__, result->frame_number); in ProcessResult()
211 result->frame_number); in ProcessResult()
214 res = HandleFdResultForHdrplus(result->frame_number, in ProcessResult()
218 result->frame_number); in ProcessResult()
222 res = HandleLsResultForHdrplus(result->frame_number, in ProcessResult()
[all …]
Dmulticam_realtime_process_block.cc272 uint32_t frame_number = block_requests[0].request.frame_number; in AreRequestsValidLocked() local
281 block_request.request.frame_number); in AreRequestsValidLocked()
285 if (block_request.request.frame_number != frame_number) { in AreRequestsValidLocked()
340 uint32_t camera_id, uint32_t frame_number) { in PrepareBlockByCameraId() argument
342 frame_number); in PrepareBlockByCameraId()
385 block_request.request_id, block_request.request.frame_number, in ProcessRequests()
395 block_request.request.frame_number, pipeline_id, in ProcessRequests()
409 process_block_requests[0].request.frame_number, hwl_requests); in ProcessRequests()
442 uint32_t frame_number = hwl_result->frame_number; in NotifyHwlPipelineResult() local
447 pipeline_id, frame_number); in NotifyHwlPipelineResult()
[all …]
Dcamera_device_session.cc124 uint32_t frame_number = result->frame_number; in UpdatePendingRequest() local
125 if (pending_request_streams_.find(frame_number) == in UpdatePendingRequest()
128 frame_number); in UpdatePendingRequest()
133 auto& streams = pending_request_streams_.at(frame_number); in UpdatePendingRequest()
140 __FUNCTION__, stream_id, frame_number); in UpdatePendingRequest()
149 pending_request_streams_.erase(frame_number); in UpdatePendingRequest()
190 stream_buffer.stream_id, result->frame_number); in ProcessCaptureResult()
212 pending_results_.erase(result->frame_number); in ProcessCaptureResult()
232 uint32_t frame_number = 0; in Notify() local
234 frame_number = result.message.error.frame_number; in Notify()
[all …]
Dmulticam_coordinator.h30 uint32_t frame_number; member
35 uint32_t frame_number; member
40 uint32_t frame_number; member
Dhdrplus_result_processor.cc97 res = internal_stream_manager_->ReturnZslStreamBuffers(result->frame_number, in ProcessResult()
101 result->frame_number); in ProcessResult()
105 result->frame_number); in ProcessResult()
114 result->frame_number); in ProcessResult()
Ddual_ir_request_processor.cc116 uint32_t frame_number = request.frame_number; in ProcessRequest() local
129 physical_request->frame_number = frame_number; in ProcessRequest()
/hardware/libhardware/modules/camera/3_4/
Drequest_tracker.cpp68 frames_in_flight_[request->frame_number] = request; in Add()
80 frames_in_flight_.find(request->frame_number); in Remove()
82 ALOGE("%s: Frame %u is not in flight.", __func__, request->frame_number); in Remove()
89 request->frame_number); in Remove()
122 if (frames_in_flight_.count(request.frame_number) > 0) { in CanAddRequest()
125 request.frame_number); in CanAddRequest()
151 bool RequestTracker::InFlight(uint32_t frame_number) const { in InFlight()
152 return frames_in_flight_.count(frame_number) > 0; in InFlight()
Dcamera.cpp315 ALOGV("%s:%d: frame: %d", __func__, mId, request->frame_number); in processCaptureRequest()
326 __func__, mId, request->frame_number); in processCaptureRequest()
357 __func__, mId, request->frame_number); in processCaptureRequest()
391 __func__, mId, request->frame_number); in completeRequest()
404 __func__, mId, request->frame_number); in completeRequest()
410 notifyShutter(request->frame_number, timestamp); in completeRequest()
470 void Camera::notifyShutter(uint32_t frame_number, uint64_t timestamp) in notifyShutter() argument
475 message.message.shutter.frame_number = frame_number; in notifyShutter()
486 message.message.error.frame_number = request->frame_number; in completeRequestWithError()
501 request->frame_number, in sendResult()
Dcapture_request.cpp28 frame_number = request->frame_number; in CaptureRequest()
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedRequestProcessor.cpp59 uint32_t frame_number, const std::vector<HwlPipelineRequest>& requests, in ProcessPipelineRequests() argument
83 frame_number, request.output_buffers, in ProcessPipelineRequests()
87 frame_number, request.input_buffers, in ProcessPipelineRequests()
101 uint32_t frame_number, const std::vector<StreamBuffer>& buffers, in CreateSensorBuffers() argument
112 frame_number, streams.at(buffer.stream_id), pipeline_id, cb, buffer); in CreateSensorBuffers()
132 .message.error = {.frame_number = output_buffer->frame_number, in NotifyFailedRequest()
264 uint32_t frame_number, const EmulatedStream& emulated_stream, in CreateSensorBuffer() argument
282 buffer->frame_number = frame_number; in CreateSensorBuffer()
358 auto frame_number = request.output_buffers->at(0)->frame_number; in RequestProcessorLoop() local
394 frame_number); in RequestProcessorLoop()
[all …]
DBase.h50 uint32_t frame_number; member
70 frame_number(0), in SensorBuffer()
112 .message.error = {.frame_number = buffer->frame_number,
122 result->frame_number = buffer->frame_number;
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
DQCameraHAL3VideoTest.cpp79 LOGD(" Request Number is : %d ",mRequest.frame_number); in initTest()
80 mRequest.frame_number = 0; in initTest()
136 LOGD(" Request Number is : %d ", mRequest.frame_number); in captureRequestRepeat()
140 num1 = mRequest.frame_number; in captureRequestRepeat()
166 (mRequest.frame_number)++; in captureRequestRepeat()
172 snapshot_buffer = mRequest.frame_number; in captureRequestRepeat()
179 (mRequest.frame_number)++; in captureRequestRepeat()
DQCameraHAL3PreviewTest.cpp76 LOGD(" Request Number is preview : %d ",mRequest.frame_number); in initTest()
77 mRequest.frame_number = 0; in initTest()
133 LOGD(" Request Number is preview : %d ",mRequest.frame_number); in captureRequestRepeat()
137 num1 = mRequest.frame_number; in captureRequestRepeat()
187 (mRequest.frame_number)++; in captureRequestRepeat()
193 snapshot_buffer = mRequest.frame_number; in captureRequestRepeat()
200 (mRequest.frame_number)++; in captureRequestRepeat()
/hardware/google/camera/common/lib_depth_generator/
Ddepth_types.h68 uint32_t frame_number = 0; member
92 std::function<void(DepthResultStatus result, uint32_t frame_number)>;
/hardware/libhardware/include/hardware/
Dcamera3.h2094 uint32_t frame_number; member
2118 uint32_t frame_number; member
2396 uint32_t frame_number; member
2550 uint32_t frame_number; member

123