Lines Matching refs:x
114 LV_ATTRIBUTE_FAST_MEM void _lv_sqrt(uint32_t x, lv_sqrt_res_t * q, uint32_t mask) in _lv_sqrt() argument
116 x = x << 8; /*To get 4 bit precision. (sqrt(256) = 16 = 4 bit)*/ in _lv_sqrt()
123 if((uint32_t)trial * trial <= x) root = trial; in _lv_sqrt()
137 uint16_t _lv_atan2(int x, int y) in _lv_atan2() argument
160 if(x < 0) { in _lv_atan2()
162 x = (0 - x); // is now + in _lv_atan2()
164 ux = x; // copy to unsigned var before multiply in _lv_atan2()
243 int16_t _lv_map(int32_t x, int32_t min_in, int32_t max_in, int32_t min_out, int32_t max_out) in _lv_map() argument
245 if(x <= min_in) return min_out; in _lv_map()
246 if(x >= max_in) return max_out; in _lv_map()
257 return ((x - min_in) * delta_out) / delta_in + min_out; in _lv_map()