/drivers/peripheral/camera/test/ut/v4l2/ |
D | usb_camera_3a_test.cpp | 152 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 …]
|
D | hdfcamera_facedetect.cpp | 58 constexpr size_t dataCapacity = 2000; variable 60 std::make_shared<CameraSetting>(entryCapacity, dataCapacity);
|
D | camera_vendor_tag_test.cpp | 183 const uint32_t dataCapacity = 2000; in TEST_F() local 185 itemCapacity, dataCapacity); in TEST_F()
|
D | double_preview_test.cpp | 218 constexpr size_t dataCapacity = 2000; variable 220 std::make_shared<CameraSetting>(entryCapacity, dataCapacity);
|
D | camera_video_test.cpp | 587 constexpr size_t dataCapacity = 2000; variable 589 std::make_shared<CameraSetting>(entryCapacity, dataCapacity);
|
/drivers/interface/camera/metadata/src/ |
D | metadata_utils.cpp | 90 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 …]
|
D | camera_metadata_operator.cpp | 30 uint32_t itemCapacity, uint32_t dataCapacity) in FillCameraMetadata() argument 32 return CameraMetadata::FillCameraMetadata(buffer, memoryRequired, itemCapacity, dataCapacity); in FillCameraMetadata()
|
D | camera_metadata_info.cpp | 262 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/ |
D | ohos_camera_demo_3a.cpp | 93 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/ |
D | camera_metadata_info.h | 35 CameraMetadata(size_t itemCapacity, size_t dataCapacity); 115 uint32_t itemCapacity, uint32_t dataCapacity);
|
D | camera_metadata_operator.h | 207 uint32_t itemCapacity, uint32_t dataCapacity);
|
/drivers/peripheral/camera/test/demo/ |
D | ohos_camera_demo.cpp | 98 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/ |
D | dcamera_hdf_demo.cpp | 104 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/ |
D | utils_data_stub.cpp | 182 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/ |
D | dmetadata_processor.h | 62 …izeMetadataHeader(common_metadata_header_t *&header, uint32_t itemCapacity, uint32_t dataCapacity);
|
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/ |
D | dmetadata_processor.cpp | 657 uint32_t itemCapacity, uint32_t dataCapacity) in ResizeMetadataHeader() argument 662 header = OHOS::Camera::AllocateCameraMetadataBuffer(itemCapacity, dataCapacity); in ResizeMetadataHeader()
|