/drivers/peripheral/camera/test/ut/v4l2/ |
D | usb_camera_3a_test.cpp | 151 const uint32_t itemCapacity = 100; in RunCamera3AWithCapture() local 154 itemCapacity, dataCapacity); in RunCamera3AWithCapture() 202 const uint32_t itemCapacity = 100; in RunCamera3AWithVideo() local 205 itemCapacity, dataCapacity); in RunCamera3AWithVideo() 272 const uint32_t itemCapacity = 100; in TEST_F() local 274 … std::shared_ptr<CameraSetting> meta = std::make_shared<CameraSetting>(itemCapacity, dataCapacity); in TEST_F() 315 const uint32_t itemCapacity = 100; in TEST_F() local 318 itemCapacity, dataCapacity); in TEST_F() 374 const uint32_t itemCapacity = 100; in TEST_F() local 376 … std::shared_ptr<CameraSetting> meta = std::make_shared<CameraSetting>(itemCapacity, dataCapacity); in TEST_F() [all …]
|
D | camera_vendor_tag_test.cpp | 182 const uint32_t itemCapacity = 100; in TEST_F() local 185 itemCapacity, dataCapacity); in TEST_F()
|
/drivers/interface/camera/metadata/src/ |
D | metadata_utils.cpp | 84 uint32_t itemCapacity = GetCameraMetadataItemCapacity(meta); in ConvertMetadataToVec() local 85 if (itemCapacity > MAX_ITEM_CAPACITY) { in ConvertMetadataToVec() 86 …TADATA_ERR_LOG("MetadataUtils::ConvertMetadataToVec: itemCapacity out of range: %u", itemCapacity); in ConvertMetadataToVec() 97 WriteData<uint32_t>(itemCapacity, cameraAbility); in ConvertMetadataToVec() 266 uint32_t itemCapacity = 0; in ConvertVecToMetadata() local 274 ReadData<uint32_t>(itemCapacity, index, cameraAbility); in ConvertVecToMetadata() 275 if (itemCapacity > MAX_ITEM_CAPACITY) { in ConvertVecToMetadata() 276 …TADATA_ERR_LOG("MetadataUtils::ConvertVecToMetadata: itemCapacity out of range: %u", itemCapacity); in ConvertVecToMetadata() 300 metadata = std::make_shared<CameraMetadata>(itemCapacity, dataCapacity); in ConvertVecToMetadata() 313 uint32_t itemCapacity = data.ReadUint32(); in DecodeCameraMetadata() local [all …]
|
D | camera_metadata_operator.cpp | 30 uint32_t itemCapacity, uint32_t dataCapacity) in FillCameraMetadata() argument 32 return CameraMetadata::FillCameraMetadata(buffer, memoryRequired, itemCapacity, dataCapacity); in FillCameraMetadata()
|
D | camera_metadata_info.cpp | 262 CameraMetadata::CameraMetadata(size_t itemCapacity, size_t dataCapacity) in CameraMetadata() argument 264 metadata_ = AllocateCameraMetadataBuffer(itemCapacity, AlignTo(dataCapacity, DATA_ALIGNMENT)); in CameraMetadata() 305 auto itemCapacity = GetCameraMetadataItemCapacity(metadata_); in resize_add_metadata() local 315 …common_metadata_header_t *newMetadata = AllocateCameraMetadataBuffer((itemCapacity + 1) * INDEX_CO… in resize_add_metadata() 421 uint32_t itemCapacity, uint32_t dataCapacity) in FillCameraMetadata() argument 433 metadataHeader->item_capacity = itemCapacity; in FillCameraMetadata()
|
/drivers/interface/camera/metadata/include/ |
D | camera_metadata_info.h | 35 CameraMetadata(size_t itemCapacity, size_t dataCapacity); 115 uint32_t itemCapacity, uint32_t dataCapacity);
|
D | camera_metadata_operator.h | 207 uint32_t itemCapacity, uint32_t dataCapacity);
|
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/ |
D | utils_data_stub.cpp | 181 uint32_t itemCapacity = 0; in ConvertVecToMetadata() local 189 ReadData<uint32_t>(itemCapacity, index, cameraAbility); in ConvertVecToMetadata() 190 if (itemCapacity > MAX_ITEM_CAPACITY) { in ConvertVecToMetadata() 191 itemCapacity = MAX_ITEM_CAPACITY; in ConvertVecToMetadata() 215 metadata = std::make_shared<CameraMetadata>(itemCapacity, dataCapacity); in ConvertVecToMetadata()
|
/drivers/peripheral/distributed_camera/hdi_service/include/dcamera_device/ |
D | dmetadata_processor.h | 62 …void ResizeMetadataHeader(common_metadata_header_t *&header, uint32_t itemCapacity, uint32_t dataC…
|
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/ |
D | dmetadata_processor.cpp | 657 uint32_t itemCapacity, uint32_t dataCapacity) in ResizeMetadataHeader() argument 662 header = OHOS::Camera::AllocateCameraMetadataBuffer(itemCapacity, dataCapacity); in ResizeMetadataHeader()
|