Home
last modified time | relevance | path

Searched refs:dataCapacity (Results 1 – 16 of 16) sorted by relevance

/drivers/peripheral/camera/test/ut/v4l2/
Dusb_camera_3a_test.cpp152 const uint32_t dataCapacity = 2000; in RunCamera3AWithCapture() local
154 itemCapacity, dataCapacity); in RunCamera3AWithCapture()
203 const uint32_t dataCapacity = 2000; in RunCamera3AWithVideo() local
205 itemCapacity, dataCapacity); in RunCamera3AWithVideo()
273 const uint32_t dataCapacity = 2000; in TEST_F() local
274 … std::shared_ptr<CameraSetting> meta = std::make_shared<CameraSetting>(itemCapacity, dataCapacity); in TEST_F()
316 const uint32_t dataCapacity = 2000; in TEST_F() local
318 itemCapacity, dataCapacity); in TEST_F()
375 const uint32_t dataCapacity = 2000; in TEST_F() local
376 … std::shared_ptr<CameraSetting> meta = std::make_shared<CameraSetting>(itemCapacity, dataCapacity); in TEST_F()
[all …]
Dhdfcamera_facedetect.cpp58 constexpr size_t dataCapacity = 2000; variable
60 std::make_shared<CameraSetting>(entryCapacity, dataCapacity);
Dcamera_vendor_tag_test.cpp183 const uint32_t dataCapacity = 2000; in TEST_F() local
185 itemCapacity, dataCapacity); in TEST_F()
Ddouble_preview_test.cpp218 constexpr size_t dataCapacity = 2000; variable
220 std::make_shared<CameraSetting>(entryCapacity, dataCapacity);
Dcamera_video_test.cpp587 constexpr size_t dataCapacity = 2000; variable
589 std::make_shared<CameraSetting>(entryCapacity, dataCapacity);
/drivers/interface/camera/metadata/src/
Dmetadata_utils.cpp90 uint32_t dataCapacity = GetCameraMetadataDataSize(meta); in ConvertMetadataToVec() local
91 if (dataCapacity > MAX_DATA_CAPACITY) { in ConvertMetadataToVec()
92 …TADATA_ERR_LOG("MetadataUtils::ConvertMetadataToVec: dataCapacity out of range: %u", dataCapacity); in ConvertMetadataToVec()
98 WriteData<uint32_t>(dataCapacity, cameraAbility); in ConvertMetadataToVec()
267 uint32_t dataCapacity = 0; in ConvertVecToMetadata() local
279 ReadData<uint32_t>(dataCapacity, index, cameraAbility); in ConvertVecToMetadata()
280 if (dataCapacity > MAX_DATA_CAPACITY) { in ConvertVecToMetadata()
281 …TADATA_ERR_LOG("MetadataUtils::ConvertVecToMetadata: dataCapacity out of range: %u", dataCapacity); in ConvertVecToMetadata()
300 metadata = std::make_shared<CameraMetadata>(itemCapacity, dataCapacity); in ConvertVecToMetadata()
314 uint32_t dataCapacity = 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()
421 uint32_t itemCapacity, uint32_t dataCapacity) in FillCameraMetadata() argument
436 metadataHeader->data_capacity = dataCapacity; in FillCameraMetadata()
/drivers/peripheral/camera/test/demo_3A/
Dohos_camera_demo_3a.cpp93 constexpr size_t dataCapacity = 2000; in CaptureON() local
94 captureSetting_ = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in CaptureON()
663 constexpr size_t dataCapacity = 2000; in SetAwbMode() local
665 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetAwbMode()
695 constexpr size_t dataCapacity = 2000; in SetAfAuto() local
697 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetAfAuto()
726 constexpr size_t dataCapacity = 2000; in SetAeExpo() local
728 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetAeExpo()
755 constexpr size_t dataCapacity = 2000; in SetAeAuto() local
757 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetAeAuto()
[all …]
/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/test/demo/
Dohos_camera_demo.cpp98 constexpr size_t dataCapacity = 2000; in CaptureON() local
99 captureSetting_ = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in CaptureON()
666 constexpr size_t dataCapacity = 2000; in SetAwbMode() local
668 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetAwbMode()
686 constexpr size_t dataCapacity = 2000; in SetAeExpo() local
688 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetAeExpo()
708 constexpr size_t dataCapacity = 2000; in SetMetadata() local
709 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetMetadata()
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
Ddcamera_hdf_demo.cpp104 constexpr size_t dataCapacity = 2000; in CaptureON() local
105 captureSetting_ = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in CaptureON()
630 constexpr size_t dataCapacity = 2000; in SetAwbMode() local
632 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetAwbMode()
650 constexpr size_t dataCapacity = 2000; in SetAeExpo() local
652 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetAeExpo()
672 constexpr size_t dataCapacity = 2000; in SetMetadata() local
673 …:shared_ptr<CameraSetting> metaData = std::make_shared<CameraSetting>(entryCapacity, dataCapacity); in SetMetadata()
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/
Dutils_data_stub.cpp182 uint32_t dataCapacity = 0; in ConvertVecToMetadata() local
194 ReadData<uint32_t>(dataCapacity, index, cameraAbility); in ConvertVecToMetadata()
195 if (dataCapacity > MAX_DATA_CAPACITY) { in ConvertVecToMetadata()
196 dataCapacity = MAX_DATA_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 …izeMetadataHeader(common_metadata_header_t *&header, uint32_t itemCapacity, uint32_t dataCapacity);
/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()