Home
last modified time | relevance | path

Searched refs:output_buffers (Results 1 – 25 of 58) sorted by relevance

123

/hardware/libhardware/modules/camera/3_4/
Dcapture_request.cpp46 if (num_output_buffers < 0 || !request->output_buffers) { in CaptureRequest()
49 output_buffers.insert(output_buffers.end(), in CaptureRequest()
50 request->output_buffers, in CaptureRequest()
51 request->output_buffers + num_output_buffers); in CaptureRequest()
Dcapture_request.h34 std::vector<camera3_stream_buffer_t> output_buffers; member
Dcamera.cpp343 if (request->output_buffers.size() <= 0) { in processCaptureRequest()
345 request->output_buffers.size()); in processCaptureRequest()
348 for (auto& output_buffer : request->output_buffers) { in processCaptureRequest()
503 static_cast<uint32_t>(request->output_buffers.size()), in sendResult()
504 request->output_buffers.data(), in sendResult()
/hardware/google/camera/common/hal/google_camera_hal/
Drealtime_zsl_result_request_processor.cc41 request_entry.capture_request->output_buffers.size()) && in AllDataCollected()
109 (result->result_metadata ? "yes" : "no"), result->output_buffers.size(), in ProcessResult()
124 for (uint32_t i = 0; i < result->output_buffers.size(); i++) { in ProcessResult()
125 if (stream_id_ == result->output_buffers[i].stream_id) { in ProcessResult()
128 result->frame_number, result->output_buffers[i]); in ProcessResult()
135 modified_output_buffers.push_back(result->output_buffers[i]); in ProcessResult()
139 if (result->output_buffers.size() > 0) { in ProcessResult()
140 result->output_buffers.clear(); in ProcessResult()
141 result->output_buffers = modified_output_buffers; in ProcessResult()
194 if (!result->output_buffers.empty()) { in ProcessResult()
[all …]
Drgbird_result_request_processor.cc171 for (uint32_t i = 0; i < result->output_buffers.size(); i++) { in TryReturnInternalBufferForDepth()
172 if (rgb_internal_yuv_stream_id_ == result->output_buffers[i].stream_id && in TryReturnInternalBufferForDepth()
176 result->output_buffers[i]); in TryReturnInternalBufferForDepth()
182 modified_output_buffers.push_back(result->output_buffers[i]); in TryReturnInternalBufferForDepth()
186 if (!result->output_buffers.empty()) { in TryReturnInternalBufferForDepth()
187 result->output_buffers = modified_output_buffers; in TryReturnInternalBufferForDepth()
220 for (auto stream_buffer : remaining_session_request.output_buffers) { in AddPendingRequests()
239 capture_request->output_buffers.push_back(stream_buffer); in AddPendingRequests()
270 for (uint32_t i = 0; i < result->output_buffers.size(); i++) { in ProcessResultForHdrplus()
271 if (rgb_raw_stream_id_ == result->output_buffers[i].stream_id) { in ProcessResultForHdrplus()
[all …]
Drealtime_zsl_result_processor.cc190 for (uint32_t i = 0; i < result->output_buffers.size(); i++) { in ProcessResult()
191 if (stream_id_ == result->output_buffers[i].stream_id) { in ProcessResult()
194 result->frame_number, result->output_buffers[i]); in ProcessResult()
200 modified_output_buffers.push_back(result->output_buffers[i]); in ProcessResult()
204 if (result->output_buffers.size() > 0) { in ProcessResult()
205 result->output_buffers.clear(); in ProcessResult()
206 result->output_buffers = modified_output_buffers; in ProcessResult()
249 result->output_buffers.size() == 0) { in ProcessResult()
Dsnapshot_request_processor.cc173 for (const auto& output_buffer : request.output_buffers) { in ProcessRequest()
176 &block_request.output_buffers, request.frame_number); in ProcessRequest()
191 session_callback_.return_stream_buffers(block_request.output_buffers); in ProcessRequest()
204 block_requests[0].request.output_buffers); in ProcessRequest()
Ddepth_process_block.cc340 capture_result->output_buffers = request.output_buffers; in ProcessDepthResult()
345 for (auto& stream_buffer : capture_result->output_buffers) { in ProcessDepthResult()
655 res = MapBuffersForDepthGenerator(request.output_buffers[0], in MapDepthRequestBuffers()
687 request.output_buffers.size() != 1) { in PrepareDepthRequestInfo()
692 request.output_buffers.size()); in PrepareDepthRequestInfo()
698 &(const_cast<CaptureRequest&>(request).output_buffers[0]), in PrepareDepthRequestInfo()
725 pending_request.output_buffers = request.output_buffers; in PrepareDepthRequestInfo()
749 request.output_buffers.size() != 1) { in UnmapDepthRequestBuffers()
754 request.output_buffers.size()); in UnmapDepthRequestBuffers()
785 request.output_buffers[0], depth_request_info.depth_buffer.planes[0].addr); in UnmapDepthRequestBuffers()
Dcapture_session_wrapper_process_block.cc185 request.output_buffers = process_block_requests[0].request.output_buffers; in ProcessRequests()
186 for (auto& buffer : request.output_buffers) { in ProcessRequests()
Dbasic_request_processor.cc107 block_request.output_buffers = request.output_buffers; in ProcessRequest()
Dcamera_device_session.cc124 if (result->output_buffers.empty()) { in UpdatePendingRequest()
140 for (auto& stream_buffer : result->output_buffers) { in UpdatePendingRequest()
207 for (auto& stream_buffer : result->output_buffers) { in ProcessCaptureResult()
234 buffers.insert(buffers.end(), result->output_buffers.begin(), in ProcessCaptureResult()
235 result->output_buffers.end()); in ProcessCaptureResult()
866 updated_request->output_buffers = request.output_buffers; in CreateCaptureRequestLocked()
918 res = UpdateBufferHandlesLocked(&updated_request->output_buffers); in CreateCaptureRequestLocked()
1012 res = ImportBufferHandles(request.output_buffers); in ImportRequestBufferHandles()
1059 for (auto& stream_buffer : result->output_buffers) { in TryHandleDummyResult()
1084 for (auto& stream_buffer : result->output_buffers) { in TryHandleDummyResult()
[all …]
Ddual_ir_request_processor.cc123 for (auto& buffer : request.output_buffers) { in ProcessRequest()
137 physical_request->output_buffers.push_back(buffer); in ProcessRequest()
Drgbird_rt_request_processor.cc546 physical_request.output_buffers.push_back(internal_buffer); in AddIrRawProcessBlockRequestLocked()
568 for (auto& output_buffer : request.output_buffers) { in TryAddRgbProcessBlockRequestLocked()
570 physical_request.output_buffers.push_back(output_buffer); in TryAddRgbProcessBlockRequestLocked()
595 } else if (physical_request.output_buffers.empty() || in TryAddRgbProcessBlockRequestLocked()
605 if (!physical_request.output_buffers.empty()) { in TryAddRgbProcessBlockRequestLocked()
645 block_request->output_buffers.push_back(buffer); in TryAddDepthInternalYuvOutputLocked()
680 block_request->output_buffers.push_back(buffer); in TryAddHdrplusRawOutputLocked()
Dpending_requests_tracker.cc256 return DoStreamsHaveEnoughBuffersLocked(request.output_buffers); in WaitAndTrackRequestBuffers()
264 TrackRequestBuffersLocked(request.output_buffers); in WaitAndTrackRequestBuffers()
267 status_t res = UpdateRequestedStreamIdsLocked(request.output_buffers, in WaitAndTrackRequestBuffers()
/hardware/google/camera/common/hal/utils/
Dhal_utils.cc44 hwl_request->output_buffers = request.output_buffers; in CreateHwlPipelineRequest()
108 capture_result->output_buffers = std::move(hwl_result->output_buffers); in ConvertToCaptureResult()
124 for (auto& request_buffer : request.output_buffers) { in ContainsOutputBuffer()
140 for (auto& buffer : remaining_session_request.output_buffers) { in AreAllRemainingBuffersRequested()
332 if (preview_stream_id != -1 && request.output_buffers.size() == 1 && in IsRequestHdrplusCompatible()
333 request.output_buffers[0].stream_id == preview_stream_id) { in IsRequestHdrplusCompatible()
700 ALOGI("== num_output_buffers:%zu", request.output_buffers.size()); in DumpCaptureRequest()
701 for (uint32_t i = 0; i < request.output_buffers.size(); i++) { in DumpCaptureRequest()
703 request.output_buffers[i].stream_id, request.output_buffers[i].buffer); in DumpCaptureRequest()
718 ALOGI("== num_output_buffers:%zu", result.result->output_buffers.size()); in DumpCaptureResult()
[all …]
Dmulticam_realtime_process_block.cc273 if (block_request.request.output_buffers.size() == 0) { 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()
369 block_request.request.output_buffers[0], &pipeline_id); in ProcessRequests()
437 hwl_result->input_buffers.empty() && hwl_result->output_buffers.empty()) { in NotifyHwlPipelineResult()
452 capture_result->output_buffers.size(), in NotifyHwlPipelineResult()
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedRequestProcessor.cpp110 auto output_buffers = CreateSensorBuffers( in ProcessPipelineRequests() local
111 frame_number, request.output_buffers, in ProcessPipelineRequests()
115 if (output_buffers == nullptr) { in ProcessPipelineRequests()
146 .output_buffers = std::move(output_buffers)}); in ProcessPipelineRequests()
213 if (request.output_buffers != nullptr) { in NotifyFailedRequest()
216 for (auto& output_buffer : *(request.output_buffers)) { in NotifyFailedRequest()
458 auto output_buffers = AcquireBuffers(request.output_buffers.get()); in RequestProcessorLoop() local
460 if ((output_buffers != nullptr) && !output_buffers->empty()) { in RequestProcessorLoop()
466 for (const auto& it : *output_buffers) { in RequestProcessorLoop()
506 std::move(input_buffers), std::move(output_buffers)); in RequestProcessorLoop()
DGrallocSensorBuffer.cpp51 result->output_buffers.push_back(stream_buffer); in ~GrallocSensorBuffer()
/hardware/google/camera/common/hal/tests/
Dresult_dispatcher_tests.cc108 for (auto& buffer : new_result->output_buffers) { in ProcessCaptureResult()
286 request.output_buffers = ordered_output_buffers[i];
370 std::vector<std::vector<StreamBuffer>> output_buffers; in TEST_F() local
378 output_buffers.push_back({buffer}); in TEST_F()
381 AddPendingRequestsToDispatcher(unordered_frame_numbers, output_buffers); in TEST_F()
388 result->output_buffers = output_buffers[i]; in TEST_F()
Dresult_processor_tests.cc98 requests[0].request.output_buffers = {StreamBuffer{}}; in TEST()
171 requests[0].request.output_buffers = {StreamBuffer{}}; in TEST()
174 remaining_request.output_buffers.push_back({.buffer = kDummyBufferHandle}); in TEST()
Dcamera_device_session_tests.cc186 pending_result->second->output_buffers.insert( in ProcessCaptureResult()
187 pending_result->second->output_buffers.end(), in ProcessCaptureResult()
188 result->output_buffers.begin(), result->output_buffers.end()); in ProcessCaptureResult()
237 if (!ContainsTheSameBuffers(result->second->output_buffers, in IsResultReceivedLocked()
238 request.output_buffers)) { in IsResultReceivedLocked()
455 .output_buffers = {preview_buffer}, in TEST_F()
/hardware/google/camera/common/hal/hwl_interface/
Dhwl_types.h47 std::vector<StreamBuffer> output_buffers; member
69 std::vector<StreamBuffer> output_buffers; member
/hardware/libhardware/include/hardware/
Dcamera3.h2304 camera3_stream_buffer_t *output_buffers; member
2458 const camera3_stream_buffer_t *output_buffers; member
2627 const camera3_stream_buffer_t *output_buffers; member
/hardware/libhardware/modules/usbcamera/
DCamera.cpp412 result.output_buffers = new camera3_stream_buffer_t[result.num_output_buffers]; in processCaptureRequest()
414 int res = processCaptureBuffer(&request->output_buffers[i], in processCaptureRequest()
415 const_cast<camera3_stream_buffer_t*>(&result.output_buffers[i])); in processCaptureRequest()
417 delete [] result.output_buffers; in processCaptureRequest()
432 delete[] result.output_buffers; in processCaptureRequest()
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp381 result.output_buffers = new camera3_stream_buffer_t[result.num_output_buffers]; in processCaptureRequest()
383 int res = processCaptureBuffer(&request->output_buffers[i], in processCaptureRequest()
384 const_cast<camera3_stream_buffer_t*>(&result.output_buffers[i])); in processCaptureRequest()
399 delete [] result.output_buffers; in processCaptureRequest()

123