Home
last modified time | relevance | path

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

/GUIX-v6.2.1/common/src/
Dgx_utility_8bpp_pixelmap_rotate.c86 INT srcxres; in _gx_utility_8bpp_pixelmap_rotate() local
114 srcxres = src -> gx_pixelmap_width >> 1; 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()
136 srcxres = *rot_cx; in _gx_utility_8bpp_pixelmap_rotate()
176 xx = GX_FIXED_VAL_TO_INT(xx) + srcxres; in _gx_utility_8bpp_pixelmap_rotate()
405 INT srcxres; in _gx_utility_8bit_alphamap_rotate() local
444 srcxres = src -> gx_pixelmap_width >> 1; in _gx_utility_8bit_alphamap_rotate()
[all …]
Dgx_circular_gauge_needle_rectangle_calculate.c86 INT srcxres; in _gx_circular_gauge_needle_rectangle_calculate() local
119 srcxres = needle_map -> gx_pixelmap_width >> 1; 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_rotated_pixelmap_rotate.c81 INT srcxres; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate() local
109 srcxres = pixelmap -> gx_pixelmap_height >> 1; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
129 srcxres = pixelmap->gx_pixelmap_height - 1 - srcxres; 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()
171 xx += srcxres; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
242 INT srcxres; in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate() local
270 srcxres = pixelmap -> gx_pixelmap_height >> 1; in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate()
[all …]
Dgx_utility_1555xrgb_pixelmap_rotate.c95 INT srcxres; in _gx_utility_1555xrgb_pixelmap_raw_rotate() local
127 srcxres = src -> gx_pixelmap_width >> 1; 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()
149 srcxres = (INT)*rot_cx; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
205 xx += srcxres; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
383 INT srcxres; in _gx_utility_1555xrgb_pixelmap_alpha_rotate() local
414 srcxres = src -> gx_pixelmap_width >> 1; in _gx_utility_1555xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_32argb_pixelmap_rotate.c96 INT srcxres; in _gx_utility_32argb_pixelmap_raw_rotate() local
127 srcxres = src -> gx_pixelmap_width >> 1; 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()
149 srcxres = *rot_cx; in _gx_utility_32argb_pixelmap_raw_rotate()
189 xx = GX_FIXED_VAL_TO_INT(xx) + srcxres; in _gx_utility_32argb_pixelmap_raw_rotate()
374 INT srcxres; in _gx_utility_32argb_pixelmap_alpha_rotate() local
405 srcxres = src -> gx_pixelmap_width >> 1; in _gx_utility_32argb_pixelmap_alpha_rotate()
[all …]
Dgx_canvas_pixelmap_rotate.c82 INT srcxres; in _gx_canvas_rotated_pixelmap_bound_calculate() local
133 srcxres = width >> 1; 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_display_driver_8bpp_pixelmap_rotate.c86 INT srcxres; in _gx_display_driver_8bpp_pixelmap_raw_rotate() local
113 srcxres = pixelmap -> gx_pixelmap_width >> 1; 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()
216 INT srcxres; in _gx_display_driver_8bpp_pixelmap_transparent_rotate() local
243 srcxres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_8bpp_pixelmap_transparent_rotate()
249 …xres = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sin… in _gx_display_driver_8bpp_pixelmap_transparent_rotate()
250 …yres = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sin… in _gx_display_driver_8bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_1555xrgb_pixelmap_rotate.c96 INT srcxres; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate() local
150 srcxres = pixelmap -> gx_pixelmap_width >> 1; 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()
350 INT srcxres; in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate() local
404 srcxres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate()
410 …xres = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv… in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate()
411 …yres = GX_FIXED_VAL_TO_INT(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv… in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_565rgb_pixelmap_rotate.c95 INT srcxres; in _gx_utility_565rgb_pixelmap_raw_rotate() local
126 srcxres = src -> gx_pixelmap_width >> 1; 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()
148 srcxres = (INT)*rot_cx; in _gx_utility_565rgb_pixelmap_raw_rotate()
201 xx = GX_FIXED_VAL_TO_INT(xx) + srcxres; in _gx_utility_565rgb_pixelmap_raw_rotate()
379 INT srcxres; in _gx_utility_565rgb_pixelmap_alpha_rotate() local
410 srcxres = src -> gx_pixelmap_width >> 1; in _gx_utility_565rgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_332rgb_pixelmap_rotate.c93 INT srcxres; in _gx_utility_332rgb_pixelmap_raw_rotate() local
124 srcxres = src -> gx_pixelmap_width >> 1; 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()
146 srcxres = *rot_cx; in _gx_utility_332rgb_pixelmap_raw_rotate()
199 xx = GX_FIXED_VAL_TO_INT(xx) + srcxres; in _gx_utility_332rgb_pixelmap_raw_rotate()
377 INT srcxres; in _gx_utility_332rgb_pixelmap_alpha_rotate() local
408 srcxres = src -> gx_pixelmap_width >> 1; in _gx_utility_332rgb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_32bpp_rotated_pixelmap_rotate.c90 INT srcxres; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate() local
139 srcxres = pixelmap -> gx_pixelmap_height >> 1; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
159 srcxres = pixelmap -> gx_pixelmap_height - 1 - srcxres; 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()
201 xx = GX_FIXED_VAL_TO_INT(xx) + srcxres; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
381 INT srcxres; in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate() local
430 srcxres = pixelmap -> gx_pixelmap_height >> 1; in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_4bpp_pixelmap_rotate.c86 INT srcxres; in _gx_display_driver_4bpp_pixelmap_raw_rotate() local
117 srcxres = pixelmap -> gx_pixelmap_width >> 1; 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()
253 INT srcxres; in _gx_display_driver_4bpp_pixelmap_transparent_rotate() local
283 srcxres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_4bpp_pixelmap_transparent_rotate()
289 …xres = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sin… in _gx_display_driver_4bpp_pixelmap_transparent_rotate()
290 …yres = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sin… in _gx_display_driver_4bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_1bpp_pixelmap_rotate.c86 INT srcxres; in _gx_display_driver_1bpp_pixelmap_raw_rotate() local
117 srcxres = pixelmap -> gx_pixelmap_width >> 1; 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()
244 INT srcxres; in _gx_display_driver_1bpp_pixelmap_transparent_rotate() local
273 srcxres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_1bpp_pixelmap_transparent_rotate()
279 …xres = GX_FIXED_VAL_TO_INT((mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sin… in _gx_display_driver_1bpp_pixelmap_transparent_rotate()
280 …yres = GX_FIXED_VAL_TO_INT((my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sin… in _gx_display_driver_1bpp_pixelmap_transparent_rotate()
[all …]
Dgx_display_driver_16bpp_rotated_pixelmap_rotate.c92 INT srcxres; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate() local
140 srcxres = pixelmap -> gx_pixelmap_height >> 1; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
160 srcxres = pixelmap -> gx_pixelmap_height - 1 - srcxres; 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()
199 xx = GX_FIXED_VAL_TO_INT(xx) + srcxres; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
367 INT srcxres; in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate() local
415 srcxres = pixelmap -> gx_pixelmap_height >> 1; in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_utility_4444argb_pixelmap_rotate.c99 INT srcxres; in _gx_utility_4444argb_pixelmap_rotate() local
130 srcxres = src -> gx_pixelmap_width >> 1; 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()
152 srcxres = *rot_cx; in _gx_utility_4444argb_pixelmap_rotate()
192 xx = GX_FIXED_VAL_TO_INT(xx) + srcxres; in _gx_utility_4444argb_pixelmap_rotate()
Dgx_display_driver_32bpp_pixelmap_rotate.c100 INT srcxres; in _gx_display_driver_24xrgb_pixelmap_rotate() local
154 srcxres = pixelmap -> gx_pixelmap_width >> 1; 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()
370 INT srcxres; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate() local
424 srcxres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate()
431 xres = mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate()
432 yres = my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_332rgb_pixelmap_rotate.c241 INT srcxres; in _gx_display_driver_332rgb_pixelmap_alpha_rotate() local
294 srcxres = pixelmap -> gx_pixelmap_width >> 1; 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()
524 INT srcxres; in _gx_display_driver_332rgb_pixelmap_raw_rotate() local
577 srcxres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_332rgb_pixelmap_raw_rotate()
583 …xres = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv… in _gx_display_driver_332rgb_pixelmap_raw_rotate()
584 …yres = GX_FIXED_VAL_TO_INT(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv… in _gx_display_driver_332rgb_pixelmap_raw_rotate()
[all …]
Dgx_utility_1bpp_pixelmap_rotate.c86 INT srcxres; in _gx_utility_1bpp_pixelmap_rotate() local
111 srcxres = src -> gx_pixelmap_width >> 1; 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()
133 srcxres = *rot_cx; in _gx_utility_1bpp_pixelmap_rotate()
185 xx = GX_FIXED_VAL_TO_INT(xx) + srcxres; in _gx_utility_1bpp_pixelmap_rotate()
Dgx_display_driver_16bpp_pixelmap_rotate.c96 INT srcxres; in _gx_display_driver_565rgb_pixelmap_raw_rotate() local
150 srcxres = pixelmap -> gx_pixelmap_width >> 1; 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()
350 INT srcxres; in _gx_display_driver_565rgb_pixelmap_alpha_rotate() local
404 srcxres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_565rgb_pixelmap_alpha_rotate()
410 …xres = GX_FIXED_VAL_TO_INT(mx[idxmaxx] * (srcxres + 2) * cosv - my[idxmaxx] * (srcyres + 2) * sinv… in _gx_display_driver_565rgb_pixelmap_alpha_rotate()
411 …yres = GX_FIXED_VAL_TO_INT(my[idxmaxy] * (srcyres + 2) * cosv + mx[idxmaxy] * (srcxres + 2) * sinv… in _gx_display_driver_565rgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_4bpp_pixelmap_rotate.c86 INT srcxres; in _gx_utility_4bpp_pixelmap_rotate() local
116 srcxres = src -> gx_pixelmap_width >> 1; 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()
138 srcxres = *rot_cx; in _gx_utility_4bpp_pixelmap_rotate()
204 xx += srcxres; in _gx_utility_4bpp_pixelmap_rotate()
Dgx_display_driver_4444argb_pixelmap_rotate.c99 INT srcxres; in _gx_display_driver_4444argb_pixelmap_general_rotate() local
153 srcxres = pixelmap -> gx_pixelmap_width >> 1; 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()