Home
last modified time | relevance | path

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

12

/hardware/google/camera/common/hal/google_camera_hal/
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()
Dzsl_snapshot_capture_session.cc731 if (result->result_metadata) { in ProcessCaptureResult()
733 result->result_metadata.get()); in ProcessCaptureResult()
/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.h63 std::unique_ptr<HalCameraMetadata> result_metadata; member
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedRequestState.cpp846 result->result_metadata = HalCameraMetadata::Clone(request_settings_.get()); in InitializeResult()
850 result->result_metadata->Set(ANDROID_REQUEST_PIPELINE_DEPTH, in InitializeResult()
852 result->result_metadata->Set(ANDROID_CONTROL_MODE, &control_mode_, 1); in InitializeResult()
853 result->result_metadata->Set(ANDROID_SENSOR_PIXEL_MODE, &sensor_pixel_mode_, in InitializeResult()
856 result->result_metadata->Set(ANDROID_CONTROL_AF_MODE, &af_mode_, 1); in InitializeResult()
857 result->result_metadata->Set(ANDROID_CONTROL_AF_STATE, &af_state_, 1); in InitializeResult()
858 result->result_metadata->Set(ANDROID_CONTROL_AWB_MODE, &awb_mode_, 1); in InitializeResult()
859 result->result_metadata->Set(ANDROID_CONTROL_AWB_STATE, &awb_state_, 1); in InitializeResult()
860 result->result_metadata->Set(ANDROID_CONTROL_AE_MODE, &ae_mode_, 1); in InitializeResult()
861 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.cpp581 (current_result_->result_metadata.get() != nullptr)) { in Flush()
656 next_result->result_metadata->Get(ANDROID_SENSOR_TIMESTAMP, &entry); in threadLoop()
891 jpeg_job->result_metadata = in threadLoop()
892 HalCameraMetadata::Clone(next_result->result_metadata.get()); in threadLoop()
1028 (result.get() != nullptr) && (result->result_metadata.get() != nullptr)) { in ReturnResults()
1041 result->result_metadata->Set(ANDROID_SENSOR_TIMESTAMP, &next_capture_time_, in ReturnResults()
1052 result->result_metadata->Set(ANDROID_SENSOR_RAW_BINNING_FACTOR_USED, in ReturnResults()
1065 result->result_metadata->Set(ANDROID_STATISTICS_LENS_SHADING_MAP, in ReturnResults()
1071 result->result_metadata->Set(ANDROID_CONTROL_VIDEO_STABILIZATION_MODE, in ReturnResults()
1075 result->result_metadata->Set(ANDROID_EDGE_MODE, in ReturnResults()
[all …]
DJpegCompressor.h64 std::unique_ptr<HalCameraMetadata> result_metadata; member
DEmulatedLogicalRequestState.h104 static void UpdateActivePhysicalId(HalCameraMetadata* result_metadata,
DJpegCompressor.cpp113 (job->result_metadata.get() != nullptr)) { in CompressYUV420()
120 auto ret = job->result_metadata->Get(ANDROID_JPEG_THUMBNAIL_SIZE, &entry); in CompressYUV420()
153 *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.cc110 if (result->result_metadata != nullptr) { in UpdateCaptureResult()
115 camera_id_, result->result_metadata.get(), &override_dimension)) { in UpdateCaptureResult()
119 result->result_metadata.get()); in UpdateCaptureResult()
Dresult_dispatcher.cc203 if (result->result_metadata != nullptr) { in AddResult()
204 res = AddResultMetadata(frame_number, std::move(result->result_metadata), in AddResult()
301 result->result_metadata = std::move(metadata); in NotifyResultMetadata()
Dhal_utils.cc102 capture_result->result_metadata = std::move(hwl_result->result_metadata); in ConvertToCaptureResult()
721 ALOGI("== has_metadata:%d", result.result->result_metadata != nullptr); in DumpCaptureResult()
736 ALOGI("== has_metadata:%d", result.result_metadata != nullptr); in DumpCaptureResult()
Dmulticam_realtime_process_block.cc442 if (hwl_result->result_metadata == nullptr && in NotifyHwlPipelineResult()
460 capture_result->result_metadata.get()); in NotifyHwlPipelineResult()
/hardware/google/camera/common/hal/tests/
Dresult_dispatcher_tests.cc40 std::unique_ptr<HalCameraMetadata> result_metadata; member
97 if (new_result->result_metadata != nullptr) { in ProcessCaptureResult()
102 metadata.result_metadata = std::move(new_result->result_metadata); in ProcessCaptureResult()
345 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.h284 std::unique_ptr<HalCameraMetadata> result_metadata; member

12