Home
last modified time | relevance | path

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

12

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedRequestState.cpp892 result->result_metadata = HalCameraMetadata::Create(0, 0); in InitializePartialResult()
907 result->result_metadata = HalCameraMetadata::Clone(request_settings_.get()); in InitializeResult()
911 result->result_metadata->Set(ANDROID_REQUEST_PIPELINE_DEPTH, in InitializeResult()
913 result->result_metadata->Set(ANDROID_CONTROL_MODE, &info.control_mode_, 1); in InitializeResult()
914 result->result_metadata->Set(ANDROID_SENSOR_PIXEL_MODE, in InitializeResult()
917 result->result_metadata->Set(ANDROID_CONTROL_AF_MODE, &info.af_mode_, 1); in InitializeResult()
918 result->result_metadata->Set(ANDROID_CONTROL_AF_STATE, &info.af_state_, 1); in InitializeResult()
919 result->result_metadata->Set(ANDROID_CONTROL_AWB_MODE, &info.awb_mode_, 1); in InitializeResult()
920 result->result_metadata->Set(ANDROID_CONTROL_AWB_STATE, &info.awb_state_, 1); in InitializeResult()
921 result->result_metadata->Set(ANDROID_CONTROL_AE_MODE, &info.ae_mode_, 1); in InitializeResult()
[all …]
DEmulatedLogicalRequestState.cpp86 HalCameraMetadata* result_metadata, uint32_t device_id) { in UpdateActivePhysicalId() argument
87 if (result_metadata == nullptr) { in UpdateActivePhysicalId()
97 result_metadata->Set(ANDROID_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_ID, in UpdateActivePhysicalId()
119 ->result_metadata); in InitializeLogicalResult()
125 UpdateActivePhysicalId(ret->result_metadata.get(), current_physical_camera_); in InitializeLogicalResult()
132 if ((ret->result_metadata->Get(ANDROID_LENS_INTRINSIC_CALIBRATION, in InitializeLogicalResult()
138 ret->result_metadata->Set(ANDROID_LENS_INTRINSIC_CALIBRATION, in InitializeLogicalResult()
DEmulatedSensor.cpp738 (current_result_->result_metadata.get() != nullptr)) { in Flush()
831 next_result->result_metadata->Get(ANDROID_SENSOR_TIMESTAMP, &entry); in threadLoop()
838 ret = next_result->result_metadata->Get(ANDROID_SENSOR_EXPOSURE_TIME, in threadLoop()
1106 jpeg_job->result_metadata = in threadLoop()
1107 HalCameraMetadata::Clone(next_result->result_metadata.get()); in threadLoop()
1238 (result.get() != nullptr) && (result->result_metadata.get() != nullptr)) { in ReturnResults()
1251 result->result_metadata->Set(ANDROID_SENSOR_TIMESTAMP, &next_capture_time_, in ReturnResults()
1255 auto lensRet = result->result_metadata->Get( in ReturnResults()
1258 result->result_metadata->Set(ANDROID_STATISTICS_LENS_INTRINSIC_TIMESTAMPS, in ReturnResults()
1271 result->result_metadata->Set(ANDROID_SENSOR_RAW_BINNING_FACTOR_USED, 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/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.cc210 if (result->result_metadata) { in ProcessResult()
211 result->result_metadata->Erase(ANDROID_CONTROL_ENABLE_ZSL); in ProcessResult()
214 stream_id_, result->frame_number, result->result_metadata.get(), in ProcessResult()
222 hal_utils::SetEnableZslMetadata(result->result_metadata.get(), false); in ProcessResult()
230 result->result_metadata.get()); in ProcessResult()
238 result->result_metadata.get()); in ProcessResult()
249 if (returned_output && result->result_metadata == nullptr && in ProcessResult()
Ddual_ir_result_request_processor.cc180 result->result_metadata = std::move(pending_result_metadata.metadata); in TrySendingResultMetadataLocked()
197 std::unique_ptr<HalCameraMetadata> result_metadata) { in ProcessResultMetadata() argument
218 if (OK != result_metadata->Set( in ProcessResultMetadata()
227 pending_result_metadata.metadata = std::move(result_metadata); in ProcessResultMetadata()
248 physical_metadata_iter->second = std::move(result_metadata); in ProcessResultMetadata()
276 if (result->result_metadata != nullptr) { in ProcessResult()
278 std::move(result->result_metadata)); in ProcessResult()
Dsnapshot_result_processor.cc110 if (result->result_metadata) { in ProcessResult()
111 res = hal_utils::SetEnableZslMetadata(result->result_metadata.get(), true); in ProcessResult()
Drgbird_result_request_processor.cc289 if (result->result_metadata) { in ProcessResultForHdrplus()
291 rgb_raw_stream_id_, result->frame_number, result->result_metadata.get()); in ProcessResultForHdrplus()
297 result->result_metadata.get()); in ProcessResultForHdrplus()
305 result->result_metadata.get()); in ProcessResultForHdrplus()
555 if (result->result_metadata != nullptr && request_id == kRgbCameraId) { in TrySubmitDepthProcessBlockRequest()
586 HalCameraMetadata::Clone(result->result_metadata.get()); in TrySubmitDepthProcessBlockRequest()
634 if (result->result_metadata) { in ProcessResult()
635 res = hal_utils::SetEnableZslMetadata(result->result_metadata.get(), false); in ProcessResult()
643 if (has_internal_stream_buffer && result->result_metadata == nullptr && in ProcessResult()
Ddual_ir_result_request_processor.h114 std::unique_ptr<HalCameraMetadata> result_metadata);
Ddual_ir_depth_result_processor.cc91 if (result->result_metadata != nullptr) { in ProcessResult()
Drgbird_depth_result_processor.cc91 if (result->result_metadata != nullptr) { in ProcessResult()
Dhdrplus_capture_session.cc616 if (result->result_metadata && hdr_mode_ != HdrMode::kHdrplusMode) { in ProcessCaptureResult()
617 device_session_hwl_->FilterResultMetadata(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.h69 std::unique_ptr<HalCameraMetadata> result_metadata; member
/hardware/google/camera/common/hal/utils/
Dhdrplus_result_processor.cc111 if (result->result_metadata) { in ProcessResult()
112 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()
Dresult_dispatcher.cc222 if (result->result_metadata != nullptr) { in AddResultImpl()
223 res = AddResultMetadata(frame_number, std::move(result->result_metadata), in AddResultImpl()
350 result->result_metadata = std::move(metadata); in MakeResultMetadata()
613 if (result->result_metadata != nullptr && in NotifyBatchPartialResultMetadata()
619 result->frame_number, std::move(result->result_metadata), in NotifyBatchPartialResultMetadata()
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()
/hardware/google/camera/common/hal/tests/
Dresult_dispatcher_tests.cc40 std::unique_ptr<HalCameraMetadata> result_metadata; member
100 if (new_result->result_metadata != nullptr) { in ProcessCaptureResult()
105 metadata.result_metadata = std::move(new_result->result_metadata); in ProcessCaptureResult()
351 result->result_metadata = HalCameraMetadata::Create(kNumEntries, kDataBytes); in TEST_F()
Dcamera_device_session_tests.cc172 if (result->result_metadata != nullptr) { in ProcessCaptureResult()
174 pending_result->second->result_metadata = in ProcessCaptureResult()
175 std::move(result->result_metadata); in ProcessCaptureResult()
239 if (result->second->result_metadata == nullptr) { in IsResultReceivedLocked()

12