Home
last modified time | relevance | path

Searched refs:hal_metadata (Results 1 – 9 of 9) 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/hidl_service/
Dhidl_utils.cc241 std::unique_ptr<google_camera_hal::HalCameraMetadata> hal_metadata, in TryWritingToResultMetadataQueue() argument
250 *out_hal_metadata = std::move(hal_metadata); in TryWritingToResultMetadataQueue()
280 std::unique_ptr<google_camera_hal::HalCameraMetadata> hal_metadata, in ConverToHidlResultMetadata() argument
282 if (TryWritingToResultMetadataQueue(std::move(hal_metadata), in ConverToHidlResultMetadata()
284 &hal_metadata) == OK) { in ConverToHidlResultMetadata()
294 uint32_t metadata_size = hal_metadata->GetCameraMetadataSize(); in ConverToHidlResultMetadata()
296 reinterpret_cast<uint8_t*>(hal_metadata->ReleaseCameraMetadata()), in ConverToHidlResultMetadata()
655 std::unique_ptr<google_camera_hal::HalCameraMetadata>* hal_metadata) { in ConvertToHalMetadata() argument
656 if (hal_metadata == nullptr) { in ConvertToHalMetadata()
690 *hal_metadata = nullptr; in ConvertToHalMetadata()
[all …]
Dhidl_utils.h136 std::unique_ptr<google_camera_hal::HalCameraMetadata>* hal_metadata);
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
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,