Lines Matching refs:signal_
106 signal_ = make_shared<VDecSignal>(); in CreateVdec()
107 cb_ = make_unique<VDecDemoCallback>(signal_); in CreateVdec()
140 unique_lock<mutex> inLock(signal_->inMutex_); in Stop()
141 signal_->inQueue_.push(INDEX_CONSTANT); in Stop()
142 signal_->inCond_.notify_all(); in Stop()
150 unique_lock<mutex> outLock(signal_->outMutex_); in Stop()
151 signal_->outQueue_.push(INDEX_CONSTANT); in Stop()
152 signal_->outCond_.notify_all(); in Stop()
235 unique_lock<mutex> lock(signal_->inMutex_); in InputFunc()
236 signal_->inCond_.wait(lock, [this]() { return signal_->inQueue_.size() > 0; }); in InputFunc()
242 uint32_t index = signal_->inQueue_.front(); in InputFunc()
276 signal_->inQueue_.pop(); in InputFunc()
294 unique_lock<mutex> lock(signal_->outMutex_); in OutputFunc()
295 signal_->outCond_.wait(lock, [this]() { return signal_->outQueue_.size() > 0; }); in OutputFunc()
301 uint32_t index = signal_->outQueue_.front(); in OutputFunc()
307 signal_->outQueue_.pop(); in OutputFunc()
324 unique_lock<mutex> lock(signal_->inMutex_); in OnInputBufferAvailable()
325 signal_->inQueue_.push(index); in OnInputBufferAvailable()
326 signal_->inCond_.notify_all(); in OnInputBufferAvailable()
332 unique_lock<mutex> lock(signal_->outMutex_); in OnOutputBufferAvailable()
333 signal_->outQueue_.push(index); in OnOutputBufferAvailable()
334 signal_->outCond_.notify_all(); in OnOutputBufferAvailable()