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/
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 …_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, int buffCont, DeviceFormat& format) in Start() argument
[all …]
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 …red_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
[all …]
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 …d_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
[all …]
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()
Dv4l2_device_manager.cpp37 std::vector<std::string> hardwareName; in Init() local
40 hardwareName.push_back((*iter).hardwareName); in Init()
43 rc = HosV4L2Dev::Init(hardwareName); in Init()
51 for (auto iterName = hardwareName.cbegin(); iterName != hardwareName.cend(); iterName++) { in Init()
52 if ((*iter).controllerId == DM_C_SENSOR && (*iterName) == (*iter).hardwareName) { in Init()
122 …std::static_pointer_cast<SensorManager>(GetManager(DM_M_SENSOR)))->GetSensor((*iter).hardwareName); in GetSensor()
193 rc = manager->CreateController((*iter).controllerId, (*iter).hardwareName); in CreateController()
196 rc = manager->CreateController((*iter).controllerId, (*iter).hardwareName); in CreateController()
199 rc = manager->CreateController((*iter).controllerId, (*iter).hardwareName); in CreateController()
306 return (*iter).hardwareName; in CameraIdToHardware()
[all …]
Dflash_controller.cpp21 FlashController::FlashController(std::string hardwareName) : IController(hardwareName) {} in FlashController() argument
Disp_controller.cpp22 IspController::IspController(std::string hardwareName) : IController(hardwareName) {} in IspController() argument
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/include/
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 …]
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);
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);
Denumerator_manager.h34 void UvcCallBack(const std::string hardwareName, std::vector<DeviceControl>& deviceControl,
Dflash_controller.h26 explicit FlashController(std::string hardwareName);
Disp_controller.h27 explicit IspController(std::string hardwareName);
/drivers/peripheral/camera/vdi_base/common/device_manager/include/
Dimanager.h34 …ual std::shared_ptr<IController> GetController(ControllerId controllerId, std::string hardwareName) in GetController() argument
37 (void)hardwareName; in GetController()
45 …al 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()
[all …]
Dicontroller.h28 explicit IController(std::string hardwareName);
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/device_manager/
Dv4l2_device_manager.cpp94 …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()
278 return (*iter).hardwareName; in CameraIdToHardware()
287 …enumeratorManager_->SetCallBack([&](const std::string hardwareName, std::vector<DeviceControl>& de… in SetHotplugDevCallBack()
289 UvcCallBack(hardwareName, deviceControl, deviceFormat, uvcState); in SetHotplugDevCallBack()
293 void V4L2DeviceManager::AddHardware(CameraId id, const std::string hardwareName) in AddHardware() argument
299 hardware.hardwareName = hardwareName; in AddHardware()
304 hardware.hardwareName = std::string("isp"); in AddHardware()
[all …]
/drivers/peripheral/camera/vdi_base/common/device_manager/src/
Dicontroller.cpp22 IController::IController(std::string hardwareName) : hardwareName_(hardwareName) {} in IController() argument
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/
Dvo_manager.cpp26 RetCode VoManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
30 vo_ = std::make_shared<VoController>(hardwareName); in CreateController()
Dvpss_manager.cpp26 RetCode VpssManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
30 vpss_ = std::make_shared<VpssController>(hardwareName); in CreateController()
Dvenc_manager.cpp26 RetCode VencManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
30 venc_ = std::make_shared<VencController>(hardwareName); in CreateController()
Dvi_manager.cpp26 RetCode ViManager::CreateController(ControllerId controllerId, std::string hardwareName) in CreateController() argument
30 vi_ = std::make_shared<ViController>(hardwareName); in CreateController()
Dvenc_controller.cpp22 VencController::VencController(std::string hardwareName) : IController(hardwareName) {} in VencController() argument
Dvpss_controller.cpp22 VpssController::VpssController(std::string hardwareName) : IController(hardwareName) {} in VpssController() argument
Dvo_controller.cpp22 VoController::VoController(std::string hardwareName) : IController(hardwareName) {} in VoController() argument
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/include/
Dvo_controller.h29 explicit VoController(std::string hardwareName);

12