Lines Matching refs:x_err
554 u16 x_err =0; in filter_point() local
565 x_err = x > x_old[id] ? (x -x_old[id]) : (x_old[id] - x); in filter_point()
568 … if( (x_err > FILTER_MAX && y_err > FILTER_MAX/3) || (x_err > FILTER_MAX/3 && y_err > FILTER_MAX) ) in filter_point()
570 filter_step_x = x_err; in filter_point()
575 if(x_err > FILTER_MAX) in filter_point()
576 filter_step_x = x_err; in filter_point()
581 if(x_err <= 2*FILTER_MAX && y_err <= 2*FILTER_MAX) in filter_point()
586 else if(x_err <= 3*FILTER_MAX && y_err <= 3*FILTER_MAX) in filter_point()
591 else if(x_err <= 4*FILTER_MAX && y_err <= 4*FILTER_MAX) in filter_point()
606 u16 x_err =0; in record_point() local
620 x_err=x -x_old[id]; in record_point()
623 x_err=x_old[id]-x; in record_point()
633 if( (x_err > 3 && y_err > 1) || (x_err > 1 && y_err > 3) ){ in record_point()
638 if(x_err > 3){ in record_point()