Home
last modified time | relevance | path

Searched refs:x_sign (Results 1 – 12 of 12) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_utility_circle_point_get.c84 INT x_sign; in _gx_utility_circle_point_get() local
122 x_sign = 1; in _gx_utility_circle_point_get()
132 x_sign = -1; in _gx_utility_circle_point_get()
142 x_sign = -1; in _gx_utility_circle_point_get()
152 x_sign = 1; in _gx_utility_circle_point_get()
165 point -> gx_point_x = (GX_VALUE)(point -> gx_point_x * x_sign); in _gx_utility_circle_point_get()
197 x *= x_sign; in _gx_utility_circle_point_get()
Dgx_display_driver_32bpp_simple_line_draw.c80 INT x_sign; in _gx_display_driver_32bpp_simple_line_draw() local
123 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_simple_line_draw()
239 nextx -= x_sign; in _gx_display_driver_32bpp_simple_line_draw()
240 next_put -= x_sign; in _gx_display_driver_32bpp_simple_line_draw()
257 nextx -= x_sign; in _gx_display_driver_32bpp_simple_line_draw()
258 next_put -= x_sign; in _gx_display_driver_32bpp_simple_line_draw()
271 curx += x_sign; in _gx_display_driver_32bpp_simple_line_draw()
272 put += x_sign; in _gx_display_driver_32bpp_simple_line_draw()
289 curx += x_sign; in _gx_display_driver_32bpp_simple_line_draw()
290 put += x_sign; in _gx_display_driver_32bpp_simple_line_draw()
[all …]
Dgx_display_driver_8bpp_simple_line_draw.c87 INT x_sign; in _gx_display_driver_8bpp_simple_line_draw() local
136 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_simple_line_draw()
252 nextx -= x_sign; in _gx_display_driver_8bpp_simple_line_draw()
253 next_put -= x_sign; in _gx_display_driver_8bpp_simple_line_draw()
270 nextx -= x_sign; in _gx_display_driver_8bpp_simple_line_draw()
271 next_put -= x_sign; in _gx_display_driver_8bpp_simple_line_draw()
284 curx += x_sign; in _gx_display_driver_8bpp_simple_line_draw()
285 put += x_sign; in _gx_display_driver_8bpp_simple_line_draw()
302 curx += x_sign; in _gx_display_driver_8bpp_simple_line_draw()
303 put += x_sign; in _gx_display_driver_8bpp_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_simple_line_draw.c84 INT x_sign; in _gx_display_driver_16bpp_simple_line_draw() local
127 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_simple_line_draw()
243 nextx -= x_sign; in _gx_display_driver_16bpp_simple_line_draw()
244 next_put -= x_sign; in _gx_display_driver_16bpp_simple_line_draw()
261 nextx -= x_sign; in _gx_display_driver_16bpp_simple_line_draw()
262 next_put -= x_sign; in _gx_display_driver_16bpp_simple_line_draw()
275 curx += x_sign; in _gx_display_driver_16bpp_simple_line_draw()
276 put += x_sign; in _gx_display_driver_16bpp_simple_line_draw()
293 curx += x_sign; in _gx_display_driver_16bpp_simple_line_draw()
294 put += x_sign; in _gx_display_driver_16bpp_simple_line_draw()
[all …]
Dgx_display_driver_1bpp_simple_line_draw.c88 INT x_sign; in _gx_display_driver_1bpp_simple_line_draw() local
122 x_sign = (xend - xstart) / dx; in _gx_display_driver_1bpp_simple_line_draw()
261 nextx -= x_sign; in _gx_display_driver_1bpp_simple_line_draw()
262 pos_end -= x_sign; in _gx_display_driver_1bpp_simple_line_draw()
279 nextx -= x_sign; in _gx_display_driver_1bpp_simple_line_draw()
280 pos_end -= x_sign; in _gx_display_driver_1bpp_simple_line_draw()
303 curx += x_sign; in _gx_display_driver_1bpp_simple_line_draw()
304 pos_start += x_sign; in _gx_display_driver_1bpp_simple_line_draw()
321 curx += x_sign; in _gx_display_driver_1bpp_simple_line_draw()
322 pos_start += x_sign; in _gx_display_driver_1bpp_simple_line_draw()
[all …]
Dgx_display_driver_8bpp_rotated_simple_line_draw.c82 INT x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw() local
139 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_rotated_simple_line_draw()
255 nextx -= x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
256 next_put -= x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
273 nextx -= x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
274 next_put -= x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
287 curx += x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
288 put += x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
305 curx += x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
306 put += x_sign; in _gx_display_driver_8bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_32bpp_rotated_simple_line_draw.c78 INT x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw() local
149 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_rotated_simple_line_draw()
267 nextx -= x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
268 next_put -= x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
285 nextx -= x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
286 next_put -= x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
299 curx += x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
300 put += x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
317 curx += x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
318 put += x_sign; in _gx_display_driver_32bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_rotated_simple_line_draw.c81 INT x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw() local
157 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_rotated_simple_line_draw()
273 nextx -= x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
274 next_put -= x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
291 nextx -= x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
292 next_put -= x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
305 curx += x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
306 put += x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
323 curx += x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
324 put += x_sign; in _gx_display_driver_16bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_4bpp_simple_line_draw.c88 INT x_sign; in _gx_display_driver_4bpp_simple_line_draw() local
121 x_sign = (xend - xstart) / dx; in _gx_display_driver_4bpp_simple_line_draw()
264 nextx -= x_sign; in _gx_display_driver_4bpp_simple_line_draw()
265 pos_end -= x_sign; in _gx_display_driver_4bpp_simple_line_draw()
282 nextx -= x_sign; in _gx_display_driver_4bpp_simple_line_draw()
283 pos_end -= x_sign; in _gx_display_driver_4bpp_simple_line_draw()
308 curx += x_sign; in _gx_display_driver_4bpp_simple_line_draw()
309 pos_start += x_sign; in _gx_display_driver_4bpp_simple_line_draw()
326 curx += x_sign; in _gx_display_driver_4bpp_simple_line_draw()
327 pos_start += x_sign; in _gx_display_driver_4bpp_simple_line_draw()
[all …]
Dgx_display_driver_generic_aliased_line_draw.c100 INT x_sign; in _gx_display_driver_generic_aliased_line_draw() local
185 x_sign = ((INT)xend - (INT)xstart) / dx; in _gx_display_driver_generic_aliased_line_draw()
239 curx += x_sign; in _gx_display_driver_generic_aliased_line_draw()
240 nextx -= x_sign; in _gx_display_driver_generic_aliased_line_draw()
251 blend_func(context, curx + x_sign, cury, line_color, (GX_UBYTE)back_alpha); in _gx_display_driver_generic_aliased_line_draw()
255 blend_func(context, nextx - x_sign, nexty, line_color, (GX_UBYTE)back_alpha); in _gx_display_driver_generic_aliased_line_draw()
328 curx += x_sign; in _gx_display_driver_generic_aliased_line_draw()
329 nextx -= x_sign; in _gx_display_driver_generic_aliased_line_draw()
347 if ((curx + x_sign) >= clip -> gx_rectangle_left && in _gx_display_driver_generic_aliased_line_draw()
348 (curx + x_sign) <= clip -> gx_rectangle_right && in _gx_display_driver_generic_aliased_line_draw()
[all …]
Dgx_display_driver_simple_line_alpha_draw.c87 INT x_sign; in _gx_display_driver_simple_line_alpha_draw() local
118 x_sign = (xend - xstart) / dx; in _gx_display_driver_simple_line_alpha_draw()
214 nextx -= x_sign; in _gx_display_driver_simple_line_alpha_draw()
230 nextx -= x_sign; in _gx_display_driver_simple_line_alpha_draw()
242 curx += x_sign; in _gx_display_driver_simple_line_alpha_draw()
258 curx += x_sign; in _gx_display_driver_simple_line_alpha_draw()
318 if (x_sign == 1) in _gx_display_driver_simple_line_alpha_draw()
342 x_sign = 0 - x_sign; in _gx_display_driver_simple_line_alpha_draw()
350 curx += x_sign; in _gx_display_driver_simple_line_alpha_draw()
395 curx += x_sign; in _gx_display_driver_simple_line_alpha_draw()
[all …]
Dgx_display_driver_generic_aliased_fixed_point_line_draw.c106 INT x_sign; in _gx_display_driver_generic_aliased_fixed_point_line_draw() local
139 x_sign = (xend - xstart) / dx; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
181 if (x_sign < 0) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
204 curx -= x_sign; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
253 curx += x_sign; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
271 blend_func(context, curx + x_sign, cury, line_color, (GX_UBYTE)back_alpha); in _gx_display_driver_generic_aliased_fixed_point_line_draw()
326 curx += x_sign; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
351 if ((curx + x_sign) >= clip -> gx_rectangle_left && in _gx_display_driver_generic_aliased_fixed_point_line_draw()
352 (curx + x_sign) <= clip -> gx_rectangle_right && in _gx_display_driver_generic_aliased_fixed_point_line_draw()
356 blend_func(context, curx + x_sign, cury, line_color, (GX_UBYTE)back_alpha); in _gx_display_driver_generic_aliased_fixed_point_line_draw()