Home
last modified time | relevance | path

Searched refs:result_metadata (Results 1 – 25 of 30) sorted by relevance

12

/hardware/google/camera/common/hal/google_camera_hal/
Drealtime_zsl_result_request_processor.cc109 (result->result_metadata ? "yes" : "no"), result->output_buffers.size(), in ProcessResult()
144 if (result->result_metadata) { in ProcessResult()
145 result->result_metadata->Erase(ANDROID_CONTROL_ENABLE_ZSL); in ProcessResult()
148 stream_id_, result->frame_number, result->result_metadata.get(), in ProcessResult()
156 hal_utils::SetEnableZslMetadata(result->result_metadata.get(), false); in ProcessResult()
173 if (result->result_metadata != nullptr) { in ProcessResult()
178 HalCameraMetadata::Clone(result->result_metadata.get()); in ProcessResult()
184 HalCameraMetadata::Clone(result->result_metadata.get()); in ProcessResult()
188 result->result_metadata->GetRawCameraMetadata()); in ProcessResult()
380 if (result->result_metadata == nullptr) { in CombineErrorAndPendingEntriesToResult()
[all …]
Drealtime_zsl_result_processor.cc209 if (result->result_metadata) { in ProcessResult()
210 result->result_metadata->Erase(ANDROID_CONTROL_ENABLE_ZSL); in ProcessResult()
213 stream_id_, result->frame_number, result->result_metadata.get(), in ProcessResult()
221 hal_utils::SetEnableZslMetadata(result->result_metadata.get(), false); in ProcessResult()
229 result->result_metadata.get()); in ProcessResult()
237 result->result_metadata.get()); in ProcessResult()
248 if (returned_output && result->result_metadata == nullptr && in ProcessResult()
Ddual_ir_result_request_processor.cc179 result->result_metadata = std::move(pending_result_metadata.metadata); in TrySendingResultMetadataLocked()
196 std::unique_ptr<HalCameraMetadata> result_metadata) { in ProcessResultMetadata() argument
217 if (OK != result_metadata->Set( in ProcessResultMetadata()
226 pending_result_metadata.metadata = std::move(result_metadata); in ProcessResultMetadata()
247 physical_metadata_iter->second = std::move(result_metadata); in ProcessResultMetadata()
275 if (result->result_metadata != nullptr) { in ProcessResult()
277 std::move(result->result_metadata)); in ProcessResult()
Dsnapshot_result_processor.cc109 if (result->result_metadata) { in ProcessResult()
110 res = hal_utils::SetEnableZslMetadata(result->result_metadata.get(), true); in ProcessResult()
Drgbird_result_request_processor.cc288 if (result->result_metadata) { in ProcessResultForHdrplus()
290 rgb_raw_stream_id_, result->frame_number, result->result_metadata.get()); in ProcessResultForHdrplus()
296 result->result_metadata.get()); in ProcessResultForHdrplus()
304 result->result_metadata.get()); in ProcessResultForHdrplus()
554 if (result->result_metadata != nullptr && request_id == kRgbCameraId) { in TrySubmitDepthProcessBlockRequest()
585 HalCameraMetadata::Clone(result->result_metadata.get()); in TrySubmitDepthProcessBlockRequest()
633 if (result->result_metadata) { in ProcessResult()
634 res = hal_utils::SetEnableZslMetadata(result->result_metadata.get(), false); in ProcessResult()
642 if (has_internal_stream_buffer && result->result_metadata == nullptr && in ProcessResult()
Ddual_ir_result_request_processor.h113 std::unique_ptr<HalCameraMetadata> result_metadata);
Ddual_ir_depth_result_processor.cc90 if (result->result_metadata != nullptr) { in ProcessResult()
Drgbird_depth_result_processor.cc90 if (result->result_metadata != nullptr) { in ProcessResult()
/hardware/google/camera/common/hal/hwl_interface/
Dmulticam_coordinator_hwl.h45 virtual status_t GetLeadCameraId(HalCameraMetadata* result_metadata,
48 virtual bool IsFollowerMetadata(HalCameraMetadata* result_metadata) const = 0;
Dmulticam_coordinator.h65 virtual status_t ProcessPhysicalResult(HalCameraMetadata* result_metadata) = 0;
69 virtual status_t ProcessLogicalResult(HalCameraMetadata* result_metadata,
Dhwl_types.h67 std::unique_ptr<HalCameraMetadata> result_metadata; member
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedRequestState.cpp880 result->result_metadata = HalCameraMetadata::Clone(request_settings_.get()); in InitializeResult()
884 result->result_metadata->Set(ANDROID_REQUEST_PIPELINE_DEPTH, in InitializeResult()
886 result->result_metadata->Set(ANDROID_CONTROL_MODE, &control_mode_, 1); in InitializeResult()
887 result->result_metadata->Set(ANDROID_SENSOR_PIXEL_MODE, &sensor_pixel_mode_, in InitializeResult()
890 result->result_metadata->Set(ANDROID_CONTROL_AF_MODE, &af_mode_, 1); in InitializeResult()
891 result->result_metadata->Set(ANDROID_CONTROL_AF_STATE, &af_state_, 1); in InitializeResult()
892 result->result_metadata->Set(ANDROID_CONTROL_AWB_MODE, &awb_mode_, 1); in InitializeResult()
893 result->result_metadata->Set(ANDROID_CONTROL_AWB_STATE, &awb_state_, 1); in InitializeResult()
894 result->result_metadata->Set(ANDROID_CONTROL_AE_MODE, &ae_mode_, 1); in InitializeResult()
895 result->result_metadata->Set(ANDROID_CONTROL_AE_STATE, &ae_state_, 1); in InitializeResult()
[all …]
DEmulatedLogicalRequestState.cpp85 HalCameraMetadata* result_metadata, uint32_t device_id) { in UpdateActivePhysicalId() argument
86 if (result_metadata == nullptr) { in UpdateActivePhysicalId()
96 result_metadata->Set(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_ID, in UpdateActivePhysicalId()
112 ->result_metadata); in InitializeLogicalResult()
118 UpdateActivePhysicalId(ret->result_metadata.get(), current_physical_camera_); in InitializeLogicalResult()
DEmulatedSensor.cpp733 (current_result_->result_metadata.get() != nullptr)) { in Flush()
811 next_result->result_metadata->Get(ANDROID_SENSOR_TIMESTAMP, &entry); in threadLoop()
818 ret = next_result->result_metadata->Get(ANDROID_SENSOR_EXPOSURE_TIME, in threadLoop()
1087 jpeg_job->result_metadata = in threadLoop()
1088 HalCameraMetadata::Clone(next_result->result_metadata.get()); in threadLoop()
1221 (result.get() != nullptr) && (result->result_metadata.get() != nullptr)) { in ReturnResults()
1234 result->result_metadata->Set(ANDROID_SENSOR_TIMESTAMP, &next_capture_time_, in ReturnResults()
1245 result->result_metadata->Set(ANDROID_SENSOR_RAW_BINNING_FACTOR_USED, in ReturnResults()
1249 result->result_metadata->Set( in ReturnResults()
1254 result->result_metadata->Set( in ReturnResults()
[all …]
DJpegCompressor.h63 std::unique_ptr<HalCameraMetadata> result_metadata; member
DEmulatedLogicalRequestState.h107 static void UpdateActivePhysicalId(HalCameraMetadata* result_metadata,
DJpegCompressor.cpp241 (job->result_metadata.get() != nullptr)) { in CompressYUV420()
248 auto ret = job->result_metadata->Get(ANDROID_JPEG_THUMBNAIL_SIZE, &entry); in CompressYUV420()
281 *job->result_metadata, job->input->width, job->input->height)) { in CompressYUV420()
/hardware/google/camera/common/hal/utils/
Dhdrplus_result_processor.cc110 if (result->result_metadata) { in ProcessResult()
111 res = hal_utils::SetEnableZslMetadata(result->result_metadata.get(), true); in ProcessResult()
Dzoom_ratio_mapper.cc161 if (result->result_metadata != nullptr) { in UpdateCaptureResult()
163 *result->result_metadata, /*is_physical*/ false, camera_id_); in UpdateCaptureResult()
164 ApplyZoomRatio(active_array_dimension, false, result->result_metadata.get()); in UpdateCaptureResult()
Dhal_utils.cc107 capture_result->result_metadata = std::move(hwl_result->result_metadata); in ConvertToCaptureResult()
726 ALOGI("== has_metadata:%d", result.result->result_metadata != nullptr); in DumpCaptureResult()
741 ALOGI("== has_metadata:%d", result.result_metadata != nullptr); in DumpCaptureResult()
Dmulticam_realtime_process_block.cc436 if (hwl_result->result_metadata == nullptr && in NotifyHwlPipelineResult()
454 capture_result->result_metadata.get()); in NotifyHwlPipelineResult()
Dresult_dispatcher.cc217 if (result->result_metadata != nullptr) { in AddResult()
218 res = AddResultMetadata(frame_number, std::move(result->result_metadata), in AddResult()
318 result->result_metadata = std::move(metadata); in NotifyResultMetadata()
/hardware/google/camera/common/hal/tests/
Dresult_dispatcher_tests.cc40 std::unique_ptr<HalCameraMetadata> result_metadata; member
99 if (new_result->result_metadata != nullptr) { in ProcessCaptureResult()
104 metadata.result_metadata = std::move(new_result->result_metadata); in ProcessCaptureResult()
350 result->result_metadata = HalCameraMetadata::Create(kNumEntries, kDataBytes); in TEST_F()
Dcamera_device_session_tests.cc172 result->frame_number, result->result_metadata.get()); in ProcessCaptureResult()
175 if (result->result_metadata != nullptr) { in ProcessCaptureResult()
177 ASSERT_NE(pending_result->second->result_metadata, nullptr); in ProcessCaptureResult()
178 pending_result->second->result_metadata = in ProcessCaptureResult()
179 std::move(result->result_metadata); in ProcessCaptureResult()
233 if (result->second->result_metadata == nullptr) { in IsResultReceivedLocked()
/hardware/google/camera/common/hal/common/
Dhal_types.h298 std::unique_ptr<HalCameraMetadata> result_metadata; member

12