Home
last modified time | relevance | path

Searched refs:handler_ (Results 1 – 9 of 9) sorted by relevance

/drivers/peripheral/camera/hal_c/hdi_cif/src/
Dcamera_host.cpp50 if (handler_ != nullptr) { in ~CameraHost()
51 ::dlclose(handler_); in ~CameraHost()
133 handler_ = ::dlopen(CAMERA_C_HAL_LIB_PATH, RTLD_NOW); in Init()
134 if (handler_ == nullptr) { in Init()
140 … host_->SetCallback = reinterpret_cast<HOST_C_FUNC_SETCALLBACK>(::dlsym(handler_, "SetCallback")); in Init()
146 …host_->GetCameraIds = reinterpret_cast<HOST_C_FUNC_GETCAMERAIDS>(::dlsym(handler_, "GetCameraIds")… in Init()
152 …host_->GetCameraAbility = reinterpret_cast<HOST_C_FUNC_GETCAMERAABILITY>(::dlsym(handler_, "GetCam… in Init()
158 host_->OpenCamera = reinterpret_cast<HOST_C_FUNC_OPENCAMERA>(::dlsym(handler_, "OpenCamera")); in Init()
164 …host_->SetFlashlight = reinterpret_cast<HOST_C_FUNC_SETFLASHLIGHT>(::dlsym(handler_, "SetFlashligh… in Init()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/source_node/
Dsource_node.cpp56 if (handler_.count(streamId) > 0) { in Start()
67 handler_[streamId] = ph; in Start()
69 RetCode rc = handler_[streamId]->StartCollectBuffers(); in Start()
72 rc = handler_[streamId]->StartDistributeBuffers(); in Start()
80 CHECK_IF_NOT_EQUAL_RETURN_VALUE(handler_.count(streamId) > 0, true, RC_ERROR); in Flush()
81 handler_[streamId]->StopCollectBuffers(); in Flush()
87 CHECK_IF_NOT_EQUAL_RETURN_VALUE(handler_.count(streamId) > 0, true, RC_ERROR); in Stop()
88 handler_[streamId]->StopDistributeBuffers(); in Stop()
92 auto it = handler_.find(streamId); in Stop()
93 if (it != handler_.end()) { in Stop()
[all …]
Dsource_node.h75 std::unordered_map<int32_t, std::shared_ptr<PortHandler>> handler_ = {}; variable
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
Dstream_still_capture.cpp108 if (handler_ != nullptr) { in StopStream()
109 handler_->join(); in StopStream()
Dstream_base.cpp160 handler_ = std::make_unique<std::thread>([this, &threadName] { in StartStream()
167 if (handler_ == nullptr) { in StartStream()
196 if (handler_ != nullptr) { in StopStream()
197 handler_->join(); in StopStream()
198 handler_ = nullptr; in StopStream()
/drivers/peripheral/camera/hal_c/hdi_cif/include/
Dcamera_host.h52 void* handler_ = nullptr;
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
Dbuffer_loop_tracking.cpp266 handler_ = nullptr; in ~BufferLoopTracking()
428 handler_ = std::make_unique<std::thread>([this] { in StartTracking()
434 if (handler_ == nullptr) { in StartTracking()
445 handler_->join(); in StopTracking()
/drivers/peripheral/camera/vdi_base/v4l2/include/stream_operator/
Dstream_base.h95 std::unique_ptr<std::thread> handler_ = nullptr; variable
/drivers/peripheral/camera/vdi_base/common/buffer_manager/include/
Dbuffer_loop_tracking.h133 std::unique_ptr<std::thread> handler_ = nullptr; variable