Home
last modified time | relevance | path

Searched refs:hardwareName (Results 1 - 25 of 39) sorted by relevance

12

/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/
H A Dsensor_manager.cpp26 RetCode SensorManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
30 if (!CheckCameraIdList(hardwareName)) { in CreateController()
31 std::shared_ptr<SensorController> sensor = std::make_shared<SensorController>(hardwareName); in CreateController()
44 std::shared_ptr<IController> SensorManager::GetController(ControllerId controllerId, std::string hardwareName) in GetController() argument
51 if ((*iter)->GetName() == hardwareName) { in GetController()
68 RetCode SensorManager::PowerUp(std::string hardwareName) in PowerUp() argument
71 if ((*iter)->GetName() == hardwareName) { in PowerUp()
78 RetCode SensorManager::PowerDown(std::string hardwareName) in PowerDown() argument
81 if ((*iter)->GetName() == hardwareName) { in PowerDown()
88 RetCode SensorManager::Start(std::string hardwareName, in argument
98 Stop(std::string hardwareName) Stop() argument
108 SendFrameBuffer(std::shared_ptr<FrameSpec> buffer, std::string hardwareName) SendFrameBuffer() argument
118 SetAbilityMetaDataTag(std::vector<int32_t> abilityMetaDataTag, std::string hardwareName) SetAbilityMetaDataTag() argument
133 CheckCameraIdList(std::string hardwareName) CheckCameraIdList() argument
146 SetNodeCallBack(const NodeBufferCb cb, std::string hardwareName) SetNodeCallBack() argument
155 SetMetaDataCallBack(const MetaDataCb cb, std::string hardwareName) SetMetaDataCallBack() argument
161 DestroyController(ControllerId controllerId, std::string hardwareName) DestroyController() argument
[all...]
H A Disp_manager.cpp25 RetCode IspManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
29 if (!CheckCameraIdList(hardwareName)) { in CreateController()
30 std::shared_ptr<IspController> isp = std::make_shared<IspController>(hardwareName); in CreateController()
43 std::shared_ptr<IController> IspManager::GetController(ControllerId controllerId, std::string hardwareName) in GetController() argument
50 if ((*iter)->GetName() == hardwareName) { in GetController()
57 RetCode IspManager::PowerUp(std::string hardwareName) in PowerUp() argument
60 if ((*iter)->GetName() == hardwareName) { in PowerUp()
67 RetCode IspManager::PowerDown(std::string hardwareName) in PowerDown() argument
70 if ((*iter)->GetName() == hardwareName) { in PowerDown()
87 RetCode IspManager::Start(std::string hardwareName) in Start() argument
97 Stop(std::string hardwareName) Stop() argument
107 CheckCameraIdList(std::string hardwareName) CheckCameraIdList() argument
[all...]
H A Dflash_manager.cpp25 RetCode FlashManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
29 if (!CheckCameraIdList(hardwareName)) { in CreateController()
30 std::shared_ptr<FlashController> flash = std::make_shared<FlashController>(hardwareName); in CreateController()
43 std::shared_ptr<IController> FlashManager::GetController(ControllerId controllerId, std::string hardwareName) in GetController() argument
50 if ((*iter)->GetName() == hardwareName) { in GetController()
67 RetCode FlashManager::SetFlashlight(FlashMode flashMode, bool enable, std::string hardwareName) in SetFlashlight() argument
70 if ((*iter)->GetName() == hardwareName) { in SetFlashlight()
77 bool FlashManager::CheckCameraIdList(std::string hardwareName) in CheckCameraIdList() argument
83 if ((*iter)->GetName() == hardwareName) { in CheckCameraIdList()
90 RetCode FlashManager::PowerUp(std::string hardwareName) in PowerUp() argument
100 PowerDown(std::string hardwareName) PowerDown() argument
[all...]
H A Denumerator_manager.cpp34 uvcVideo_->V4L2UvcDetectInit([&](const std::string& hardwareName, in Init()
37 UvcCallBack(hardwareName, deviceControl, deviceFormat, uvcState); in Init()
47 void EnumeratorManager::UvcCallBack(const std::string hardwareName, in UvcCallBack() argument
55 uvcCb_(hardwareName, deviceControl, deviceFormat, uvcState); in UvcCallBack()
H A Dv4l2_device_manager.cpp36 std::vector<std::string> hardwareName; in Init() local
40 hardwareName.push_back(it->hardwareName); in Init()
45 rc = HosV4L2Dev::Init(hardwareName); in Init()
114 return (std::static_pointer_cast<SensorManager>(GetManager(DM_M_SENSOR)))->GetSensor((*iter).hardwareName); in GetSensor()
185 rc = manager->CreateController((*iter).controllerId, (*iter).hardwareName); in CreateController()
188 rc = manager->CreateController((*iter).controllerId, (*iter).hardwareName); in CreateController()
191 rc = manager->CreateController((*iter).controllerId, (*iter).hardwareName); in CreateController()
293 return (*iter).hardwareName; in CameraIdToHardware()
302 enumeratorManager_->SetCallBack([&](const std::string hardwareName, st in SetHotplugDevCallBack()
308 AddHardware(CameraId id, const std::string hardwareName) AddHardware() argument
329 UvcCallBack(const std::string hardwareName, std::vector<DeviceControl>& deviceControl, std::vector<DeviceFormat>& deviceFormat, bool uvcState) UvcCallBack() argument
379 ReturnEnableCameraId(std::string hardwareName) ReturnEnableCameraId() argument
[all...]
H A Dflash_controller.cpp21 FlashController::FlashController(std::string hardwareName) : IController(hardwareName) {} in FlashController() argument
H A Disp_controller.cpp22 IspController::IspController(std::string hardwareName) : IController(hardwareName) {} in IspController() argument
/drivers/peripheral/camera/vdi_base/common/device_manager/include/
H A Dimanager.h34 virtual std::shared_ptr<IController> GetController(ControllerId controllerId, std::string hardwareName) in GetController() argument
37 (void)hardwareName; in GetController()
45 virtual RetCode CreateController(CameraId cameraId, ControllerId controllerId, std::string hardwareName) in CreateController() argument
49 (void)hardwareName; in CreateController()
52 virtual RetCode CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
55 (void)hardwareName; in CreateController()
68 virtual RetCode PowerUp(std::string hardwareName) in PowerUp() argument
70 (void)hardwareName; in PowerUp()
73 virtual RetCode PowerDown(std::string hardwareName) in PowerDown() argument
75 (void)hardwareName; in PowerDown()
82 SetAbilityMetaDataTag(std::vector<int32_t> abilityMetaDataTag, std::string hardwareName) SetAbilityMetaDataTag() argument
92 GetAbilityMetaData(std::shared_ptr<CameraMetadata> meta, std::string hardwareName) GetAbilityMetaData() argument
[all...]
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/include/
H A Disp_manager.h29 RetCode CreateController(ControllerId controllerId, std::string hardwareName);
30 std::shared_ptr<IController> GetController(ControllerId controllerId, std::string hardwareName);
32 RetCode Start(std::string hardwareName);
33 RetCode Stop(std::string hardwareName);
34 RetCode PowerUp(std::string hardwareName);
35 RetCode PowerDown(std::string hardwareName);
36 void SetAbilityMetaDataTag(std::vector<int32_t> abilityMetaDataTag, std::string hardwareName) in SetAbilityMetaDataTag() argument
39 (void)hardwareName; in SetAbilityMetaDataTag()
43 bool CheckCameraIdList(std::string hardwareName);
H A Dsensor_manager.h30 RetCode CreateController(ControllerId controllerId, std::string hardwareName);
31 RetCode DestroyController(ControllerId controllerId, std::string hardwareName);
32 std::shared_ptr<IController> GetController(ControllerId controllerId, std::string hardwareName);
35 RetCode Start(std::string hardwareName, int buffCont, DeviceFormat& format);
36 RetCode Stop(std::string hardwareName);
37 RetCode PowerUp(std::string hardwareName);
38 RetCode PowerDown(std::string hardwareName);
41 RetCode SendFrameBuffer(std::shared_ptr<FrameSpec> buffer, std::string hardwareName);
42 void SetAbilityMetaDataTag(std::vector<int32_t> abilityMetaDataTag, std::string hardwareName);
43 void SetNodeCallBack(const NodeBufferCb cb, std::string hardwareName);
[all...]
H A Dflash_manager.h29 RetCode CreateController(ControllerId controllerId, std::string hardwareName);
30 std::shared_ptr<IController> GetController(ControllerId controllerId, std::string hardwareName);
31 RetCode PowerUp(std::string hardwareName);
32 RetCode PowerDown(std::string hardwareName);
34 void SetAbilityMetaDataTag(std::vector<int32_t> abilityMetaDataTag, std::string hardwareName) in SetAbilityMetaDataTag() argument
37 (void)hardwareName; in SetAbilityMetaDataTag()
40 RetCode SetFlashlight(FlashMode flashMode, bool enable, std::string hardwareName);
42 bool CheckCameraIdList(std::string hardwareName);
H A Disp_controller.h27 explicit IspController(std::string hardwareName);
H A Dflash_controller.h26 explicit FlashController(std::string hardwareName);
H A Denumerator_manager.h34 void UvcCallBack(const std::string hardwareName, std::vector<DeviceControl>& deviceControl,
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/device_manager/
H A Dv4l2_device_manager.cpp94 return (std::static_pointer_cast<SensorManager>(GetManager(DM_M_SENSOR)))->GetSensor((*iter).hardwareName); in GetSensor()
165 rc = manager->CreateController((*iter).controllerId, (*iter).hardwareName); in CreateController()
168 rc = manager->CreateController((*iter).controllerId, (*iter).hardwareName); in CreateController()
171 rc = manager->CreateController((*iter).controllerId, (*iter).hardwareName); in CreateController()
279 return (*iter).hardwareName; in CameraIdToHardware()
288 enumeratorManager_->SetCallBack([&](const std::string hardwareName, std::vector<DeviceControl>& deviceControl, in SetHotplugDevCallBack()
290 UvcCallBack(hardwareName, deviceControl, deviceFormat, uvcState); in SetHotplugDevCallBack()
294 void V4L2DeviceManager::AddHardware(CameraId id, const std::string hardwareName) in AddHardware() argument
301 hardware.hardwareName = hardwareName; in AddHardware()
315 UvcCallBack(const std::string hardwareName, std::vector<DeviceControl>& deviceControl, std::vector<DeviceFormat>& deviceFormat, bool uvcState) UvcCallBack() argument
367 ReturnEnableCameraId(std::string hardwareName) ReturnEnableCameraId() argument
[all...]
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/
H A Dvenc_manager.cpp26 RetCode VencManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
30 venc_ = std::make_shared<VencController>(hardwareName); in CreateController()
H A Dvpss_manager.cpp26 RetCode VpssManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
30 vpss_ = std::make_shared<VpssController>(hardwareName); in CreateController()
H A Dvo_manager.cpp26 RetCode VoManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
30 vo_ = std::make_shared<VoController>(hardwareName); in CreateController()
H A Dvi_manager.cpp26 RetCode ViManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
30 vi_ = std::make_shared<ViController>(hardwareName); in CreateController()
H A Dvenc_controller.cpp22 VencController::VencController(std::string hardwareName) : IController(hardwareName) {} in VencController() argument
H A Dvpss_controller.cpp22 VpssController::VpssController(std::string hardwareName) : IController(hardwareName) {} in VpssController() argument
H A Dvo_controller.cpp22 VoController::VoController(std::string hardwareName) : IController(hardwareName) {} in VoController() argument
/drivers/peripheral/camera/vdi_base/common/device_manager/src/
H A Dicontroller.cpp22 IController::IController(std::string hardwareName) : hardwareName_(hardwareName) {} in IController() argument
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/include/
H A Dvenc_controller.h29 explicit VencController(std::string hardwareName);
H A Dvpss_controller.h29 explicit VpssController(std::string hardwareName);

Completed in 7 milliseconds

12