Home
last modified time | relevance | path

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

/GUIX-v6.4.1/common/src/
Dgx_utility_8bpp_pixelmap_rotate.c87 INT srcyres; in _gx_utility_8bpp_pixelmap_rotate() local
115 srcyres = src -> gx_pixelmap_height >> 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()
137 srcyres = *rot_cy; in _gx_utility_8bpp_pixelmap_rotate()
177 yy = GX_FIXED_VAL_TO_INT(yy) + srcyres; in _gx_utility_8bpp_pixelmap_rotate()
406 INT srcyres; in _gx_utility_8bit_alphamap_rotate() local
445 srcyres = src -> gx_pixelmap_height >> 1; in _gx_utility_8bit_alphamap_rotate()
[all …]
Dgx_circular_gauge_needle_rectangle_calculate.c87 INT srcyres; in _gx_circular_gauge_needle_rectangle_calculate() local
120 srcyres = needle_map -> gx_pixelmap_height >> 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.c82 INT srcyres; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate() local
110 srcyres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
117 srcyres = pixelmap->gx_pixelmap_width - 1 - srcyres; 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()
172 yy += srcyres; in _gx_display_driver_8bpp_rotated_pixelmap_raw_rotate()
243 INT srcyres; in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate() local
271 srcyres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_8bpp_rotated_pixelmap_transparent_rotate()
[all …]
Dgx_utility_1555xrgb_pixelmap_rotate.c96 INT srcyres; in _gx_utility_1555xrgb_pixelmap_raw_rotate() local
128 srcyres = src -> gx_pixelmap_height >> 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()
150 srcyres = (INT)*rot_cy; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
206 yy += srcyres; in _gx_utility_1555xrgb_pixelmap_raw_rotate()
384 INT srcyres; in _gx_utility_1555xrgb_pixelmap_alpha_rotate() local
415 srcyres = src -> gx_pixelmap_height >> 1; in _gx_utility_1555xrgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_32argb_pixelmap_rotate.c97 INT srcyres; in _gx_utility_32argb_pixelmap_raw_rotate() local
128 srcyres = src -> gx_pixelmap_height >> 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()
150 srcyres = *rot_cy; in _gx_utility_32argb_pixelmap_raw_rotate()
190 yy = GX_FIXED_VAL_TO_INT(yy) + srcyres; in _gx_utility_32argb_pixelmap_raw_rotate()
375 INT srcyres; in _gx_utility_32argb_pixelmap_alpha_rotate() local
406 srcyres = src -> gx_pixelmap_height >> 1; in _gx_utility_32argb_pixelmap_alpha_rotate()
[all …]
Dgx_canvas_pixelmap_rotate.c83 INT srcyres; in _gx_canvas_rotated_pixelmap_bound_calculate() local
134 srcyres = height >> 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.c87 INT srcyres; in _gx_display_driver_8bpp_pixelmap_raw_rotate() local
114 srcyres = pixelmap -> gx_pixelmap_height >> 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()
217 INT srcyres; in _gx_display_driver_8bpp_pixelmap_transparent_rotate() local
244 srcyres = pixelmap -> gx_pixelmap_height >> 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.c97 INT srcyres; in _gx_display_driver_1555xrgb_pixelmap_raw_rotate() local
151 srcyres = pixelmap -> gx_pixelmap_height >> 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()
351 INT srcyres; in _gx_display_driver_1555xrgb_pixelmap_alpha_rotate() local
405 srcyres = pixelmap -> gx_pixelmap_height >> 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_332rgb_pixelmap_rotate.c94 INT srcyres; in _gx_utility_332rgb_pixelmap_raw_rotate() local
125 srcyres = src -> gx_pixelmap_height >> 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()
147 srcyres = *rot_cy; in _gx_utility_332rgb_pixelmap_raw_rotate()
200 yy = GX_FIXED_VAL_TO_INT(yy) + srcyres; in _gx_utility_332rgb_pixelmap_raw_rotate()
378 INT srcyres; in _gx_utility_332rgb_pixelmap_alpha_rotate() local
409 srcyres = src -> gx_pixelmap_height >> 1; in _gx_utility_332rgb_pixelmap_alpha_rotate()
[all …]
Dgx_utility_565rgb_pixelmap_rotate.c96 INT srcyres; in _gx_utility_565rgb_pixelmap_raw_rotate() local
127 srcyres = src -> gx_pixelmap_height >> 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()
149 srcyres = (INT)*rot_cy; in _gx_utility_565rgb_pixelmap_raw_rotate()
202 yy = GX_FIXED_VAL_TO_INT(yy) + srcyres; in _gx_utility_565rgb_pixelmap_raw_rotate()
380 INT srcyres; in _gx_utility_565rgb_pixelmap_alpha_rotate() local
411 srcyres = src -> gx_pixelmap_height >> 1; in _gx_utility_565rgb_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_32bpp_rotated_pixelmap_rotate.c91 INT srcyres; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate() local
140 srcyres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
147 srcyres = pixelmap -> gx_pixelmap_width - 1 - srcyres; 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()
202 yy = GX_FIXED_VAL_TO_INT(yy) + srcyres; in _gx_display_driver_32bpp_rotated_pixelmap_raw_rotate()
382 INT srcyres; in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate() local
431 srcyres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_32bpp_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_display_driver_4bpp_pixelmap_rotate.c87 INT srcyres; in _gx_display_driver_4bpp_pixelmap_raw_rotate() local
118 srcyres = pixelmap -> gx_pixelmap_height >> 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()
254 INT srcyres; in _gx_display_driver_4bpp_pixelmap_transparent_rotate() local
284 srcyres = pixelmap -> gx_pixelmap_height >> 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.c87 INT srcyres; in _gx_display_driver_1bpp_pixelmap_raw_rotate() local
118 srcyres = pixelmap -> gx_pixelmap_height >> 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()
245 INT srcyres; in _gx_display_driver_1bpp_pixelmap_transparent_rotate() local
274 srcyres = pixelmap -> gx_pixelmap_height >> 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.c93 INT srcyres; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate() local
141 srcyres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
148 srcyres = pixelmap -> gx_pixelmap_width - 1 - srcyres; 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()
200 yy = GX_FIXED_VAL_TO_INT(yy) + srcyres; in _gx_display_driver_565rgb_rotated_pixelmap_raw_rotate()
368 INT srcyres; in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate() local
416 srcyres = pixelmap -> gx_pixelmap_width >> 1; in _gx_display_driver_565rgb_rotated_pixelmap_alpha_rotate()
[all …]
Dgx_utility_4444argb_pixelmap_rotate.c100 INT srcyres; in _gx_utility_4444argb_pixelmap_rotate() local
131 srcyres = src -> gx_pixelmap_height >> 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()
153 srcyres = *rot_cy; in _gx_utility_4444argb_pixelmap_rotate()
193 yy = GX_FIXED_VAL_TO_INT(yy) + srcyres; in _gx_utility_4444argb_pixelmap_rotate()
Dgx_display_driver_32bpp_pixelmap_rotate.c101 INT srcyres; in _gx_display_driver_24xrgb_pixelmap_rotate() local
155 srcyres = pixelmap -> gx_pixelmap_height >> 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()
371 INT srcyres; in _gx_display_driver_24xrgb_pixelmap_alpha_rotate() local
425 srcyres = pixelmap -> gx_pixelmap_height >> 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.c242 INT srcyres; in _gx_display_driver_332rgb_pixelmap_alpha_rotate() local
295 srcyres = pixelmap -> gx_pixelmap_height >> 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()
525 INT srcyres; in _gx_display_driver_332rgb_pixelmap_raw_rotate() local
578 srcyres = pixelmap -> gx_pixelmap_height >> 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.c87 INT srcyres; in _gx_utility_1bpp_pixelmap_rotate() local
112 srcyres = src -> gx_pixelmap_height >> 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()
134 srcyres = *rot_cy; in _gx_utility_1bpp_pixelmap_rotate()
186 yy = GX_FIXED_VAL_TO_INT(yy) + srcyres; in _gx_utility_1bpp_pixelmap_rotate()
Dgx_display_driver_16bpp_pixelmap_rotate.c97 INT srcyres; in _gx_display_driver_565rgb_pixelmap_raw_rotate() local
151 srcyres = pixelmap -> gx_pixelmap_height >> 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()
351 INT srcyres; in _gx_display_driver_565rgb_pixelmap_alpha_rotate() local
405 srcyres = pixelmap -> gx_pixelmap_height >> 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.c87 INT srcyres; in _gx_utility_4bpp_pixelmap_rotate() local
117 srcyres = src -> gx_pixelmap_height >> 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()
139 srcyres = *rot_cy; in _gx_utility_4bpp_pixelmap_rotate()
205 yy += srcyres; in _gx_utility_4bpp_pixelmap_rotate()
Dgx_display_driver_4444argb_pixelmap_rotate.c100 INT srcyres; in _gx_display_driver_4444argb_pixelmap_general_rotate() local
154 srcyres = pixelmap -> gx_pixelmap_height >> 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()