Home
last modified time | relevance | path

Searched refs:sleep_ (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/feedingsmoother/base/
H A Difeeding_smoother.cpp115 int64_t delta = render - sleep_ - elapse; in SmoothFeeding()
118 sleep_ = interval - elapse; in SmoothFeeding()
194 if (delta_ > adjustThre && sleep_ > 0) { in AdjustSleepTime()
195 int64_t sleep = sleep_ - adjustThre; in AdjustSleepTime()
196 delta_ -= (sleep < 0) ? sleep_ : adjustThre; in AdjustSleepTime()
197 sleep_ = sleep; in AdjustSleepTime()
200 sleep_ += delta_; in AdjustSleepTime()
210 int64_t offset = timeStamp - sleep_ - clock; in SyncClock()
212 sleep_ += offset; in SyncClock()
215 if (sleep_ < 0) { in SyncClock()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/output_control/src/
H A Doutput_controller.cpp325 sleep_ = 0; in InitTime()
466 sleep_ = sleep; in CalSleepTime()
469 sleep_ += delta_; in CalSleepTime()
482 if (sleep_ > sleepThre_) { in SyncClock()
483 sleep_ = sleepThre_; in SyncClock()
486 if (sleep_ < 0) { in SyncClock()
487 sleep_ = 0; in SyncClock()
508 int64_t vcts = (sleep_ > 0) ? (vTimeStamp - sleep_) : vTimeStamp; in HandleSmoothTime()
514 sleep_ += offset; in HandleSmoothTime()
516 offset, sleep_); in HandleSmoothTime()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/output_control_test/
H A Doutput_controller_test.cpp223 controller->sleep_ = 1;
226 controller->sleep_ = -1;
232 controller->sleep_ = 1;
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcameradata/feedingsmoother/base/
H A Difeeding_smoother.h104 int64_t sleep_ = 0; variable
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_feeding_smoother_test.cpp182 smoother->sleep_ = FRAME_INTERVAL;
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/output_control/include/
H A Doutput_controller.h188 int64_t sleep_ = 0; variable