Home
last modified time | relevance | path

Searched refs:adjustThre (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/feedingsmoother/base/
H A Difeeding_smoother.cpp193 const int64_t adjustThre = interval * adjustSleepFactor_; in AdjustSleepTime() local
194 if (delta_ > adjustThre && sleep_ > 0) { in AdjustSleepTime()
195 int64_t sleep = sleep_ - adjustThre; in AdjustSleepTime()
196 delta_ -= (sleep < 0) ? sleep_ : adjustThre; in AdjustSleepTime()
199 } else if (delta_ < -adjustThre) { in AdjustSleepTime()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/output_control/src/
H A Doutput_controller.cpp462 const int64_t adjustThre = interval * adjustSleepFactor_; in CalSleepTime() local
463 if (delta_ > adjustThre && sleep_ > 0) { in CalSleepTime()
464 int64_t sleep = sleep_ - adjustThre; in CalSleepTime()
465 delta_ -= (sleep < 0) ? sleep_ : adjustThre; in CalSleepTime()
468 } else if (delta_ < -adjustThre) { in CalSleepTime()