Lines Matching refs:x_err
643 u16 x_err = 0; in filter_point() local
652 x_err = x > x_old[id] ? (x - x_old[id]) : (x_old[id] - x); in filter_point()
654 if ((x_err > FILTER_MAX && y_err > FILTER_MAX / 3) || in filter_point()
655 (x_err > FILTER_MAX / 3 && y_err > FILTER_MAX)) { in filter_point()
656 filter_step_x = x_err; in filter_point()
659 if (x_err > FILTER_MAX) in filter_point()
660 filter_step_x = x_err; in filter_point()
664 if (x_err <= 2 * FILTER_MAX && y_err <= 2 * FILTER_MAX) { in filter_point()
667 } else if (x_err <= 3 * FILTER_MAX && y_err <= 3 * FILTER_MAX) { in filter_point()
670 } else if (x_err <= 4 * FILTER_MAX && y_err <= 4 * FILTER_MAX) { in filter_point()
685 u16 x_err = 0; in record_point() local
696 x_err = x - x_old[id]; in record_point()
698 x_err = x_old[id] - x; in record_point()
703 if ((x_err > 3 && y_err > 1) || (x_err > 1 && y_err > 3)) { in record_point()
709 if (x_err > 3) { in record_point()