Searched refs:signal_ (Results 1 – 6 of 6) sorted by relevance
/test/xts/dcts/distributedhardware/distributedscreentest/ |
D | decoder_demo.cpp | 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() [all …]
|
D | decoder_demo.h | 43 explicit VDecDemoCallback(std::shared_ptr<VDecSignal> signal) : signal_(signal) {}; in VDecDemoCallback() 52 std::shared_ptr<VDecSignal> signal_; 86 std::shared_ptr<VDecSignal> signal_; variable
|
/test/xts/acts/multimedia/avsource/entry/src/main/cpp/ |
D | audioDecoderAvBuffer.cpp | 97 ADecSignal *signal_; variable 114 unique_lock<mutex> lock(signal_->inMutex_); in OnNeedInputBuffer() 126 unique_lock<mutex> lock(signal_->outMutex_); in OnNewOutputBuffer() 136 signal_ = new ADecSignal(); in AudioDecoderRegisterCallback() 138 result = TestInitAVErrCode(env, OH_AudioCodec_RegisterCallback(audioDec, callback, signal_)); in AudioDecoderRegisterCallback() 948 signal_ = new ADecSignal(); in OHAudioDecoderPushInputBuffer() 949 OH_AudioCodec_RegisterCallback(audioDec, callback, signal_); in OHAudioDecoderPushInputBuffer() 953 unique_lock<mutex> lock(signal_->inMutex_); in OHAudioDecoderPushInputBuffer() 954 signal_->inCond_.wait(lock, []() { return (signal_->inQueue_.size() > 0);}); in OHAudioDecoderPushInputBuffer() 956 if (signal_->inQueue_.front() == 0) { in OHAudioDecoderPushInputBuffer() [all …]
|
D | audioEncoderAvBuffer.cpp | 104 AEncSignal *signal_ = new AEncSignal(); variable 142 signal_ = new AEncSignal(); in AudioEncoderRegisterCallback() 144 checkParam = OH_AudioCodec_RegisterCallback(audioEnc, callback, signal_); in AudioEncoderRegisterCallback()
|
D | audioencoderxdlndk.cpp | 102 AEncSignal *signal_ = new AEncSignal(); variable 144 signal_ = new AEncSignal(); in AudioEncoderSetCallback() 146 checkParam = OH_AudioEncoder_SetCallback(audioEnc, callback, signal_); in AudioEncoderSetCallback()
|
D | audiodecoderxdlndk.cpp | 97 ADecSignal *signal_; variable 137 signal_ = new ADecSignal(); in AudioDecoderSetCallback() 139 result = TestInitAVErrCode(env, OH_AudioDecoder_SetCallback(audioDec, callback, signal_)); in AudioDecoderSetCallback()
|