Home
last modified time | relevance | path

Searched refs:data_capacity (Results 1 – 4 of 4) sorted by relevance

/drivers/interface/camera/metadata/src/
Dcamera_metadata_info.cpp65 auto data_capacity = GetCameraMetadataDataSize(metadata_); in resize_add_metadata() local
75 AlignTo((data_capacity + size) * INDEX_COUNTER, DATA_ALIGNMENT)); in resize_add_metadata()
Dcamera_metadata_operator.cpp212 metadataHeader->data_capacity = dataCapacity; in FillCameraMetadata()
238 …mon_metadata_header_t *AllocateCameraMetadataBuffer(uint32_t item_capacity, uint32_t data_capacity) in AllocateCameraMetadataBuffer() argument
242 item_capacity, data_capacity); in AllocateCameraMetadataBuffer()
243 size_t memoryRequired = CalculateCameraMetadataMemoryRequired(item_capacity, data_capacity); in AllocateCameraMetadataBuffer()
252 item_capacity, data_capacity); in AllocateCameraMetadataBuffer()
387 if (dataBytes + dst->data_count > dst->data_capacity) { in AddCameraMetadataItem()
412 …ret = memcpy_s(GetMetadataData(dst) + metadataItem->data.offset, dst->data_capacity - dst->data_co… in AddCameraMetadataItem()
563 if (dst->data_capacity < (dst->data_count + dataSize - oldItemSize)) { in UpdateCameraMetadataItemByIndex()
732 return metadataHeader->data_capacity; in GetCameraMetadataDataSize()
Dmetadata_utils.cpp424 = std::make_shared<CameraMetadata>(header.item_capacity, header.data_capacity); in DecodeFromString()
/drivers/interface/camera/metadata/include/
Dcamera_metadata_operator.h83 uint32_t data_capacity; member
155 …on_metadata_header_t *AllocateCameraMetadataBuffer(uint32_t item_capacity, uint32_t data_capacity);