Searched refs:itemCapacity (Results 1 – 8 of 8) sorted by relevance
/drivers/interface/camera/metadata/src/ |
D | camera_metadata_info.cpp | 21 CameraMetadata::CameraMetadata(size_t itemCapacity, size_t dataCapacity) in CameraMetadata() argument 23 metadata_ = AllocateCameraMetadataBuffer(itemCapacity, AlignTo(dataCapacity, DATA_ALIGNMENT)); in CameraMetadata() 64 auto itemCapacity = GetCameraMetadataItemCapacity(metadata_); in resize_add_metadata() local 74 …common_metadata_header_t *newMetadata = AllocateCameraMetadataBuffer((itemCapacity + 1) * INDEX_CO… in resize_add_metadata()
|
D | metadata_utils.cpp | 83 uint32_t itemCapacity = GetCameraMetadataItemCapacity(meta); in ConvertMetadataToVec() local 84 if (itemCapacity > MAX_ITEM_CAPACITY) { in ConvertMetadataToVec() 85 …TADATA_ERR_LOG("MetadataUtils::ConvertMetadataToVec: itemCapacity out of range: %u", itemCapacity); in ConvertMetadataToVec() 96 WriteData<uint32_t>(itemCapacity, cameraAbility); in ConvertMetadataToVec() 208 uint32_t itemCapacity = 0; in ConvertVecToMetadata() local 216 ReadData<uint32_t>(itemCapacity, index, cameraAbility); in ConvertVecToMetadata() 217 if (itemCapacity > MAX_ITEM_CAPACITY) { in ConvertVecToMetadata() 218 …TADATA_ERR_LOG("MetadataUtils::ConvertVecToMetadata: itemCapacity out of range: %u", itemCapacity); in ConvertVecToMetadata() 242 metadata = std::make_shared<CameraMetadata>(itemCapacity, dataCapacity); in ConvertVecToMetadata() 255 uint32_t itemCapacity = data.ReadUint32(); in DecodeCameraMetadata() local [all …]
|
D | camera_metadata_operator.cpp | 197 uint32_t itemCapacity, uint32_t dataCapacity) in FillCameraMetadata() argument 209 metadataHeader->item_capacity = itemCapacity; in FillCameraMetadata()
|
/drivers/interface/camera/metadata/include/ |
D | camera_metadata_info.h | 26 CameraMetadata(size_t itemCapacity, size_t dataCapacity);
|
D | camera_metadata_operator.h | 201 uint32_t itemCapacity, uint32_t dataCapacity);
|
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/ |
D | utils_data_stub.cpp | 176 uint32_t itemCapacity = 0; in ConvertVecToMetadata() local 188 ReadData<uint32_t>(itemCapacity, index, cameraAbility); in ConvertVecToMetadata() 189 if (itemCapacity > MAX_ITEM_CAPACITY) { in ConvertVecToMetadata() 190 itemCapacity = MAX_ITEM_CAPACITY; in ConvertVecToMetadata() 214 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 | 496 uint32_t itemCapacity, uint32_t dataCapacity) in ResizeMetadataHeader() argument 501 header = OHOS::Camera::AllocateCameraMetadataBuffer(itemCapacity, dataCapacity); in ResizeMetadataHeader()
|