Home
last modified time | relevance | path

Searched refs:block_request (Results 1 – 14 of 14) sorted by relevance

/hardware/google/camera/common/hal/google_camera_hal/
Dbasic_request_processor.cc95 CaptureRequest block_request; in ProcessRequest() local
96 block_request.frame_number = request.frame_number; in ProcessRequest()
97 block_request.settings = HalCameraMetadata::Clone(request.settings.get()); in ProcessRequest()
98 block_request.input_buffers = request.input_buffers; in ProcessRequest()
99 block_request.input_width = request.input_width; in ProcessRequest()
100 block_request.input_height = request.input_height; in ProcessRequest()
103 block_request.input_buffer_metadata.push_back( in ProcessRequest()
107 block_request.output_buffers = request.output_buffers; in ProcessRequest()
109 block_request.physical_camera_settings[camera_id] = in ProcessRequest()
114 block_requests[0].request = std::move(block_request); in ProcessRequest()
Dsnapshot_request_processor.cc169 CaptureRequest block_request; in ProcessRequest() local
170 block_request.frame_number = request.frame_number; in ProcessRequest()
171 block_request.settings = HalCameraMetadata::Clone(request.settings.get()); in ProcessRequest()
176 &block_request.output_buffers, request.frame_number); in ProcessRequest()
180 block_request.physical_camera_settings[camera_id] = in ProcessRequest()
186 yuv_stream_id_, &(block_request.input_buffers), in ProcessRequest()
187 &(block_request.input_buffer_metadata), /*payload_frames=*/kZslBufferSize); in ProcessRequest()
191 session_callback_.return_stream_buffers(block_request.output_buffers); in ProcessRequest()
197 block_requests[0].request = std::move(block_request); in ProcessRequest()
Drealtime_zsl_request_processor.cc310 CaptureRequest block_request; in ProcessRequest() local
312 block_request.frame_number = request.frame_number; in ProcessRequest()
313 block_request.settings = HalCameraMetadata::Clone(request.settings.get()); in ProcessRequest()
314 block_request.input_buffers = request.input_buffers; in ProcessRequest()
315 block_request.output_buffers = request.output_buffers; in ProcessRequest()
318 block_request.input_buffer_metadata.push_back( in ProcessRequest()
323 block_request.physical_camera_settings[camera_id] = in ProcessRequest()
343 block_request.output_buffers.push_back(buffer); in ProcessRequest()
346 if (block_request.settings != nullptr && is_hdrplus_zsl_enabled_) { in ProcessRequest()
350 block_request.settings.get(), enable_hybrid_ae); in ProcessRequest()
[all …]
Drealtime_zsl_result_request_processor.cc268 CaptureRequest block_request; in ProcessRequest() local
269 block_request.frame_number = request.frame_number; in ProcessRequest()
270 block_request.settings = HalCameraMetadata::Clone(request.settings.get()); in ProcessRequest()
271 block_request.input_buffers = request.input_buffers; in ProcessRequest()
272 block_request.input_width = request.input_width; in ProcessRequest()
273 block_request.input_height = request.input_height; in ProcessRequest()
276 block_request.input_buffer_metadata.push_back( in ProcessRequest()
280 block_request.output_buffers = request.output_buffers; in ProcessRequest()
282 block_request.physical_camera_settings[camera_id] = in ProcessRequest()
287 block_requests[0].request = std::move(block_request); in ProcessRequest()
Drgbird_rt_request_processor.cc512 ProcessBlockRequest block_request = {.request_id = camera_id}; in AddIrRawProcessBlockRequestLocked() local
513 CaptureRequest& physical_request = block_request.request; in AddIrRawProcessBlockRequestLocked()
551 block_requests->push_back(std::move(block_request)); in AddIrRawProcessBlockRequestLocked()
565 ProcessBlockRequest block_request = {.request_id = kRgbCameraId}; in TryAddRgbProcessBlockRequestLocked() local
566 CaptureRequest& physical_request = block_request.request; in TryAddRgbProcessBlockRequestLocked()
626 block_requests->push_back(std::move(block_request)); in TryAddRgbProcessBlockRequestLocked()
632 CaptureRequest* block_request) { in TryAddDepthInternalYuvOutputLocked() argument
633 if (block_request == nullptr) { in TryAddDepthInternalYuvOutputLocked()
645 block_request->output_buffers.push_back(buffer); in TryAddDepthInternalYuvOutputLocked()
651 CaptureRequest* block_request, const CaptureRequest& request) { in TryAddHdrplusRawOutputLocked() argument
[all …]
Ddual_ir_result_request_processor.cc100 const ProcessBlockRequest& block_request, in AddPendingPhysicalCameraMetadata() argument
108 for (auto& buffer : block_request.request.output_buffers) { in AddPendingPhysicalCameraMetadata()
133 for (auto& block_request : process_block_requests) { in AddPendingRequests() local
135 block_request, &pending_result_metadata.physical_metadata); in AddPendingRequests()
Drgbird_rt_request_processor.h78 status_t TryAddHdrplusRawOutputLocked(CaptureRequest* block_request,
83 status_t TryAddDepthInternalYuvOutputLocked(CaptureRequest* block_request);
Ddual_ir_request_processor.cc143 ProcessBlockRequest block_request = { in ProcessRequest() local
148 block_requests.push_back(std::move(block_request)); in ProcessRequest()
Ddual_ir_result_request_processor.h104 const ProcessBlockRequest& block_request,
Drgbird_result_request_processor.cc792 auto& block_request = process_block_requests[0]; in ProcessRequest() local
793 block_request.request_id = 0; in ProcessRequest()
794 CaptureRequest& physical_request = block_request.request; in ProcessRequest()
/hardware/google/camera/common/hal/utils/
Dhdrplus_request_processor.cc215 CaptureRequest block_request; in ProcessRequest() local
216 block_request.frame_number = request.frame_number; in ProcessRequest()
217 block_request.settings = HalCameraMetadata::Clone(request.settings.get()); in ProcessRequest()
218 block_request.output_buffers = request.output_buffers; in ProcessRequest()
220 block_request.physical_camera_settings[camera_id] = in ProcessRequest()
226 raw_stream_id_, &(block_request.input_buffers), in ProcessRequest()
227 &(block_request.input_buffer_metadata), payload_frames_); in ProcessRequest()
234 RemoveJpegMetadata(&(block_request.input_buffer_metadata)); in ProcessRequest()
236 block_requests[0].request = std::move(block_request); in ProcessRequest()
Dmulticam_realtime_process_block.cc272 for (auto& block_request : block_requests) { in AreRequestsValidLocked() local
273 if (block_request.request.output_buffers.size() == 0) { in AreRequestsValidLocked()
275 block_request.request.frame_number); in AreRequestsValidLocked()
279 if (block_request.request.frame_number != frame_number) { in AreRequestsValidLocked()
286 for (uint32_t i = 0; i < block_request.request.output_buffers.size(); i++) { in AreRequestsValidLocked()
289 block_request.request.output_buffers[0], &buffer_camera_id); in AreRequestsValidLocked()
362 for (auto& block_request : process_block_requests) { in ProcessRequests() local
369 block_request.request.output_buffers[0], &pipeline_id); in ProcessRequests()
377 block_request.request_id, block_request.request.frame_number, in ProcessRequests()
387 block_request.request.frame_number, pipeline_id, in ProcessRequests()
[all …]
Dhal_utils.cc143 for (auto& block_request : process_block_requests) { in AreAllRemainingBuffersRequested() local
144 if (ContainsOutputBuffer(block_request.request, buffer)) { in AreAllRemainingBuffersRequested()
/hardware/google/camera/common/hal/tests/
Dprocess_block_tests.cc249 ProcessBlockRequest block_request; in TEST_F() local
250 block_request.request.output_buffers.push_back(buffer); in TEST_F()
252 block_requests.push_back(std::move(block_request)); in TEST_F()