Home
last modified time | relevance | path

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

/GUIX-v6.2.1/common/src/
Dgx_utility_8bpp_pixelmap_rotate.c88 INT cosv; in _gx_utility_8bpp_pixelmap_rotate() local
117 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_8bpp_pixelmap_rotate()
120 …xres = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sin… in _gx_utility_8bpp_pixelmap_rotate()
121 …yres = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sin… in _gx_utility_8bpp_pixelmap_rotate()
130 x = ((*rot_cx) - srcxres) * cosv - ((*rot_cy) - srcyres) * sinv; in _gx_utility_8bpp_pixelmap_rotate()
131 y = ((*rot_cy) - srcyres) * cosv + ((*rot_cx) - srcxres) * sinv; in _gx_utility_8bpp_pixelmap_rotate()
173 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_utility_8bpp_pixelmap_rotate()
174 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_utility_8bpp_pixelmap_rotate()
407 INT cosv; in _gx_utility_8bit_alphamap_rotate() local
447 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_8bit_alphamap_rotate()
[all …]
Dgx_circular_gauge_needle_rectangle_calculate.c88 INT cosv; in _gx_circular_gauge_needle_rectangle_calculate() local
122 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_circular_gauge_needle_rectangle_calculate()
125 …xres = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv… in _gx_circular_gauge_needle_rectangle_calculate()
126 …yres = GX_FIXED_VAL_TO_INT(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv… in _gx_circular_gauge_needle_rectangle_calculate()
136 x = (rot_cx - srcxres) * cosv - (rot_cy - srcyres) * sinv; in _gx_circular_gauge_needle_rectangle_calculate()
137 y = (rot_cy - srcyres) * cosv + (rot_cx - srcxres) * sinv; in _gx_circular_gauge_needle_rectangle_calculate()
Dgx_display_driver_8bpp_pixelmap_rotate.c88 INT cosv; in _gx_display_driver_8bpp_pixelmap_raw_rotate() local
116 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_pixelmap_raw_rotate()
119 …xres = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sin… in _gx_display_driver_8bpp_pixelmap_raw_rotate()
120 …yres = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sin… in _gx_display_driver_8bpp_pixelmap_raw_rotate()
127 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_8bpp_pixelmap_raw_rotate()
128 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_8bpp_pixelmap_raw_rotate()
141 xx = GX_FIXED_VAL_TO_INT((x - xres) * cosv + (y - yres) * sinv) + cx; in _gx_display_driver_8bpp_pixelmap_raw_rotate()
142 yy = GX_FIXED_VAL_TO_INT((y - yres) * cosv - (x - xres) * sinv) + cy; in _gx_display_driver_8bpp_pixelmap_raw_rotate()
218 INT cosv; in _gx_display_driver_8bpp_pixelmap_transparent_rotate() local
246 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_1555xrgb_pixelmap_rotate.c98 INT cosv; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate() local
153 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
156 …xres = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv… in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
157 …yres = GX_FIXED_VAL_TO_INT(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv… in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
161 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
162 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
172 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
173 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
352 INT cosv; in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate() local
407 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_1555xrgb_pixelmap_rotate.c97 INT cosv; in _gx_utility_1555xrgb_pixelmap_raw_rotate() local
130 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_1555xrgb_pixelmap_raw_rotate()
133 xres = mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
134 yres = my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
146 x = ((*rot_cx) - srcxres) * cosv - ((*rot_cy) - srcyres) * sinv; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
147 y = ((*rot_cy) - srcyres) * cosv + ((*rot_cx) - srcxres) * sinv; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
196 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
197 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
385 INT cosv; in _gx_utility_1555xrgb_pixelmap_alpha_rotate() local
417 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_1555xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_32argb_pixelmap_rotate.c98 INT cosv; in _gx_utility_32argb_pixelmap_raw_rotate() local
130 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_32argb_pixelmap_raw_rotate()
133 xres = mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv; in _gx_utility_32argb_pixelmap_raw_rotate()
134 yres = my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv; in _gx_utility_32argb_pixelmap_raw_rotate()
146 x = ((*rot_cx) - srcxres) * cosv - ((*rot_cy) - srcyres) * sinv; in _gx_utility_32argb_pixelmap_raw_rotate()
147 y = ((*rot_cy) - srcyres) * cosv + ((*rot_cx) - srcxres) * sinv; in _gx_utility_32argb_pixelmap_raw_rotate()
183 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_utility_32argb_pixelmap_raw_rotate()
184 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_utility_32argb_pixelmap_raw_rotate()
376 INT cosv; in _gx_utility_32argb_pixelmap_alpha_rotate() local
408 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_32argb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_4bpp_pixelmap_rotate.c88 INT cosv; in _gx_display_driver_4bpp_pixelmap_raw_rotate() local
120 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_4bpp_pixelmap_raw_rotate()
123 …xres = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sin… in _gx_display_driver_4bpp_pixelmap_raw_rotate()
124 …yres = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sin… in _gx_display_driver_4bpp_pixelmap_raw_rotate()
133 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_4bpp_pixelmap_raw_rotate()
134 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_4bpp_pixelmap_raw_rotate()
155 xx = GX_FIXED_VAL_TO_INT((x - xres) * cosv + (y - yres) * sinv) + cx; in _gx_display_driver_4bpp_pixelmap_raw_rotate()
156 yy = GX_FIXED_VAL_TO_INT((y - yres) * cosv - (x - xres) * sinv) + cy; in _gx_display_driver_4bpp_pixelmap_raw_rotate()
255 INT cosv; in _gx_display_driver_4bpp_pixelmap_transparent_rotate() local
286 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_4bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_1bpp_pixelmap_rotate.c88 INT cosv; in _gx_display_driver_1bpp_pixelmap_raw_rotate() local
120 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_1bpp_pixelmap_raw_rotate()
123 …xres = GX_FIXED_VAL_TO_INT((int)(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) … in _gx_display_driver_1bpp_pixelmap_raw_rotate()
124 …yres = GX_FIXED_VAL_TO_INT((int)(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) … in _gx_display_driver_1bpp_pixelmap_raw_rotate()
133 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_1bpp_pixelmap_raw_rotate()
134 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_1bpp_pixelmap_raw_rotate()
148 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_display_driver_1bpp_pixelmap_raw_rotate()
149 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_display_driver_1bpp_pixelmap_raw_rotate()
246 INT cosv; in _gx_display_driver_1bpp_pixelmap_transparent_rotate() local
276 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_1bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_32bpp_pixelmap_rotate.c102 INT cosv; in _gx_display_driver_24xrgb_pixelmap_rotate() local
157 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_24xrgb_pixelmap_rotate()
160 xres = mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv; in _gx_display_driver_24xrgb_pixelmap_rotate()
161 yres = my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv; in _gx_display_driver_24xrgb_pixelmap_rotate()
168 x = (cx - srcxres) * cosv - (cy - srcyres) * sinv; in _gx_display_driver_24xrgb_pixelmap_rotate()
169 y = (cy - srcyres) * cosv + (cx - srcxres) * sinv; in _gx_display_driver_24xrgb_pixelmap_rotate()
182 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_display_driver_24xrgb_pixelmap_rotate()
183 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_display_driver_24xrgb_pixelmap_rotate()
372 INT cosv; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate() local
428 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_24xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_332rgb_pixelmap_rotate.c243 INT cosv; in _gx_display_driver_332rgb_pixelmap_alpha_rotate() local
297 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
300 …xres = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv… in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
301 …yres = GX_FIXED_VAL_TO_INT(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv… in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
304 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
305 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
315 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
316 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
526 INT cosv; in _gx_display_driver_332rgb_pixelmap_raw_rotate() local
580 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_332rgb_pixelmap_raw_rotate()
[all …]
Dgx_display_driver_8bpp_rotated_pixelmap_rotate.c83 INT cosv; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate() local
140 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
143 …xres = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sin… in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
144 …yres = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sin… in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
151 x = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
152 y = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
168 xx = GX_FIXED_VAL_TO_INT((x - xres) * cosv + (y - yres) * sinv); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
169 yy = GX_FIXED_VAL_TO_INT((y - yres) * cosv - (x - xres) * sinv); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
244 INT cosv; in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate() local
301 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate()
[all …]
Dgx_canvas_pixelmap_rotate.c84 INT cosv; in _gx_canvas_rotated_pixelmap_bound_calculate() local
136 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_canvas_rotated_pixelmap_bound_calculate()
139 xres = mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv; in _gx_canvas_rotated_pixelmap_bound_calculate()
140 yres = my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv; in _gx_canvas_rotated_pixelmap_bound_calculate()
150 x = GX_FIXED_VAL_TO_INT((rot_cx - srcxres) * cosv - (rot_cy - srcyres) * sinv); in _gx_canvas_rotated_pixelmap_bound_calculate()
151 y = GX_FIXED_VAL_TO_INT((rot_cy - srcyres) * cosv + (rot_cx - srcxres) * sinv); in _gx_canvas_rotated_pixelmap_bound_calculate()
Dgx_utility_565rgb_pixelmap_rotate.c97 INT cosv; in _gx_utility_565rgb_pixelmap_raw_rotate() local
129 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_565rgb_pixelmap_raw_rotate()
132 xres = mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv; in _gx_utility_565rgb_pixelmap_raw_rotate()
133 yres = my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv; in _gx_utility_565rgb_pixelmap_raw_rotate()
145 x = ((*rot_cx) - srcxres) * cosv - ((*rot_cy) - srcyres) * sinv; in _gx_utility_565rgb_pixelmap_raw_rotate()
146 y = ((*rot_cy) - srcyres) * cosv + ((*rot_cx) - srcxres) * sinv; in _gx_utility_565rgb_pixelmap_raw_rotate()
195 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_utility_565rgb_pixelmap_raw_rotate()
196 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_utility_565rgb_pixelmap_raw_rotate()
381 INT cosv; in _gx_utility_565rgb_pixelmap_alpha_rotate() local
413 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_565rgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_332rgb_pixelmap_rotate.c95 INT cosv; in _gx_utility_332rgb_pixelmap_raw_rotate() local
127 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_332rgb_pixelmap_raw_rotate()
130 xres = mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv; in _gx_utility_332rgb_pixelmap_raw_rotate()
131 yres = my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv; in _gx_utility_332rgb_pixelmap_raw_rotate()
143 x = ((*rot_cx) - srcxres) * cosv - ((*rot_cy) - srcyres) * sinv; in _gx_utility_332rgb_pixelmap_raw_rotate()
144 y = ((*rot_cy) - srcyres) * cosv + ((*rot_cx) - srcxres) * sinv; in _gx_utility_332rgb_pixelmap_raw_rotate()
193 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_utility_332rgb_pixelmap_raw_rotate()
194 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_utility_332rgb_pixelmap_raw_rotate()
379 INT cosv; in _gx_utility_332rgb_pixelmap_alpha_rotate() local
411 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_332rgb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_16bpp_pixelmap_rotate.c98 INT cosv; in _gx_display_driver_565rgb_pixelmap_raw_rotate() local
153 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_565rgb_pixelmap_raw_rotate()
156 …xres = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv… in _gx_display_driver_565rgb_pixelmap_raw_rotate()
157 …yres = GX_FIXED_VAL_TO_INT(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv… in _gx_display_driver_565rgb_pixelmap_raw_rotate()
161 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_565rgb_pixelmap_raw_rotate()
162 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + yres; in _gx_display_driver_565rgb_pixelmap_raw_rotate()
172 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_display_driver_565rgb_pixelmap_raw_rotate()
173 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_display_driver_565rgb_pixelmap_raw_rotate()
352 INT cosv; in _gx_display_driver_565rgb_pixelmap_alpha_rotate() local
407 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_565rgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_4444argb_pixelmap_rotate.c101 INT cosv; in _gx_utility_4444argb_pixelmap_rotate() local
133 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_4444argb_pixelmap_rotate()
136 xres = mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv; in _gx_utility_4444argb_pixelmap_rotate()
137 yres = my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv; in _gx_utility_4444argb_pixelmap_rotate()
149 x = ((*rot_cx) - srcxres) * cosv - ((*rot_cy) - srcyres) * sinv; in _gx_utility_4444argb_pixelmap_rotate()
150 y = ((*rot_cy) - srcyres) * cosv + ((*rot_cx) - srcxres) * sinv; in _gx_utility_4444argb_pixelmap_rotate()
186 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_utility_4444argb_pixelmap_rotate()
187 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_utility_4444argb_pixelmap_rotate()
Dgx_display_driver_32bpp_rotated_pixelmap_rotate.c92 INT cosv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate() local
170 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
173 xres = mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
174 yres = my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
181 x = (cx - srcxres) * cosv - (cy - srcyres) * sinv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
182 y = (cy - srcyres) * cosv + (cx - srcxres) * sinv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
195 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
196 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
383 INT cosv; in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate() local
461 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_4444argb_pixelmap_rotate.c101 INT cosv; in _gx_display_driver_4444argb_pixelmap_general_rotate() local
156 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_4444argb_pixelmap_general_rotate()
159 …xres = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv… in _gx_display_driver_4444argb_pixelmap_general_rotate()
160 …yres = GX_FIXED_VAL_TO_INT(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv… in _gx_display_driver_4444argb_pixelmap_general_rotate()
164 xres = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv) + xres; in _gx_display_driver_4444argb_pixelmap_general_rotate()
165 yres = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv) + xres; in _gx_display_driver_4444argb_pixelmap_general_rotate()
175 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_display_driver_4444argb_pixelmap_general_rotate()
176 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_display_driver_4444argb_pixelmap_general_rotate()
Dgx_display_driver_16bpp_rotated_pixelmap_rotate.c94 INT cosv; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate() local
171 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
174 …xres = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv… in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
175 …yres = GX_FIXED_VAL_TO_INT(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv… in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
179 x = GX_FIXED_VAL_TO_INT((cx - srcxres) * cosv - (cy - srcyres) * sinv); in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
180 y = GX_FIXED_VAL_TO_INT((cy - srcyres) * cosv + (cx - srcxres) * sinv); in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
193 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
194 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
369 INT cosv; in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate() local
446 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_utility_1bpp_pixelmap_rotate.c88 INT cosv; in _gx_utility_1bpp_pixelmap_rotate() local
114 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_1bpp_pixelmap_rotate()
117 …xres = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sin… in _gx_utility_1bpp_pixelmap_rotate()
118 …yres = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sin… in _gx_utility_1bpp_pixelmap_rotate()
127 x = ((*rot_cx) - srcxres) * cosv - ((*rot_cy) - srcyres) * sinv; in _gx_utility_1bpp_pixelmap_rotate()
128 y = ((*rot_cy) - srcyres) * cosv + ((*rot_cx) - srcxres) * sinv; in _gx_utility_1bpp_pixelmap_rotate()
182 xx = (x - xres) * cosv + (y - yres) * sinv; in _gx_utility_1bpp_pixelmap_rotate()
183 yy = (y - yres) * cosv - (x - xres) * sinv; in _gx_utility_1bpp_pixelmap_rotate()
Dgx_utility_4bpp_pixelmap_rotate.c88 INT cosv; in _gx_utility_4bpp_pixelmap_rotate() local
119 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_4bpp_pixelmap_rotate()
122 …xres = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sin… in _gx_utility_4bpp_pixelmap_rotate()
123 …yres = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sin… in _gx_utility_4bpp_pixelmap_rotate()
132 x = ((*rot_cx) - srcxres) * cosv - ((*rot_cy) - srcyres) * sinv; in _gx_utility_4bpp_pixelmap_rotate()
133 y = ((*rot_cy) - srcyres) * cosv + ((*rot_cx) - srcxres) * sinv; in _gx_utility_4bpp_pixelmap_rotate()
201 xx = GX_FIXED_VAL_TO_INT((x - xres) * cosv + (y - yres) * sinv); in _gx_utility_4bpp_pixelmap_rotate()
202 yy = GX_FIXED_VAL_TO_INT((y - yres) * cosv - (x - xres) * sinv); in _gx_utility_4bpp_pixelmap_rotate()