Searched refs:dataCount (Results 1 – 3 of 3) sorted by relevance
/drivers/interface/camera/metadata/src/ |
D | camera_metadata_operator.cpp | 221 size_t CalculateCameraMetadataMemoryRequired(uint32_t itemCount, uint32_t dataCount) in CalculateCameraMetadataMemoryRequired() argument 230 memoryRequired += sizeof(uint8_t[dataCount]); in CalculateCameraMetadataMemoryRequired() 336 size_t CalculateCameraMetadataItemDataSize(uint32_t type, size_t dataCount) in CalculateCameraMetadataItemDataSize() argument 344 size_t dataBytes = dataCount * OHOS_CAMERA_METADATA_TYPE_SIZE[type]; in CalculateCameraMetadataItemDataSize() 350 …ameraMetadataItem(common_metadata_header_t *dst, uint32_t item, const void *data, size_t dataCount) in AddCameraMetadataItem() argument 358 "dataCount: %{public}zu", item, name, dataCount); in AddCameraMetadataItem() 365 if (!dataCount || data == nullptr) { in AddCameraMetadataItem() 367 "dataCount: %{public}zu", item, dataCount); in AddCameraMetadataItem() 386 CalculateCameraMetadataItemDataSize(dataType, dataCount); in AddCameraMetadataItem() 393 dataCount * OHOS_CAMERA_METADATA_TYPE_SIZE[dataType]; in AddCameraMetadataItem() [all …]
|
D | camera_metadata_info.cpp | 110 bool CameraMetadata::updateEntry(uint32_t tag, const void *data, size_t dataCount) in updateEntry() argument 126 "dataCount: %{public}zu", tag, name ? name : "<unknown>", dataCount); in updateEntry() 127 ret = UpdateCameraMetadataItemByIndex(metadata_, item.index, data, dataCount, nullptr); in updateEntry()
|
/drivers/interface/camera/metadata/include/ |
D | camera_metadata_operator.h | 167 …eraMetadataItem(common_metadata_header_t *dst, uint32_t item, const void *data, uint32_t dataCount, 172 uint32_t dataCount, camera_metadata_item_t *updated_item); 175 …meraMetadataItem(common_metadata_header_t *dst, uint32_t item, const void *data, size_t dataCount);
|