Home
last modified time | relevance | path

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

/GUIX-v6.4.1/common/src/
Dgx_utility_8bpp_pixelmap_rotate.c89 INT sinv; in _gx_utility_8bpp_pixelmap_rotate() local
118 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_8bpp_pixelmap_rotate()
120 …s = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv)); in _gx_utility_8bpp_pixelmap_rotate()
121 …s = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv)); 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()
408 INT sinv; in _gx_utility_8bit_alphamap_rotate() local
448 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_8bit_alphamap_rotate()
[all …]
Dgx_circular_gauge_needle_rectangle_calculate.c89 INT sinv; in _gx_circular_gauge_needle_rectangle_calculate() local
123 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_circular_gauge_needle_rectangle_calculate()
125 …res = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv); in _gx_circular_gauge_needle_rectangle_calculate()
126 …res = 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.c89 INT sinv; in _gx_display_driver_8bpp_pixelmap_raw_rotate() local
117 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_pixelmap_raw_rotate()
119 …s = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv)); in _gx_display_driver_8bpp_pixelmap_raw_rotate()
120 …s = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv)); 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()
219 INT sinv; in _gx_display_driver_8bpp_pixelmap_transparent_rotate() local
247 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_1555xrgb_pixelmap_rotate.c99 INT sinv; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate() local
154 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
156 …res = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv); in _gx_display_driver_1555xrgb_pixelmap_raw_rotate()
157 …res = 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()
353 INT sinv; in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate() local
408 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_1555xrgb_pixelmap_rotate.c98 INT sinv; in _gx_utility_1555xrgb_pixelmap_raw_rotate() local
131 sinv = _gx_utility_math_sin(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()
386 INT sinv; in _gx_utility_1555xrgb_pixelmap_alpha_rotate() local
418 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_1555xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_32argb_pixelmap_rotate.c99 INT sinv; in _gx_utility_32argb_pixelmap_raw_rotate() local
131 sinv = _gx_utility_math_sin(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()
377 INT sinv; in _gx_utility_32argb_pixelmap_alpha_rotate() local
409 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_32argb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_4bpp_pixelmap_rotate.c89 INT sinv; in _gx_display_driver_4bpp_pixelmap_raw_rotate() local
121 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_4bpp_pixelmap_raw_rotate()
123 …s = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv)); in _gx_display_driver_4bpp_pixelmap_raw_rotate()
124 …s = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv)); 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()
256 INT sinv; in _gx_display_driver_4bpp_pixelmap_transparent_rotate() local
287 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_4bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_1bpp_pixelmap_rotate.c89 INT sinv; in _gx_display_driver_1bpp_pixelmap_raw_rotate() local
121 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_1bpp_pixelmap_raw_rotate()
123 …X_FIXED_VAL_TO_INT((int)(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv)); in _gx_display_driver_1bpp_pixelmap_raw_rotate()
124 …X_FIXED_VAL_TO_INT((int)(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv)); 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()
247 INT sinv; in _gx_display_driver_1bpp_pixelmap_transparent_rotate() local
277 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_1bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_32bpp_pixelmap_rotate.c103 INT sinv; in _gx_display_driver_24xrgb_pixelmap_rotate() local
158 sinv = _gx_utility_math_sin(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()
373 INT sinv; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate() local
429 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_24xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_332rgb_pixelmap_rotate.c244 INT sinv; in _gx_display_driver_332rgb_pixelmap_alpha_rotate() local
298 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
300 …res = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv); in _gx_display_driver_332rgb_pixelmap_alpha_rotate()
301 …res = 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()
527 INT sinv; in _gx_display_driver_332rgb_pixelmap_raw_rotate() local
581 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_332rgb_pixelmap_raw_rotate()
[all …]
Dgx_display_driver_8bpp_rotated_pixelmap_rotate.c84 INT sinv; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate() local
141 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
143 …s = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv)); in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
144 …s = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv)); 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()
245 INT sinv; in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate() local
302 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate()
[all …]
Dgx_canvas_pixelmap_rotate.c85 INT sinv; in _gx_canvas_rotated_pixelmap_bound_calculate() local
137 sinv = _gx_utility_math_sin(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_332rgb_pixelmap_rotate.c96 INT sinv; in _gx_utility_332rgb_pixelmap_raw_rotate() local
128 sinv = _gx_utility_math_sin(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()
380 INT sinv; in _gx_utility_332rgb_pixelmap_alpha_rotate() local
412 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_332rgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_565rgb_pixelmap_rotate.c98 INT sinv; in _gx_utility_565rgb_pixelmap_raw_rotate() local
130 sinv = _gx_utility_math_sin(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()
382 INT sinv; in _gx_utility_565rgb_pixelmap_alpha_rotate() local
414 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_565rgb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_16bpp_pixelmap_rotate.c99 INT sinv; in _gx_display_driver_565rgb_pixelmap_raw_rotate() local
154 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_565rgb_pixelmap_raw_rotate()
156 …res = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv); in _gx_display_driver_565rgb_pixelmap_raw_rotate()
157 …res = 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()
353 INT sinv; in _gx_display_driver_565rgb_pixelmap_alpha_rotate() local
408 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_565rgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_4444argb_pixelmap_rotate.c102 INT sinv; in _gx_utility_4444argb_pixelmap_rotate() local
134 sinv = _gx_utility_math_sin(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.c93 INT sinv; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate() local
171 sinv = _gx_utility_math_sin(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()
384 INT sinv; in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate() local
462 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_4444argb_pixelmap_rotate.c102 INT sinv; in _gx_display_driver_4444argb_pixelmap_general_rotate() local
157 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_4444argb_pixelmap_general_rotate()
159 …res = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv); in _gx_display_driver_4444argb_pixelmap_general_rotate()
160 …res = 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.c95 INT sinv; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate() local
172 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
174 …res = 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 …res = 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()
370 INT sinv; in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate() local
447 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_utility_1bpp_pixelmap_rotate.c89 INT sinv; in _gx_utility_1bpp_pixelmap_rotate() local
115 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_1bpp_pixelmap_rotate()
117 …s = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv)); in _gx_utility_1bpp_pixelmap_rotate()
118 …s = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv)); 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.c89 INT sinv; in _gx_utility_4bpp_pixelmap_rotate() local
120 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_utility_4bpp_pixelmap_rotate()
122 …s = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv)); in _gx_utility_4bpp_pixelmap_rotate()
123 …s = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv)); 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()