Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 57) sorted by relevance

123

/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
Dimage_buffer.cpp151 std::lock_guard<std::mutex> l(l_); in SetIndex() local
158 std::lock_guard<std::mutex> l(l_); in SetWidth() local
165 std::lock_guard<std::mutex> l(l_); in SetHeight() local
172 std::lock_guard<std::mutex> l(l_); in SetStride() local
179 std::lock_guard<std::mutex> l(l_); in SetFormat() local
186 std::lock_guard<std::mutex> l(l_); in SetSize() local
193 std::lock_guard<std::mutex> l(l_); in SetUsage() local
200 std::lock_guard<std::mutex> l(l_); in SetVirAddress() local
207 std::lock_guard<std::mutex> l(l_); in SetPhyAddress() local
214 std::lock_guard<std::mutex> l(l_); in SetFileDescriptor() local
[all …]
Dbuffer_loop_tracking.cpp28 std::lock_guard<std::mutex> l(lock_); in ~TrackingNode() local
44 std::lock_guard<std::mutex> l(lock_); in FindTrackingBuffer() local
58 std::lock_guard<std::mutex> l(lock_); in AttachTrackingBuffer() local
68 std::lock_guard<std::mutex> l(lock_); in DetachTrackingBuffer() local
83 std::lock_guard<std::mutex> l(lock_); in IsEmpty() local
95 std::lock_guard<std::mutex> l(lock_); in ~TrackingStream() local
107 std::lock_guard<std::mutex> l(lock_); in FindTrackingNode() local
124 std::lock_guard<std::mutex> l(lock_); in AttachTrackingNode() local
139 std::lock_guard<std::mutex> l(lock_); in DetachTrackingNode() local
152 std::lock_guard<std::mutex> l(lock_); in LocateBuffer() local
[all …]
Dbuffer_pool.cpp98 std::unique_lock<std::mutex> l(lock_); in PrepareBuffer() local
109 std::unique_lock<std::mutex> l(lock_); in DestroyBuffer() local
121 std::unique_lock<std::mutex> l(lock_); in DestroyBuffer() local
156 std::unique_lock<std::mutex> l(lock_); in AddBuffer() local
165 std::unique_lock<std::mutex> l(lock_); in AcquireBuffer() local
178 cv_.wait(l, [this] { in AcquireBuffer()
192 if (cv_.wait_for(l, std::chrono::seconds(timeout), [this] { in AcquireBuffer()
213 std::unique_lock<std::mutex> l(lock_); in ReturnBuffer() local
250 std::unique_lock<std::mutex> l(lock_); in NotifyStop() local
257 std::unique_lock<std::mutex> l(lock_); in NotifyStart() local
[all …]
Dbuffer_manager.cpp30 std::lock_guard<std::mutex> l(lock_); in GenerateBufferPoolId() local
44 std::lock_guard<std::mutex> l(lock_); in GetBufferPool() local
66 std::lock_guard<std::mutex> l(lock_); in EraseBufferPoolMapById() local
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
Ddimage_buffer.cpp108 std::lock_guard<std::mutex> l(l_); in SetIndex() local
115 std::lock_guard<std::mutex> l(l_); in SetWidth() local
122 std::lock_guard<std::mutex> l(l_); in SetHeight() local
129 std::lock_guard<std::mutex> l(l_); in SetStride() local
136 std::lock_guard<std::mutex> l(l_); in SetFormat() local
143 std::lock_guard<std::mutex> l(l_); in SetSize() local
150 std::lock_guard<std::mutex> l(l_); in SetUsage() local
157 std::lock_guard<std::mutex> l(l_); in SetPhyAddress() local
164 std::lock_guard<std::mutex> l(l_); in SetFileDescriptor() local
171 std::lock_guard<std::mutex> l(l_); in SetTimestamp() local
[all …]
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/
Dbuffer_operator.h217 std::lock_guard<std::mutex> l(l_); in SetIndex()
224 std::lock_guard<std::mutex> l(l_); in SetWidth()
231 std::lock_guard<std::mutex> l(l_); in SetHeight()
238 std::lock_guard<std::mutex> l(l_); in SetStride()
245 std::lock_guard<std::mutex> l(l_); in SetFormat()
252 std::lock_guard<std::mutex> l(l_); in SetSize()
259 std::lock_guard<std::mutex> l(l_); in SetUsage()
266 std::lock_guard<std::mutex> l(l_); in SetVirAddress()
273 std::lock_guard<std::mutex> l(l_); in SetPhyAddress()
280 std::lock_guard<std::mutex> l(l_); in SetFileDescriptor()
[all …]
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/lite/
Dstream_tunnel.cpp53 std::lock_guard<std::mutex> l(lock_); in CleanBuffers() local
65 std::unique_lock<std::mutex> l(waitLock_); in GetBuffer() local
66 waitCV_.wait(l, [this] { return wakeup_ == true; }); in GetBuffer()
82 std::lock_guard<std::mutex> l(lock_); in GetBuffer() local
99 std::lock_guard<std::mutex> l(lock_); in GetBuffer() local
115 std::lock_guard<std::mutex> l(lock_); in PutBuffer() local
141 std::unique_lock<std::mutex> l(finishLock_); in PutBuffer() local
145 std::unique_lock<std::mutex> l(waitLock_); in PutBuffer() local
175 std::unique_lock<std::mutex> l(waitLock_); in NotifyStop() local
188 std::unique_lock<std::mutex> l(finishLock_); in WaitForAllBufferReturned() local
[all …]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
Doffline_pipeline.cpp44 std::unique_lock<std::mutex> l(queueLock_); in StartProcess() local
67 std::unique_lock<std::mutex> l(queueLock_); in StopProcess() local
84 std::lock_guard<std::mutex> l(cbLock_); in BindOfflineStreamCallback() local
105 std::unique_lock<std::mutex> l(queueLock_); in CancelCapture() local
138 std::unique_lock<std::mutex> l(queueLock_); in FlushOfflineStream() local
160 std::unique_lock<std::mutex> l(queueLock_); in ReceiveCache() local
171 std::unique_lock<std::mutex> l(queueLock_); in HandleBuffers() local
172 cv_.wait(l, [this] { return !(running_.load() && bufferCache_.empty()); }); in HandleBuffers()
246 std::unique_lock<std::mutex> l(queueLock_); in CacheQueueDry() local
252 std::unique_lock<std::mutex> l(queueLock_); in CheckOwnerOfCaptureId() local
Doffline_pipeline_manager.cpp47 std::lock_guard<std::mutex> l(lock_); in SwitchToOfflinePipeline() local
75 std::lock_guard<std::mutex> l(lock_); in DestoryOfflinePipeline() local
88 std::lock_guard<std::mutex> l(lock_); in DestoryOfflinePipelines() local
114 std::lock_guard<std::mutex> l(lock_); in FindOfflinePipeline() local
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/source_node/
Dsource_node.cpp55 std::lock_guard<std::mutex> l(hndl_); in Start() local
66 std::lock_guard<std::mutex> l(hndl_); in Start() local
91 std::lock_guard<std::mutex> l(hndl_); in Stop() local
112 std::lock_guard<std::mutex> l(requestLock_); in DeliverBuffer() local
154 std::lock_guard<std::mutex> l(requestLock_); in Capture() local
193 std::unique_lock<std::mutex> l(cltLock); in StartCollectBuffers() local
211 std::unique_lock<std::mutex> l(cltLock); in StopCollectBuffers() local
265 std::unique_lock<std::mutex> l(rblock); in StartDistributeBuffers() local
282 std::unique_lock<std::mutex> l(rblock); in StopDistributeBuffers() local
298 std::unique_lock<std::mutex> l(rblock); in DistributeBuffers() local
[all …]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/
Dstream_pipeline_core.cpp47 std::lock_guard<std::recursive_mutex> l(mutex_); in CreatePipeline() local
61 std::lock_guard<std::recursive_mutex> l(mutex_); in DestroyPipeline() local
73 std::lock_guard<std::recursive_mutex> l(mutex_); in Prepare() local
83 std::lock_guard<std::recursive_mutex> l(mutex_); in Start() local
94 std::lock_guard<std::recursive_mutex> l(mutex_); in SetCallback() local
113 std::lock_guard<std::recursive_mutex> l(mutex_); in Config() local
123 std::lock_guard<std::recursive_mutex> l(mutex_); in Capture() local
133 std::lock_guard<std::recursive_mutex> l(mutex_); in CancelCapture() local
143 std::lock_guard<std::recursive_mutex> l(mutex_); in Flush() local
155 std::lock_guard<std::recursive_mutex> l(mutex_); in GetOfflinePipeline() local
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
Dcapture_request.cpp45 std::lock_guard<std::mutex> l(lock_); in AddOwner() local
72 std::lock_guard<std::mutex> l(lock_); in DisableSync() local
82 std::lock_guard<std::mutex> l(lock_); in GetOwnerCount() local
172 std::unique_lock<std::mutex> l(sem_); in Sync() local
173 cv_.wait(l); in Sync()
175 std::unique_lock<std::mutex> l(sem_); in Sync() local
Dcapture_message.cpp74 std::unique_lock<std::mutex> l(lock_); in SendMessage() local
136 std::unique_lock<std::mutex> l(lock_); in HandleMessage() local
137 cv_.wait(l, [this] { return !running_ || wakeup_; }); in HandleMessage()
148 std::unique_lock<std::mutex> l(lock_); in HandleMessage() local
Dstream_base.cpp59 std::unique_lock<std::mutex> l(smLock_); in ConfigStream() local
78 std::unique_lock<std::mutex> l(smLock_); in CommitStream() local
143 std::unique_lock<std::mutex> l(smLock_); in StartStream() local
185 std::unique_lock<std::mutex> l(smLock_); in StopStream() local
208 std::unique_lock<std::mutex> l(wtLock_); in StopStream() local
261 std::unique_lock<std::mutex> l(wtLock_); in AddRequest() local
304 std::unique_lock<std::mutex> l(wtLock_); in HandleRequest() local
306 cv_.wait(l, [this] { return !(state_ == STREAM_STATE_BUSY && waitingList_.empty()); }); in HandleRequest()
316 std::unique_lock<std::mutex> l(wtLock_); in HandleRequest() local
372 std::unique_lock<std::mutex> l(tsLock_); in Capture() local
[all …]
/drivers/peripheral/camera/vdi_base/common/utils/watchdog/
Dwatchdog.cpp37 std::unique_lock<std::mutex> l(lock_); in ~WatchDog() local
50 std::unique_lock<std::mutex> l(lock_); in WaitForWakeUP() local
51 cv_.wait_for(l, std::chrono::milliseconds(timeMs_), [this]() { in WaitForWakeUP()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/standard/
Dstream_tunnel.cpp55 std::lock_guard<std::mutex> l(lock_); in CleanBuffers() local
71 std::unique_lock<std::mutex> l(waitLock_); in GetBuffer() local
72 waitCV_.wait(l, [this] { return wakeup_ == true; }); in GetBuffer()
106 std::lock_guard<std::mutex> l(lock_); in PutBuffer() local
143 std::unique_lock<std::mutex> l(waitLock_); in PutBuffer() local
179 std::unique_lock<std::mutex> l(waitLock_); in NotifyStop() local
192 std::unique_lock<std::mutex> l(finishLock_); in WaitForAllBufferReturned() local
194 if (!finishCV_.wait_until(l, timeout, [this] { in WaitForAllBufferReturned()
221 std::lock_guard<std::mutex> l(lock_); in GetCameraBufferAndUpdateInfo() local
238 std::lock_guard<std::mutex> l(lock_); in GetCameraBufferAndUpdateInfo() local
/drivers/peripheral/camera/vdi_base/v4l2/src/offline_stream_operator/
Doffline_stream_operator_vdi_impl.cpp65 std::lock_guard<std::mutex> l(lock_); in ReleaseStreams() local
80 std::lock_guard<std::mutex> l(lock_); in Release() local
96 std::lock_guard<std::mutex> l(lock_); in CommitOfflineStream() local
106 std::lock_guard<std::mutex> l(lock_); in FindStreamByCaptureId() local
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/fork_node/
Dfork_node.cpp34 std::unique_lock<std::mutex> l(bufferMtx); in Start() local
88 std::unique_lock<std::mutex> l(bufferMtx); in Stop() local
130 std::lock_guard<std::mutex> l(mtx_); in DeliverBuffer() local
159 std::lock_guard<std::mutex> l(requestLock_); in Capture() local
172 std::unique_lock<std::mutex> l(bufferMtx); in DeliverBufferToNextNode() local
174 bqcv_.wait(l, [this] { in DeliverBufferToNextNode()
196 std::lock_guard<std::mutex> l(requestLock_); in DeliverBufferToNextNode() local
/drivers/peripheral/camera/vdi_base/common/device_manager/src/
Dicontroller.cpp28 std::lock_guard<std::mutex> l(powerOnStatelock_); in GetPowerOnState() local
34 std::lock_guard<std::mutex> l(powerOnStatelock_); in SetPowerOnState() local
/drivers/peripheral/camera/vdi_base/usb_camera/vdi_impl/src/
Dcamera_dump.cpp135 std::lock_guard<std::mutex> l(dumpStateLock_); in UpdateDumpMode() local
156 std::lock_guard<std::mutex> l(dumpStateLock_); in IsDumpOpened() local
270 std::lock_guard<std::mutex> l(dumpStateLock_); in CheckDiskInfo() local
284 std::unique_lock<std::mutex> l(terminateLock_); in ThreadWorkFun() local
285 cv_.wait_for(l, std::chrono::milliseconds(CHECK_DISKINFO_TIME_MS), in ThreadWorkFun()
300 std::unique_lock<std::mutex> l(terminateLock_); in StartCheckDiskInfo() local
314 std::unique_lock<std::mutex> l(terminateLock_); in StopCheckDiskInfo() local
/drivers/peripheral/camera/vdi_base/v4l2/src/
Dcamera_dump.cpp133 std::lock_guard<std::mutex> l(dumpStateLock_); in UpdateDumpMode() local
154 std::lock_guard<std::mutex> l(dumpStateLock_); in IsDumpOpened() local
271 std::lock_guard<std::mutex> l(dumpStateLock_); in CheckDiskInfo() local
285 std::unique_lock<std::mutex> l(terminateLock_); in ThreadWorkFun() local
286 cv_.wait_for(l, std::chrono::milliseconds(CHECK_DISKINFO_TIME_MS), in ThreadWorkFun()
301 std::unique_lock<std::mutex> l(terminateLock_); in StartCheckDiskInfo() local
315 std::unique_lock<std::mutex> l(terminateLock_); in StopCheckDiskInfo() local
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/
Disp_controller.cpp55 std::lock_guard<std::mutex> l(startIsplock_); in Start() local
66 std::lock_guard<std::mutex> l(startIsplock_); in Stop() local
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/
Dvenc_controller.cpp71 std::lock_guard<std::mutex> l(startVenclock_); in StartVenc() local
84 std::lock_guard<std::mutex> l(startVenclock_); in StopVenc() local
Dvpss_controller.cpp70 std::lock_guard<std::mutex> l(startVpsslock_); in StartVpss() local
83 std::lock_guard<std::mutex> l(startVpsslock_); in StopVpss() local
Dvo_controller.cpp70 std::lock_guard<std::mutex> l(startVolock_); in StartVo() local
83 std::lock_guard<std::mutex> l(startVolock_); in StopVo() local

123