/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/include/ |
D | sensor_controller.h | 35 RetCode Configure(std::shared_ptr<CameraMetadata> meta); 36 RetCode ConfigFps(std::shared_ptr<CameraMetadata> meta); 46 RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta); 51 RetCode SendSensorMetaData(std::shared_ptr<CameraMetadata> meta); 59 RetCode GetSensorMetaData(std::shared_ptr<CameraMetadata> meta); 60 RetCode GetAEMetaData(std::shared_ptr<CameraMetadata> meta); 61 RetCode GetAWBMetaData(std::shared_ptr<CameraMetadata> meta); 63 std::shared_ptr<CameraMetadata> meta, const int32_t &value); 65 std::shared_ptr<CameraMetadata> meta, const int32_t &value); 67 std::shared_ptr<CameraMetadata> meta, const int32_t &value); [all …]
|
D | flash_controller.h | 31 RetCode Configure(std::shared_ptr<CameraMetadata> meta) in Configure() argument 33 (void)meta; in Configure() 38 RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta);
|
D | isp_controller.h | 30 RetCode Configure(std::shared_ptr<CameraMetadata> meta); 40 RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta) in GetAbilityMetaData() argument 42 (void)meta; in GetAbilityMetaData()
|
/drivers/peripheral/camera/test/hdi/v1_0/src/ |
D | camera_3a_uttest.cpp | 47 std::shared_ptr<CameraMetadata> meta = std::make_shared<CameraSetting>(100, 200); variable 49 meta->addEntry(OHOS_CONTROL_AE_EXPOSURE_COMPENSATION, &expo, 1); 51 MetadataUtils::ConvertMetadataToVec(meta, metaVec); 71 std::shared_ptr<CameraMetadata> meta = std::make_shared<CameraSetting>(100, 200); variable 73 meta->addEntry(OHOS_CONTROL_AWB_MODE, &awbMode, 1); 75 MetadataUtils::ConvertMetadataToVec(meta, metaVec); 95 std::shared_ptr<CameraMetadata> meta = std::make_shared<CameraSetting>(100, 200); variable 97 meta->addEntry(OHOS_CONTROL_AWB_MODE, &awbMode, 1); 99 MetadataUtils::ConvertMetadataToVec(meta, metaVec); 119 std::shared_ptr<CameraMetadata> meta = std::make_shared<CameraSetting>(100, 200); variable [all …]
|
/drivers/peripheral/camera/hal_c/hdi_cif/src/ |
D | camera_device.cpp | 60 CameraSettingCIF* meta = settings->get(); in UpdateSettings() local 61 int ret = device_->UpdateSettings(meta); in UpdateSettings() 82 MetaTypeCIF* meta = nullptr; in GetEnabledResults() local 84 int ret = device_->GetEnabledResults(&meta, &count); in GetEnabledResults() 86 results.push_back(meta[i]); in GetEnabledResults() 102 MetaTypeCIF* meta = new MetaTypeCIF[count]; in EnableResult() local 103 if (meta == nullptr) { in EnableResult() 107 meta[i] = results[i]; in EnableResult() 109 int ret = device_->EnableResult(meta, count); in EnableResult() 123 MetaTypeCIF* meta = new MetaTypeCIF[count]; in DisableResult() local [all …]
|
D | camera_device_callback_wrapper.cpp | 45 std::shared_ptr<CameraMetadata> meta = std::make_shared<CameraMetadata>(0, 0); in DeviceCBOnResult() local 46 g_deviceCallback->OnResult(timestamp, meta); in DeviceCBOnResult()
|
/drivers/peripheral/camera/test/mpi/src/ |
D | camera_3a_test.cpp | 51 std::shared_ptr<CameraMetadata> meta = std::make_shared<Camera::CameraSetting>(100, 2000); variable 53 meta->addEntry(OHOS_CONTROL_AE_EXPOSURE_COMPENSATION, &expo, 1); 54 Test_->cameraDevice->UpdateSettings(meta); 81 … std::shared_ptr<Camera::CameraSetting> meta = std::make_shared<Camera::CameraSetting>(100, 2000); variable 83 meta->addEntry(OHOS_CONTROL_AWB_MODE, &awbMode, 1); 85 Test_->cameraDevice->UpdateSettings(meta); 110 … std::shared_ptr<Camera::CameraSetting> meta = std::make_shared<Camera::CameraSetting>(100, 2000); variable 112 meta->addEntry(OHOS_CONTROL_AWB_MODE, &awbMode, 1); 114 Test_->cameraDevice->UpdateSettings(meta); 140 … std::shared_ptr<Camera::CameraSetting> meta = std::make_shared<Camera::CameraSetting>(100, 2000); variable [all …]
|
D | hdi_device_test.cpp | 77 … std::shared_ptr<Camera::CameraSetting> meta = std::make_shared<Camera::CameraSetting>(100, 2000); variable 79 meta->addEntry(OHOS_CONTROL_AE_EXPOSURE_COMPENSATION, &expo, 1); 80 Test_->rc = Test_->cameraDevice->UpdateSettings(meta); 103 … std::shared_ptr<Camera::CameraSetting> meta = std::make_shared<Camera::CameraSetting>(100, 2000); variable 104 meta->addEntry(OHOS_CONTROL_AWB_MODE, &awbMode, 1); 106 Test_->cameraDevice->UpdateSettings(meta); 132 … std::shared_ptr<Camera::CameraSetting> meta = std::make_shared<Camera::CameraSetting>(100, 2000); variable 134 meta->addEntry(OHOS_CONTROL_AWB_MODE, &awbMode, 1); 136 Test_->cameraDevice->UpdateSettings(meta); 162 … std::shared_ptr<Camera::CameraSetting> meta = std::make_shared<Camera::CameraSetting>(100, 2000); variable [all …]
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/ |
D | sensor_controller.cpp | 81 RetCode SensorController::Configure(std::shared_ptr<CameraMetadata> meta) in Configure() argument 83 return SendSensorMetaData(meta); in Configure() 86 RetCode SensorController::ConfigFps(std::shared_ptr<CameraMetadata> meta) in ConfigFps() argument 88 if (meta == nullptr) { in ConfigFps() 92 common_metadata_header_t *data = meta->get(); in ConfigFps() 173 RetCode SensorController::GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta) in GetAbilityMetaData() argument 175 return GetSensorMetaData(meta); in GetAbilityMetaData() 222 RetCode SensorController::GetSensorMetaData(std::shared_ptr<CameraMetadata> meta) in GetSensorMetaData() argument 243 tagMethodMap_[keyTag](this, meta, outValue); in GetSensorMetaData() 248 GetExposureCompensation(this, meta, outValue); in GetSensorMetaData() [all …]
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/include/ |
D | vi_controller.h | 35 RetCode Configure(std::shared_ptr<CameraMetadata> meta); 58 RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta); 64 RetCode SendIspMetaData(std::shared_ptr<CameraMetadata> meta); 67 RetCode GetIspMetaData(std::shared_ptr<CameraMetadata> meta); 68 RetCode GetAEMetaData(std::shared_ptr<CameraMetadata> meta); 69 RetCode GetAWBMetaData(std::shared_ptr<CameraMetadata> meta); 70 RetCode GetColorCorrectionGains(std::shared_ptr<CameraMetadata> meta);
|
D | vo_manager.h | 33 void Configure(std::shared_ptr<CameraMetadata> meta) in Configure() argument 35 vo_->Configure(meta); in Configure() 55 RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta) in GetAbilityMetaData() argument 57 return vo_->GetAbilityMetaData(meta); in GetAbilityMetaData()
|
D | vpss_manager.h | 32 void Configure(std::shared_ptr<CameraMetadata> meta) in Configure() argument 34 vpss_->Configure(meta); in Configure() 54 RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta) in GetAbilityMetaData() argument 56 return vpss_->GetAbilityMetaData(meta); in GetAbilityMetaData()
|
D | venc_manager.h | 33 void Configure(std::shared_ptr<CameraMetadata> meta) in Configure() argument 35 venc_->Configure(meta); in Configure() 71 RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta) in GetAbilityMetaData() argument 73 return venc_->GetAbilityMetaData(meta); in GetAbilityMetaData()
|
D | vi_manager.h | 33 void Configure(std::shared_ptr<CameraMetadata> meta) in Configure() argument 35 vi_->Configure(meta); in Configure() 67 RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta) in GetAbilityMetaData() argument 69 return vi_->GetAbilityMetaData(meta); in GetAbilityMetaData()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/ |
D | vi_controller.cpp | 123 RetCode ViController::Configure(std::shared_ptr<CameraMetadata> meta) in Configure() argument 125 return SendIspMetaData(meta); in Configure() 128 RetCode ViController::SendIspMetaData(std::shared_ptr<CameraMetadata> meta) in SendIspMetaData() argument 130 common_metadata_header_t* data = meta->get(); in SendIspMetaData() 183 RetCode ViController::GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta) in GetAbilityMetaData() argument 185 return GetIspMetaData(meta); in GetAbilityMetaData() 188 RetCode ViController::GetIspMetaData(std::shared_ptr<CameraMetadata> meta) in GetIspMetaData() argument 191 RetCode rc = GetAEMetaData(meta); in GetIspMetaData() 198 rc = GetAWBMetaData(meta); in GetIspMetaData() 207 RetCode ViController::GetAEMetaData(std::shared_ptr<CameraMetadata> meta) in GetAEMetaData() argument [all …]
|
/drivers/interface/camera/metadata/src/ |
D | metadata_utils.cpp | 70 common_metadata_header_t *meta = metadata->get(); in ConvertMetadataToVec() local 71 if (meta == nullptr) { in ConvertMetadataToVec() 77 uint32_t tagCount = GetCameraMetadataItemCount(meta); in ConvertMetadataToVec() 83 uint32_t itemCapacity = GetCameraMetadataItemCapacity(meta); in ConvertMetadataToVec() 89 uint32_t dataCapacity = GetCameraMetadataDataSize(meta); in ConvertMetadataToVec() 100 int ret = GetCameraMetadataItem(meta, i, &item); in ConvertMetadataToVec() 129 common_metadata_header_t *meta = metadata->get(); in EncodeCameraMetadata() local 130 if (meta != nullptr) { in EncodeCameraMetadata() 131 tagCount = GetCameraMetadataItemCount(meta); in EncodeCameraMetadata() 133 bRet = bRet && data.WriteUint32(GetCameraMetadataItemCapacity(meta)); in EncodeCameraMetadata() [all …]
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/include/ |
D | ipp_algo.h | 47 int (*Init)(IppAlgoMeta* meta); 50 …rocess)(IppAlgoBuffer* inBuffer[], int inBufferCount, IppAlgoBuffer* outBuffer, IppAlgoMeta* meta); 58 int inBufferCount, IppAlgoBuffer* outBuffer, IppAlgoMeta* meta);
|
/drivers/peripheral/camera/vdi_base/common/device_manager/include/ |
D | imanager.h | 29 virtual void Configure(std::shared_ptr<CameraMetadata> meta) = 0; 87 virtual RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta) in GetAbilityMetaData() argument 89 (void)meta; in GetAbilityMetaData() 92 … virtual RetCode GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta, std::string hardwareName) in GetAbilityMetaData() argument 94 (void)meta; in GetAbilityMetaData()
|
/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/ |
D | metadata_controller.cpp | 151 bool MetadataController::UpdateSettingsConfig(const std::shared_ptr<CameraMetadata> &meta) in UpdateSettingsConfig() argument 154 int32_t streamId = GetStreamId(meta); in UpdateSettingsConfig() 159 result = FilterUpdateKeys(streamId, meta); in UpdateSettingsConfig() 164 return DealMetadata(streamId, meta); in UpdateSettingsConfig() 167 void MetadataController::GetSettingsConfig(std::shared_ptr<CameraMetadata> &meta) in GetSettingsConfig() argument 170 metaDataConfig_->GetMetadata(DEVICE_STREAM_ID, meta); in GetSettingsConfig() 173 int32_t MetadataController::GetStreamId(const std::shared_ptr<CameraMetadata> &meta) in GetStreamId() argument 175 common_metadata_header_t *data = meta->get(); in GetStreamId() 189 …MetadataController::FilterUpdateKeys(int32_t streamId, const std::shared_ptr<CameraMetadata> &meta) in FilterUpdateKeys() argument 191 common_metadata_header_t *data = meta->get(); in FilterUpdateKeys() [all …]
|
/drivers/peripheral/camera/vdi_base/common/metadata_manager/include/ |
D | metadata_controller.h | 41 bool UpdateSettingsConfig(const std::shared_ptr<CameraMetadata> &meta); 42 void GetSettingsConfig(std::shared_ptr<CameraMetadata> &meta); 44 void SetDeviceDefaultMetadata(std::shared_ptr<CameraMetadata> &meta); 54 int32_t GetStreamId(const std::shared_ptr<CameraMetadata> &meta); 55 bool FilterUpdateKeys(int32_t streamId, const std::shared_ptr<CameraMetadata> &meta); 56 bool DealMetadata(int32_t streamId, const std::shared_ptr<CameraMetadata> &meta);
|
/drivers/peripheral/camera/test/ut/v4l2/ |
D | camera_stabili_test.cpp | 81 std::shared_ptr<CameraSetting> meta = std::make_shared<CameraSetting>( variable 84 meta->addEntry(OHOS_CONTROL_VIDEO_STABILIZATION_MODE, &videoStabiliMode, DATA_COUNT); 86 meta->addEntry(OHOS_CAMERA_STREAM_ID, &deviceStreamId, 1); 88 MetadataUtils::ConvertMetadataToVec(meta, setting);
|
D | camera_fps_test.cpp | 87 std::shared_ptr<CameraSetting> meta = std::make_shared<CameraSetting>( variable 92 meta->addEntry(OHOS_CONTROL_FPS_RANGES, fpsRange.data(), fpsRange.size()); 94 meta->addEntry(OHOS_CAMERA_STREAM_ID, &deviceStreamId, 1); 96 MetadataUtils::ConvertMetadataToVec(meta, setting);
|
/drivers/peripheral/camera/vdi_base/common/device_manager/test/unittest/mpi/ |
D | utest_mpi_device_manager.cpp | 50 deviceManager->SetMetaDataCallBack([&](std::shared_ptr<CameraMetadata> meta) { in Init() argument 51 CallBack(meta); in Init() 54 void CallBack(std::shared_ptr<CameraMetadata> meta) {}; in CallBack() argument 112 CameraMetadata meta(100, 2000); variable 113 sensor->Init(meta); 123 CameraMetadata meta(100, 2000); variable 124 sensor->Init(meta); 238 std::shared_ptr<CameraMetadata> meta = std::make_shared<CameraMetadata>(100, 2000); variable 240 meta->addEntry(OHOS_CONTROL_AE_EXPOSURE_COMPENSATION, &expo, 1); 242 meta->addEntry(OHOS_CONTROL_AWB_MODE, &awbMode, 1); [all …]
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/vi_node/ |
D | vi_node.cpp | 82 RetCode ViNode::Configure(std::shared_ptr<CameraMetadata> meta) in Configure() argument 84 CHECK_IF_PTR_NULL_RETURN_VALUE(meta, RC_ERROR); in Configure() 85 return viController_->Configure(meta); in Configure()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/include/ |
D | istream_pipeline_core.h | 35 virtual RetCode PreConfig(const ModeMeta& meta) = 0; 43 virtual RetCode Config(const std::vector<int32_t>& ids, const CaptureMeta& meta) = 0; 50 const ModeMeta& meta, const std::vector<StreamConfiguration>& configs) = 0;
|