Lines Matching refs:x_err
640 u16 x_err = 0; in filter_point() local
650 x_err = x > x_old[id] ? (x - x_old[id]) : (x_old[id] - x); in filter_point()
653 …if ((x_err > FILTER_MAX && y_err > FILTER_MAX / 3) || (x_err > FILTER_MAX / 3 && y_err > FILTER_MA… in filter_point()
654 filter_step_x = x_err; in filter_point()
657 if (x_err > FILTER_MAX) in filter_point()
658 filter_step_x = x_err; in filter_point()
663 if (x_err <= 2 * FILTER_MAX && y_err <= 2 * FILTER_MAX) { in filter_point()
666 } else if (x_err <= 3 * FILTER_MAX && y_err <= 3 * FILTER_MAX) { in filter_point()
669 } else if (x_err <= 4 * FILTER_MAX && y_err <= 4 * FILTER_MAX) { in filter_point()
683 u16 x_err = 0; in record_point() local
697 x_err = x - x_old[id]; in record_point()
699 x_err = x_old[id] - x; in record_point()
706 if ((x_err > 3 && y_err > 1) || (x_err > 1 && y_err > 3)) { in record_point()
712 if (x_err > 3) { in record_point()