Home
last modified time | relevance | path

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

/drivers/peripheral/camera/test/ut/v4l2/
Dusb_camera_3a_test.cpp151 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 …]
Dcamera_vendor_tag_test.cpp182 const uint32_t itemCapacity = 100; in TEST_F() local
185 itemCapacity, dataCapacity); in TEST_F()
/drivers/interface/camera/metadata/src/
Dmetadata_utils.cpp84 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 …]
Dcamera_metadata_operator.cpp30 uint32_t itemCapacity, uint32_t dataCapacity) in FillCameraMetadata() argument
32 return CameraMetadata::FillCameraMetadata(buffer, memoryRequired, itemCapacity, dataCapacity); in FillCameraMetadata()
Dcamera_metadata_info.cpp262 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/
Dcamera_metadata_info.h35 CameraMetadata(size_t itemCapacity, size_t dataCapacity);
115 uint32_t itemCapacity, uint32_t dataCapacity);
Dcamera_metadata_operator.h207 uint32_t itemCapacity, uint32_t dataCapacity);
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/
Dutils_data_stub.cpp181 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/
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.cpp657 uint32_t itemCapacity, uint32_t dataCapacity) in ResizeMetadataHeader() argument
662 header = OHOS::Camera::AllocateCameraMetadataBuffer(itemCapacity, dataCapacity); in ResizeMetadataHeader()