Home
last modified time | relevance | path

Searched refs:itemCapacity (Results 1 – 8 of 8) sorted by relevance

/drivers/interface/camera/metadata/src/
Dcamera_metadata_info.cpp21 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()
Dmetadata_utils.cpp83 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 …]
Dcamera_metadata_operator.cpp197 uint32_t itemCapacity, uint32_t dataCapacity) in FillCameraMetadata() argument
209 metadataHeader->item_capacity = itemCapacity; in FillCameraMetadata()
/drivers/interface/camera/metadata/include/
Dcamera_metadata_info.h26 CameraMetadata(size_t itemCapacity, size_t dataCapacity);
Dcamera_metadata_operator.h201 uint32_t itemCapacity, uint32_t dataCapacity);
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/
Dutils_data_stub.cpp176 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/
Ddmetadata_processor.h62 …void ResizeMetadataHeader(common_metadata_header_t *&header, uint32_t itemCapacity, uint32_t dataC…
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
Ddmetadata_processor.cpp496 uint32_t itemCapacity, uint32_t dataCapacity) in ResizeMetadataHeader() argument
501 header = OHOS::Camera::AllocateCameraMetadataBuffer(itemCapacity, dataCapacity); in ResizeMetadataHeader()