/GUIX-v6.2.1/common/src/ |
D | gx_display_driver_simple_line_alpha_draw.c | 99 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_simple_line_alpha_draw() local 113 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_simple_line_alpha_draw() 118 x_sign = (xend - xstart) / dx; in _gx_display_driver_simple_line_alpha_draw() 149 if (dx >= dy) in _gx_display_driver_simple_line_alpha_draw() 152 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_simple_line_alpha_draw() 155 if (decision >= dx) in _gx_display_driver_simple_line_alpha_draw() 157 decision -= dx; in _gx_display_driver_simple_line_alpha_draw() 171 if (decision >= dx) in _gx_display_driver_simple_line_alpha_draw() 173 decision -= dx; in _gx_display_driver_simple_line_alpha_draw() 179 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_simple_line_alpha_draw() [all …]
|
D | gx_display_driver_32bpp_simple_line_draw.c | 97 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_32bpp_simple_line_draw() local 118 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_32bpp_simple_line_draw() 123 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_simple_line_draw() 167 if (dx >= dy) in _gx_display_driver_32bpp_simple_line_draw() 170 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw() 173 if (decision >= dx) in _gx_display_driver_32bpp_simple_line_draw() 175 decision -= dx; in _gx_display_driver_32bpp_simple_line_draw() 191 if (decision >= dx) in _gx_display_driver_32bpp_simple_line_draw() 193 decision -= dx; in _gx_display_driver_32bpp_simple_line_draw() 200 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw() [all …]
|
D | gx_display_driver_8bpp_simple_line_draw.c | 104 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_8bpp_simple_line_draw() local 131 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_8bpp_simple_line_draw() 136 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_simple_line_draw() 180 if (dx >= dy) in _gx_display_driver_8bpp_simple_line_draw() 183 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw() 186 if (decision >= dx) in _gx_display_driver_8bpp_simple_line_draw() 188 decision -= dx; in _gx_display_driver_8bpp_simple_line_draw() 204 if (decision >= dx) in _gx_display_driver_8bpp_simple_line_draw() 206 decision -= dx; in _gx_display_driver_8bpp_simple_line_draw() 213 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_simple_line_draw.c | 101 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_16bpp_simple_line_draw() local 122 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_16bpp_simple_line_draw() 127 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_simple_line_draw() 171 if (dx >= dy) in _gx_display_driver_16bpp_simple_line_draw() 174 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_16bpp_simple_line_draw() 177 if (decision >= dx) in _gx_display_driver_16bpp_simple_line_draw() 179 decision -= dx; in _gx_display_driver_16bpp_simple_line_draw() 195 if (decision >= dx) in _gx_display_driver_16bpp_simple_line_draw() 197 decision -= dx; in _gx_display_driver_16bpp_simple_line_draw() 204 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_16bpp_simple_line_draw() [all …]
|
D | gx_display_driver_generic_rotated_wide_line_fill.c | 96 GX_FIXED_VAL dx; in _gx_display_driver_generic_rotated_wide_line_fill() local 154 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_rotated_wide_line_fill() 159 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_rotated_wide_line_fill() 160 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_rotated_wide_line_fill() 165 if (dx) in _gx_display_driver_generic_rotated_wide_line_fill() 167 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_rotated_wide_line_fill() 179 if (dx >= dy) in _gx_display_driver_generic_rotated_wide_line_fill() 195 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_rotated_wide_line_fill() 199 decision += dx; in _gx_display_driver_generic_rotated_wide_line_fill() 233 decision += (dx >> 1); in _gx_display_driver_generic_rotated_wide_line_fill() [all …]
|
D | gx_display_driver_generic_wide_line_fill.c | 98 GX_FIXED_VAL dx; in _gx_display_driver_generic_wide_line_fill() local 156 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_wide_line_fill() 161 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_wide_line_fill() 162 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_wide_line_fill() 167 if (dx) in _gx_display_driver_generic_wide_line_fill() 169 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_wide_line_fill() 181 if (dx >= dy) in _gx_display_driver_generic_wide_line_fill() 197 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_wide_line_fill() 201 decision += dx; in _gx_display_driver_generic_wide_line_fill() 235 decision += (dx >> 1); in _gx_display_driver_generic_wide_line_fill() [all …]
|
D | gx_display_driver_8bpp_rotated_simple_line_draw.c | 99 INT dx; in _gx_display_driver_8bpp_rotated_simple_line_draw() local 131 dx = GX_ABS(xend - xstart); in _gx_display_driver_8bpp_rotated_simple_line_draw() 134 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_8bpp_rotated_simple_line_draw() 139 x_sign = (xend - xstart) / dx; in _gx_display_driver_8bpp_rotated_simple_line_draw() 183 if (dx >= dy) in _gx_display_driver_8bpp_rotated_simple_line_draw() 186 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_8bpp_rotated_simple_line_draw() 189 if (decision >= dx) in _gx_display_driver_8bpp_rotated_simple_line_draw() 191 decision -= dx; in _gx_display_driver_8bpp_rotated_simple_line_draw() 207 if (decision >= dx) in _gx_display_driver_8bpp_rotated_simple_line_draw() 209 decision -= dx; in _gx_display_driver_8bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_1bpp_simple_line_draw.c | 110 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_1bpp_simple_line_draw() local 117 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_1bpp_simple_line_draw() 122 x_sign = (xend - xstart) / dx; in _gx_display_driver_1bpp_simple_line_draw() 168 if (dx >= dy) in _gx_display_driver_1bpp_simple_line_draw() 171 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_1bpp_simple_line_draw() 174 if (decision >= dx) in _gx_display_driver_1bpp_simple_line_draw() 176 decision -= dx; in _gx_display_driver_1bpp_simple_line_draw() 193 if (decision >= dx) in _gx_display_driver_1bpp_simple_line_draw() 195 decision -= dx; in _gx_display_driver_1bpp_simple_line_draw() 212 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_1bpp_simple_line_draw() [all …]
|
D | gx_display_driver_32bpp_rotated_simple_line_draw.c | 93 INT dx; in _gx_display_driver_32bpp_rotated_simple_line_draw() local 141 dx = GX_ABS(xend - xstart); in _gx_display_driver_32bpp_rotated_simple_line_draw() 144 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_32bpp_rotated_simple_line_draw() 149 x_sign = (xend - xstart) / dx; in _gx_display_driver_32bpp_rotated_simple_line_draw() 194 if (dx >= dy) in _gx_display_driver_32bpp_rotated_simple_line_draw() 198 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_32bpp_rotated_simple_line_draw() 201 if (decision >= dx) in _gx_display_driver_32bpp_rotated_simple_line_draw() 203 decision -= dx; in _gx_display_driver_32bpp_rotated_simple_line_draw() 219 if (decision >= dx) in _gx_display_driver_32bpp_rotated_simple_line_draw() 221 decision -= dx; in _gx_display_driver_32bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_rotated_simple_line_draw.c | 98 INT dx; in _gx_display_driver_16bpp_rotated_simple_line_draw() local 146 dx = GX_ABS(xend - xstart); in _gx_display_driver_16bpp_rotated_simple_line_draw() 152 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_16bpp_rotated_simple_line_draw() 157 x_sign = (xend - xstart) / dx; in _gx_display_driver_16bpp_rotated_simple_line_draw() 201 if (dx >= dy) in _gx_display_driver_16bpp_rotated_simple_line_draw() 204 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_16bpp_rotated_simple_line_draw() 207 if (decision >= dx) in _gx_display_driver_16bpp_rotated_simple_line_draw() 209 decision -= dx; in _gx_display_driver_16bpp_rotated_simple_line_draw() 225 if (decision >= dx) in _gx_display_driver_16bpp_rotated_simple_line_draw() 227 decision -= dx; in _gx_display_driver_16bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_4bpp_simple_line_draw.c | 108 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_4bpp_simple_line_draw() local 116 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_4bpp_simple_line_draw() 121 x_sign = (xend - xstart) / dx; in _gx_display_driver_4bpp_simple_line_draw() 167 if (dx >= dy) in _gx_display_driver_4bpp_simple_line_draw() 170 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_4bpp_simple_line_draw() 173 if (decision >= dx) in _gx_display_driver_4bpp_simple_line_draw() 175 decision -= dx; in _gx_display_driver_4bpp_simple_line_draw() 192 if (decision >= dx) in _gx_display_driver_4bpp_simple_line_draw() 194 decision -= dx; in _gx_display_driver_4bpp_simple_line_draw() 213 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_4bpp_simple_line_draw() [all …]
|
D | gx_display_driver_generic_aliased_fixed_point_line_draw.c | 95 GX_FIXED_VAL dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_aliased_fixed_point_line_draw() local 121 if (!dx || !dy) in _gx_display_driver_generic_aliased_fixed_point_line_draw() 133 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_aliased_fixed_point_line_draw() 139 x_sign = (xend - xstart) / dx; in _gx_display_driver_generic_aliased_fixed_point_line_draw() 145 if (dx >= dy) in _gx_display_driver_generic_aliased_fixed_point_line_draw() 166 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw() 172 decision += dx; in _gx_display_driver_generic_aliased_fixed_point_line_draw() 197 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw() 213 if (dx >= dy) in _gx_display_driver_generic_aliased_fixed_point_line_draw() 220 if (decision >= dx) in _gx_display_driver_generic_aliased_fixed_point_line_draw() [all …]
|
D | gx_display_driver_generic_wide_line_points_calculate.c | 105 int dx = GX_ABS(xEnd - xStart); in _gx_display_driver_generic_wide_line_points_calculate() local 108 if (((dx >= dy && (xStart > xEnd)) || ((dy > dx) && yStart > yEnd))) in _gx_display_driver_generic_wide_line_points_calculate() 114 …distance = (GX_FIXED_VAL)_gx_utility_math_sqrt((UINT)(GX_FIXED_VAL_MAKE(dx * dx) + GX_FIXED_VAL_MA… in _gx_display_driver_generic_wide_line_points_calculate() 120 if (dx) in _gx_display_driver_generic_wide_line_points_calculate() 122 xsign = (xEnd - xStart) / dx; in _gx_display_driver_generic_wide_line_points_calculate() 134 yside = dx; in _gx_display_driver_generic_wide_line_points_calculate()
|
D | gx_display_driver_generic_aliased_line_draw.c | 89 INT dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_aliased_line_draw() local 116 if (!dx || !dy) in _gx_display_driver_generic_aliased_line_draw() 130 if (dx == 1 && dy == 1) in _gx_display_driver_generic_aliased_line_draw() 179 if (((dx >= dy && (xstart > xend)) || ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_aliased_line_draw() 185 x_sign = ((INT)xend - (INT)xstart) / dx; in _gx_display_driver_generic_aliased_line_draw() 199 if (dx >= dy) in _gx_display_driver_generic_aliased_line_draw() 206 if (decision >= dx) in _gx_display_driver_generic_aliased_line_draw() 208 decision -= dx; in _gx_display_driver_generic_aliased_line_draw() 213 back_alpha = ((decision << 8) / dx); in _gx_display_driver_generic_aliased_line_draw() 234 decision += dx) in _gx_display_driver_generic_aliased_line_draw() [all …]
|
D | gx_display_driver_generic_simple_pie_fill.c | 114 INT dx; in _gx_display_driver_generic_simple_pie_fill() local 312 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_simple_pie_fill() 350 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_simple_pie_fill() 351 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_simple_pie_fill() 357 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_simple_pie_fill() 383 if (dx >= dy) in _gx_display_driver_generic_simple_pie_fill() 386 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_simple_pie_fill() 389 if (decision >= dx) in _gx_display_driver_generic_simple_pie_fill() 391 decision -= dx; in _gx_display_driver_generic_simple_pie_fill() 431 decision += dx) in _gx_display_driver_generic_simple_pie_fill()
|
D | gx_display_driver_generic_arc_fill.c | 109 INT dx; in _gx_display_driver_generic_arc_fill() local 338 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_arc_fill() 374 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_arc_fill() 375 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_arc_fill() 381 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_arc_fill() 384 if (dx >= dy) in _gx_display_driver_generic_arc_fill() 387 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_arc_fill() 390 if (decision >= dx) in _gx_display_driver_generic_arc_fill() 392 decision -= dx; in _gx_display_driver_generic_arc_fill() 432 decision += dx) in _gx_display_driver_generic_arc_fill()
|
D | gx_display_driver_generic_rotated_arc_fill.c | 106 INT dx; in _gx_display_driver_generic_rotated_arc_fill() local 307 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_rotated_arc_fill() 342 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_rotated_arc_fill() 343 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_rotated_arc_fill() 349 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_rotated_arc_fill() 352 if (dx >= dy) in _gx_display_driver_generic_rotated_arc_fill() 355 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_rotated_arc_fill() 358 if (decision >= dx) in _gx_display_driver_generic_rotated_arc_fill() 360 decision -= dx; in _gx_display_driver_generic_rotated_arc_fill() 400 decision += dx) in _gx_display_driver_generic_rotated_arc_fill()
|
D | gx_display_driver_generic_rotated_pie_fill.c | 115 INT dx; in _gx_display_driver_generic_rotated_simple_pie_fill() local 288 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_rotated_simple_pie_fill() 331 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_rotated_simple_pie_fill() 332 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_rotated_simple_pie_fill() 338 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_rotated_simple_pie_fill() 341 if (dx >= dy) in _gx_display_driver_generic_rotated_simple_pie_fill() 344 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_rotated_simple_pie_fill() 347 if (decision >= dx) in _gx_display_driver_generic_rotated_simple_pie_fill() 349 decision -= dx; in _gx_display_driver_generic_rotated_simple_pie_fill() 412 decision += dx) in _gx_display_driver_generic_rotated_simple_pie_fill()
|
D | gx_display_driver_generic_wide_arc_draw.c | 106 INT dx; in _gx_display_driver_generic_simple_wide_arc_draw() local 305 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_simple_wide_arc_draw() 344 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_simple_wide_arc_draw() 345 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_simple_wide_arc_draw() 351 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_simple_wide_arc_draw() 354 if (dx >= dy) in _gx_display_driver_generic_simple_wide_arc_draw() 357 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_simple_wide_arc_draw() 360 if (decision >= dx) in _gx_display_driver_generic_simple_wide_arc_draw() 362 decision -= dx; in _gx_display_driver_generic_simple_wide_arc_draw() 402 decision += dx) in _gx_display_driver_generic_simple_wide_arc_draw()
|
D | gx_display_driver_generic_aliased_wide_arc_draw.c | 111 INT dx; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() local 450 dx = GX_ABS(xend - xstart); in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 488 if (((dx >= dy && (xstart > xend)) || in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 489 ((dy > dx) && ystart > yend))) in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 495 xsign = (xend - xstart) / dx; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 501 if (dx >= dy) in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 531 if (decision >= dx) in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 533 decision -= dx; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 587 decision += dx) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
|