Home
last modified time | relevance | path

Searched refs:hal_metadata (Results 1 – 10 of 10) sorted by relevance

/hardware/google/camera/common/hal/tests/
Dhal_camera_metadata_tests.cc36 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 …]
Dvendor_tag_tests.cc35 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()
Dzsl_buffer_manager_tests.cc38 static void SetMetadata(std::unique_ptr<HalCameraMetadata>& hal_metadata) { in SetMetadata() argument
45 hal_metadata->Set(ANDROID_SENSOR_TIMESTAMP, &buffer_timestamp, 1); in SetMetadata()
Dinternal_stream_manager_tests.cc85 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/
Dhal_camera_metadata.cc37 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 …]
Dhal_camera_metadata.h65 const HalCameraMetadata* hal_metadata);
121 status_t Append(std::unique_ptr<HalCameraMetadata> hal_metadata);
/hardware/google/camera/common/hal/aidl_service/
Daidl_utils.cc257 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 …]
Daidl_utils.h154 std::unique_ptr<google_camera_hal::HalCameraMetadata>* hal_metadata);
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp12908 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 …]
DQCamera3HWI.h322 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,