Lines Matching defs:threshold

59  *  function selection (threshold =/!= 0)
66 double threshold, double acc);
755 double velocity, double threshold, double acc)
760 result = vel->Profile(dev, vel, velocity, threshold, acc);
775 DeviceVelocityPtr vel, double threshold, double acc)
793 BasicComputeAcceleration(dev, vel, vel->velocity, threshold, acc);
795 BasicComputeAcceleration(dev, vel, vel->last_velocity, threshold,
801 threshold,
809 vel->velocity, threshold, acc);
839 double velocity, double threshold, double acc)
841 if (threshold > 0) {
842 return SimpleSmoothProfile(dev, vel, velocity, threshold, acc);
860 double velocity, double threshold, double acc)
866 if (velocity <= threshold)
868 vel_dist = velocity - threshold;
894 double velocity, double threshold, double acc)
898 if (threshold < 1.0f)
899 threshold = 1.0f;
900 if (velocity <= threshold)
902 velocity /= threshold;
916 double velocity, double threshold, double acc)
925 nv = (velocity - threshold) * acc * 0.5;
943 * From 0 to threshold, the response graduates smoothly from min_accel to
944 * acceleration. Beyond threshold it is exactly the specified acceleration.
949 double velocity, double threshold, double acc)
953 if (velocity >= threshold || threshold == 0.0)
956 velocity /= threshold; /* should be [0..1[ now */
966 double velocity, double threshold, double acc)
973 DeviceVelocityPtr vel, double velocity, double threshold, double acc)
1118 dev->ptrfeed->ctrl.threshold,
1165 if (dev->ptrfeed->ctrl.threshold) {
1166 if ((fabs(dx) + fabs(dy)) >= dev->ptrfeed->ctrl.threshold) {