/hardware/google/camera/common/hal/tests/ |
D | hal_camera_metadata_tests.cc | 36 auto hal_metadata = HalCameraMetadata::Create(kNumEntries, kDataBytes); in TEST() local 37 ASSERT_NE(hal_metadata, nullptr) << "Creating hal_metadata failed."; in TEST() 46 auto hal_metadata = HalCameraMetadata::Create(metadata); in TEST() local 47 ASSERT_NE(hal_metadata, nullptr) << "Creating hal_metadata failed."; in TEST() 59 auto hal_metadata = HalCameraMetadata::Create(kNumEntries, kDataBytes); in TEST() local 60 ASSERT_NE(hal_metadata, nullptr) << "Creating hal_metadata failed."; in TEST() 63 ASSERT_GE(hal_metadata->GetCameraMetadataSize(), kDataBytes); in TEST() 67 auto hal_metadata = HalCameraMetadata::Create(kNumEntries, kDataBytes); in TEST() local 68 ASSERT_NE(hal_metadata, nullptr) << "Creating hal_metadata failed."; in TEST() 70 camera_metadata_t* metadata = hal_metadata->ReleaseCameraMetadata(); in TEST() [all …]
|
D | vendor_tag_tests.cc | 35 auto hal_metadata = HalCameraMetadata::Create(kNumEntries, kDataBytes); in TEST() local 36 ASSERT_NE(hal_metadata, nullptr) << "Creating hal_metadata failed."; in TEST() 40 status_t res = hal_metadata->Set( in TEST() 45 res = hal_metadata->Set(ANDROID_REQUEST_AVAILABLE_RESULT_KEYS, in TEST() 50 res = hal_metadata->Set(ANDROID_REQUEST_AVAILABLE_SESSION_KEYS, in TEST() 55 res = hal_metadata->Set(ANDROID_REQUEST_AVAILABLE_CHARACTERISTICS_KEYS, in TEST() 60 res = hal_vendor_tag_utils::ModifyCharacteristicsKeys(hal_metadata.get()); in TEST() 76 auto hal_metadata = HalCameraMetadata::Create(kNumEntries, kDataBytes); in TEST() local 77 ASSERT_NE(hal_metadata, nullptr) << "Creating hal_metadata failed."; in TEST() 80 request_template, hal_metadata.get()); in TEST()
|
D | zsl_buffer_manager_tests.cc | 38 static void SetMetadata(std::unique_ptr<HalCameraMetadata>& hal_metadata) { in SetMetadata() argument 45 hal_metadata->Set(ANDROID_SENSOR_TIMESTAMP, &buffer_timestamp, 1); in SetMetadata()
|
D | internal_stream_manager_tests.cc | 85 static void SetMetadata(std::unique_ptr<HalCameraMetadata>& hal_metadata) { in SetMetadata() argument 92 hal_metadata->Set(ANDROID_SENSOR_TIMESTAMP, &buffer_timestamp, 1); in SetMetadata()
|
/hardware/google/camera/common/hal/utils/ |
D | hal_camera_metadata.cc | 37 auto hal_metadata = in Create() local 39 if (hal_metadata == nullptr) { in Create() 44 return hal_metadata; in Create() 56 auto hal_metadata = Create(metadata); in Create() local 57 if (hal_metadata == nullptr) { in Create() 62 return hal_metadata; in Create() 78 auto hal_metadata = Create(cloned_metadata); in Clone() local 79 if (hal_metadata == nullptr) { in Clone() 84 return hal_metadata; in Clone() 88 const HalCameraMetadata* hal_metadata) { in Clone() argument [all …]
|
D | hal_camera_metadata.h | 65 const HalCameraMetadata* hal_metadata); 121 status_t Append(std::unique_ptr<HalCameraMetadata> hal_metadata);
|
/hardware/google/camera/common/hal/aidl_service/ |
D | aidl_utils.cc | 257 std::unique_ptr<google_camera_hal::HalCameraMetadata> hal_metadata, in TryWritingToResultMetadataQueue() argument 266 *out_hal_metadata = std::move(hal_metadata); in TryWritingToResultMetadataQueue() 296 std::unique_ptr<google_camera_hal::HalCameraMetadata> hal_metadata, in ConvertToAidlResultMetadata() argument 298 if (TryWritingToResultMetadataQueue(std::move(hal_metadata), in ConvertToAidlResultMetadata() 300 &hal_metadata) == OK) { in ConvertToAidlResultMetadata() 310 uint32_t metadata_size = hal_metadata->GetCameraMetadataSize(); in ConvertToAidlResultMetadata() 312 reinterpret_cast<const uint8_t*>(hal_metadata->GetRawCameraMetadata()); in ConvertToAidlResultMetadata() 709 std::unique_ptr<google_camera_hal::HalCameraMetadata>* hal_metadata) { in ConvertToHalMetadata() argument 710 if (hal_metadata == nullptr) { in ConvertToHalMetadata() 775 *hal_metadata = nullptr; in ConvertToHalMetadata() [all …]
|
D | aidl_utils.h | 154 std::unique_ptr<google_camera_hal::HalCameraMetadata>* hal_metadata);
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 12908 metadata_buffer_t *hal_metadata) in setHalFpsRange() argument 12965 if (ADD_SET_PARAM_ENTRY_TO_BATCH(hal_metadata, CAM_INTF_PARM_HFR, hfrMode)) { in setHalFpsRange() 12989 if (ADD_SET_PARAM_ENTRY_TO_BATCH(hal_metadata, CAM_INTF_PARM_HFR, hfrMode)) { in setHalFpsRange() 12993 if (ADD_SET_PARAM_ENTRY_TO_BATCH(hal_metadata, CAM_INTF_PARM_FPS_RANGE, fps_range)) { in setHalFpsRange() 13017 metadata_buffer_t *hal_metadata, in translateToHalMetadata() argument 13019 if (request == nullptr || hal_metadata == nullptr) { in translateToHalMetadata() 13025 return translateFwkMetadataToHalMetadata(request->settings, hal_metadata, snapshotStreamId, in translateToHalMetadata() 13030 const camera_metadata_t *frameworkMetadata, metadata_buffer_t *hal_metadata, in translateFwkMetadataToHalMetadata() argument 13048 if (ADD_SET_PARAM_ENTRY_TO_BATCH(hal_metadata, CAM_INTF_META_MODE, metaMode)) { in translateFwkMetadataToHalMetadata() 13051 rc = extractSceneMode(frame_settings, metaMode, hal_metadata); in translateFwkMetadataToHalMetadata() [all …]
|
D | QCamera3HWI.h | 322 metadata_buffer_t *hal_metadata, uint32_t snapshotStreamId, int64_t minFrameDuration); 493 metadata_buffer_t *hal_metadata); 495 metadata_buffer_t *hal_metadata); 496 int32_t setVideoHdrMode(metadata_buffer_t *hal_metadata, 531 int32_t setSensorHDR(metadata_buffer_t *hal_metadata, bool enable,
|