Lines Matching refs:x_err
621 u16 x_err = 0; in filter_point() local
630 x_err = x > x_old[id] ? (x - x_old[id]) : (x_old[id] - x); in filter_point()
632 if ((x_err > FILTER_MAX && y_err > FILTER_MAX / 3) || in filter_point()
633 (x_err > FILTER_MAX / 3 && y_err > FILTER_MAX)) { in filter_point()
634 filter_step_x = x_err; in filter_point()
637 if (x_err > FILTER_MAX) in filter_point()
638 filter_step_x = x_err; in filter_point()
642 if (x_err <= 2 * FILTER_MAX && y_err <= 2 * FILTER_MAX) { in filter_point()
645 } else if (x_err <= 3 * FILTER_MAX && y_err <= 3 * FILTER_MAX) { in filter_point()
648 } else if (x_err <= 4 * FILTER_MAX && y_err <= 4 * FILTER_MAX) { in filter_point()
663 u16 x_err = 0; in record_point() local
674 x_err = x - x_old[id]; in record_point()
676 x_err = x_old[id] - x; in record_point()
681 if ((x_err > 3 && y_err > 1) || (x_err > 1 && y_err > 3)) { in record_point()
687 if (x_err > 3) { in record_point()