Home
last modified time | relevance | path

Searched refs:overshoot (Results 1 - 4 of 4) sorted by relevance

/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/fpscontroller/
H A Dfps_controller_process.cpp275 int32_t overshoot = frameRateOvershootMdf_ + (incomingFrmRate - targetFrameRate_); in ReduceFrameRateByUniformStrategy() local
276 if (overshoot < 0) { in ReduceFrameRateByUniformStrategy()
277 overshoot = 0; in ReduceFrameRateByUniformStrategy()
280 if (overshoot && DOUBLE_MULTIPLE * overshoot < incomingFrmRate) { in ReduceFrameRateByUniformStrategy()
283 * one frame is dropped every (incomingFrmRate / overshoot) frames. in ReduceFrameRateByUniformStrategy()
289 const int32_t dropVar = incomingFrmRate / overshoot; in ReduceFrameRateByUniformStrategy()
292 frameRateOvershootMdf_ = -(incomingFrmRate % overshoot) / OVERSHOOT_MODIFY_COEFFICIENT; in ReduceFrameRateByUniformStrategy()
299 * When the actual frame rate is more than twice the target frame rate or the overshoot is in ReduceFrameRateByUniformStrategy()
300 * equal to 0, one frame is reserved every (overshoot / targetFrameRate in ReduceFrameRateByUniformStrategy()
[all...]
/foundation/arkui/ui_lite/frameworks/animator/
H A Deasing_equation.cpp22 void EasingEquation::SetBackOvershoot(double overshoot) in SetBackOvershoot() argument
24 if ((overshoot >= OVERSHOOT_MIN) && (overshoot <= OVERSHOOT_MAX)) { in SetBackOvershoot()
25 overshoot_ = overshoot; in SetBackOvershoot()
/foundation/arkui/ui_lite/test/uitest/test_animator/
H A Dui_test_animator.cpp129 SetUpButton(backOvershootBtn_, "overshoot+", positionX_, positionY_); in UIKitAnimatorTestBackEasing001()
256 static double overshoot = 1.7; in OnClick() local
258 overshoot += 1; in OnClick()
259 EasingEquation::SetBackOvershoot(overshoot); in OnClick()
/foundation/arkui/ui_lite/interfaces/kits/animator/
H A Deasing_equation.h65 * A larger <b>s</b> indicates a larger degree of overshoot. The default value is 1.7. You are advised to set
68 * @param overshoot Indicates the overshoot <b>s</b> in the equation to set.
73 static void SetBackOvershoot(double overshoot);
76 * @brief Eases in with an overshoot.
94 * @brief Eases out with an overshoot.
112 * @brief Eases in and then out with an overshoot.

Completed in 3 milliseconds