Home
last modified time | relevance | path

Searched refs:matrix_ptr (Results 1 – 1 of 1) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_touch_driver_generic_resistive.c264 TOUCH_CALIBRATION_MATRIX *matrix_ptr = &touch->gx_resistive_touch_calibration_matrix; in _gx_touch_driver_generic_resistive_coord_calculate() local
266 if (matrix_ptr->Divider != 0) in _gx_touch_driver_generic_resistive_coord_calculate()
269 (GX_VALUE) (((matrix_ptr -> An * raw_coord -> gx_point_x) + in _gx_touch_driver_generic_resistive_coord_calculate()
270 (matrix_ptr -> Bn * raw_coord -> gx_point_y) + in _gx_touch_driver_generic_resistive_coord_calculate()
271 matrix_ptr -> Cn) / matrix_ptr -> Divider); in _gx_touch_driver_generic_resistive_coord_calculate()
274 (GX_VALUE) (((matrix_ptr -> Dn * raw_coord -> gx_point_x) + in _gx_touch_driver_generic_resistive_coord_calculate()
275 (matrix_ptr -> En * raw_coord -> gx_point_y) + in _gx_touch_driver_generic_resistive_coord_calculate()
276 matrix_ptr -> Fn) / matrix_ptr -> Divider); in _gx_touch_driver_generic_resistive_coord_calculate()
384 TOUCH_CALIBRATION_MATRIX *matrix_ptr = &touch->gx_resistive_touch_calibration_matrix; in _gx_touch_driver_generic_resistive_calibration_matrix_set() local
386matrix_ptr -> Divider = ((touch_points[0].gx_point_x - touch_points[2].gx_point_x) * (touch_points… in _gx_touch_driver_generic_resistive_calibration_matrix_set()
[all …]