Searched refs:x_err (Results 1 – 10 of 10) sorted by relevance
554 u16 x_err =0; in filter_point() local565 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[all …]
514 u16 x_err = 0; local524 x_err = x > x_old[id] ? (x - x_old[id]) : (x_old[id] - x);527 …if ((x_err > FILTER_MAX && y_err > FILTER_MAX / 3) || (x_err > FILTER_MAX / 3 && y_err > FILTER_MA…528 filter_step_x = x_err;531 if (x_err > FILTER_MAX)532 filter_step_x = x_err;537 if (x_err <= 2 * FILTER_MAX && y_err <= 2 * FILTER_MAX) {540 } else if (x_err <= 3 * FILTER_MAX && y_err <= 3 * FILTER_MAX) {543 } else if (x_err <= 4 * FILTER_MAX && y_err <= 4 * FILTER_MAX) {557 u16 x_err = 0; local[all …]
621 u16 x_err = 0; in filter_point() local630 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()[all …]
640 u16 x_err = 0; in filter_point() local650 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[all …]
643 u16 x_err = 0; in filter_point() local652 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()[all …]
740 u16 x_err = 0; in filter_point() local750 x_err = x > x_old[id] ? (x - x_old[id]) : (x_old[id] - x); in filter_point()753 if ((x_err > FILTER_MAX && y_err > FILTER_MAX / 3) || in filter_point()754 (x_err > FILTER_MAX / 3 && y_err > FILTER_MAX)) { in filter_point()755 filter_step_x = x_err; in filter_point()758 if (x_err > FILTER_MAX) in filter_point()759 filter_step_x = x_err; in filter_point()764 if (x_err <= 2 * FILTER_MAX && y_err <= 2 * FILTER_MAX) { in filter_point()767 } else if (x_err <= 3 * FILTER_MAX && y_err <= 3 * FILTER_MAX) { in filter_point()770 } else if (x_err <= 4 * FILTER_MAX && y_err <= 4 * FILTER_MAX) { in filter_point()[all …]
713 u16 x_err = 0; in filter_point() local723 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()[all …]
615 u16 x_err = 0; in filter_point() local624 x_err = x > x_old[id] ? (x - x_old[id]) : (x_old[id] - x); in filter_point()626 if ((x_err > FILTER_MAX && y_err > FILTER_MAX / 3) || in filter_point()627 (x_err > FILTER_MAX / 3 && y_err > FILTER_MAX)) { in filter_point()628 filter_step_x = x_err; in filter_point()631 if (x_err > FILTER_MAX) in filter_point()632 filter_step_x = x_err; in filter_point()636 if (x_err <= 2 * FILTER_MAX && y_err <= 2 * FILTER_MAX) { in filter_point()639 } else if (x_err <= 3 * FILTER_MAX && y_err <= 3 * FILTER_MAX) { in filter_point()642 } else if (x_err <= 4 * FILTER_MAX && y_err <= 4 * FILTER_MAX) { in filter_point()[all …]
580 u16 x_err = 0; in filter_point() local590 x_err = x > x_old[id] ? (x - x_old[id]) : (x_old[id] - x); in filter_point()593 …if ((x_err > FILTER_MAX && y_err > FILTER_MAX / 3) || (x_err > FILTER_MAX / 3 && y_err > FILTER_MA… in filter_point()594 filter_step_x = x_err; in filter_point()597 if (x_err > FILTER_MAX) in filter_point()598 filter_step_x = x_err; in filter_point()603 if (x_err <= 2 * FILTER_MAX && y_err <= 2 * FILTER_MAX) { in filter_point()606 } else if (x_err <= 3 * FILTER_MAX && y_err <= 3 * FILTER_MAX) { in filter_point()609 } else if (x_err <= 4 * FILTER_MAX && y_err <= 4 * FILTER_MAX) { in filter_point()623 u16 x_err = 0; in record_point() local[all …]
452 unsigned int x, y, y_in, y_out, x_int, x_fract, x_err, x_offset; in device_process() local521 x_err = 0; in device_process()530 x_err += x_fract; in device_process()531 if (x_err > width) { in device_process()533 x_err -= width; in device_process()547 x_err += x_fract; in device_process()548 if (x_err > width) { in device_process()550 x_err -= width; in device_process()