Lines Matching refs:x_err
713 u16 x_err = 0; in filter_point() local
723 x_err = x > x_old[id] ? (x - x_old[id]) : (x_old[id] - x); in filter_point()
726 if ((x_err > FILTER_MAX && y_err > FILTER_MAX / 3) || in filter_point()
727 (x_err > FILTER_MAX / 3 && y_err > FILTER_MAX)) { in filter_point()
728 filter_step_x = x_err; in filter_point()
731 if (x_err > FILTER_MAX) in filter_point()
732 filter_step_x = x_err; in filter_point()
737 if (x_err <= 2 * FILTER_MAX && y_err <= 2 * FILTER_MAX) { in filter_point()
740 } else if (x_err <= 3 * FILTER_MAX && y_err <= 3 * FILTER_MAX) { in filter_point()
743 } else if (x_err <= 4 * FILTER_MAX && y_err <= 4 * FILTER_MAX) { in filter_point()
763 u16 x_err = 0; in record_point() local
777 x_err = x - x_old[id]; in record_point()
779 x_err = x_old[id] - x; in record_point()
786 if ((x_err > 3 && y_err > 1) || (x_err > 1 && y_err > 3)) { in record_point()
792 if (x_err > 3) { in record_point()