Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 20 of 20) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_display_driver_simple_line_alpha_draw.c100 INT dy = GX_ABS(yend - ystart); 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()
119 y_sign = (yend - ystart) / dy; in _gx_display_driver_simple_line_alpha_draw()
149 if (dx >= dy) in _gx_display_driver_simple_line_alpha_draw()
153 curx++, decision += dy) in _gx_display_driver_simple_line_alpha_draw()
169 curx++, decision += dy) in _gx_display_driver_simple_line_alpha_draw()
180 nextx--, decision += dy) in _gx_display_driver_simple_line_alpha_draw()
196 nextx--, decision += dy) in _gx_display_driver_simple_line_alpha_draw()
208 for (nextx = xend, nexty = yend, decision = (dy >> 1); nexty > mid_point.gx_point_y; in _gx_display_driver_simple_line_alpha_draw()
211 if (decision >= dy) in _gx_display_driver_simple_line_alpha_draw()
[all …]
Dgx_display_driver_32bpp_simple_line_draw.c98 INT dy = GX_ABS(yend - ystart); 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()
124 y_sign = (yend - ystart) / dy; in _gx_display_driver_32bpp_simple_line_draw()
167 if (dx >= dy) in _gx_display_driver_32bpp_simple_line_draw()
171 curx++, decision += dy) in _gx_display_driver_32bpp_simple_line_draw()
189 curx++, decision += dy) in _gx_display_driver_32bpp_simple_line_draw()
201 nextx--, decision += dy) in _gx_display_driver_32bpp_simple_line_draw()
219 nextx--, decision += dy) in _gx_display_driver_32bpp_simple_line_draw()
233 for (nextx = xend, nexty = yend, decision = (dy >> 1); nexty > mid_point.gx_point_y; in _gx_display_driver_32bpp_simple_line_draw()
236 if (decision >= dy) in _gx_display_driver_32bpp_simple_line_draw()
[all …]
Dgx_display_driver_8bpp_simple_line_draw.c105 INT dy = GX_ABS(yend - ystart); 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()
137 y_sign = (yend - ystart) / dy; in _gx_display_driver_8bpp_simple_line_draw()
180 if (dx >= dy) in _gx_display_driver_8bpp_simple_line_draw()
184 curx++, decision += dy) in _gx_display_driver_8bpp_simple_line_draw()
202 curx++, decision += dy) in _gx_display_driver_8bpp_simple_line_draw()
214 nextx--, decision += dy) in _gx_display_driver_8bpp_simple_line_draw()
232 nextx--, decision += dy) in _gx_display_driver_8bpp_simple_line_draw()
246 for (nextx = xend, nexty = yend, decision = (dy >> 1); nexty > mid_point.gx_point_y; in _gx_display_driver_8bpp_simple_line_draw()
249 if (decision >= dy) in _gx_display_driver_8bpp_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_simple_line_draw.c102 INT dy = GX_ABS(yend - ystart); 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()
128 y_sign = (yend - ystart) / dy; in _gx_display_driver_16bpp_simple_line_draw()
171 if (dx >= dy) in _gx_display_driver_16bpp_simple_line_draw()
175 curx++, decision += dy) in _gx_display_driver_16bpp_simple_line_draw()
193 curx++, decision += dy) in _gx_display_driver_16bpp_simple_line_draw()
205 nextx--, decision += dy) in _gx_display_driver_16bpp_simple_line_draw()
223 nextx--, decision += dy) in _gx_display_driver_16bpp_simple_line_draw()
237 for (nextx = xend, nexty = yend, decision = (dy >> 1); nexty > mid_point.gx_point_y; in _gx_display_driver_16bpp_simple_line_draw()
240 if (decision >= dy) in _gx_display_driver_16bpp_simple_line_draw()
[all …]
Dgx_display_driver_generic_rotated_wide_line_fill.c97 GX_FIXED_VAL dy; in _gx_display_driver_generic_rotated_wide_line_fill() local
155 dy = GX_ABS(yend - ystart); 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()
169 if (dy) in _gx_display_driver_generic_rotated_wide_line_fill()
171 ysign = (yend - ystart) / dy; 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()
212 decision += dy; in _gx_display_driver_generic_rotated_wide_line_fill()
215 if (dy) in _gx_display_driver_generic_rotated_wide_line_fill()
[all …]
Dgx_display_driver_generic_wide_line_fill.c99 GX_FIXED_VAL dy; in _gx_display_driver_generic_wide_line_fill() local
157 dy = GX_ABS(yend - ystart); 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()
171 if (dy) in _gx_display_driver_generic_wide_line_fill()
173 ysign = (yend - ystart) / dy; 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()
214 decision += dy; in _gx_display_driver_generic_wide_line_fill()
217 if (dy) in _gx_display_driver_generic_wide_line_fill()
[all …]
Dgx_display_driver_8bpp_rotated_simple_line_draw.c100 INT dy; in _gx_display_driver_8bpp_rotated_simple_line_draw() local
132 dy = GX_ABS(yend - ystart); 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()
140 y_sign = (yend - ystart) / dy; in _gx_display_driver_8bpp_rotated_simple_line_draw()
183 if (dx >= dy) in _gx_display_driver_8bpp_rotated_simple_line_draw()
187 curx++, decision += dy) in _gx_display_driver_8bpp_rotated_simple_line_draw()
205 curx++, decision += dy) in _gx_display_driver_8bpp_rotated_simple_line_draw()
217 nextx--, decision += dy) in _gx_display_driver_8bpp_rotated_simple_line_draw()
235 nextx--, decision += dy) in _gx_display_driver_8bpp_rotated_simple_line_draw()
249 for (nextx = xend, nexty = yend, decision = (dy >> 1); nexty > mid_point.gx_point_y; in _gx_display_driver_8bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_1bpp_simple_line_draw.c111 INT dy = GX_ABS(yend - ystart); 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()
123 y_sign = (yend - ystart) / dy; in _gx_display_driver_1bpp_simple_line_draw()
168 if (dx >= dy) in _gx_display_driver_1bpp_simple_line_draw()
172 curx++, decision += dy) in _gx_display_driver_1bpp_simple_line_draw()
191 curx++, decision += dy) in _gx_display_driver_1bpp_simple_line_draw()
213 nextx--, decision += dy) in _gx_display_driver_1bpp_simple_line_draw()
231 nextx--, decision += dy) in _gx_display_driver_1bpp_simple_line_draw()
255 for (nextx = xend, nexty = yend, decision = (dy >> 1); nexty > mid_point.gx_point_y; in _gx_display_driver_1bpp_simple_line_draw()
258 if (decision >= dy) in _gx_display_driver_1bpp_simple_line_draw()
[all …]
Dgx_display_driver_32bpp_rotated_simple_line_draw.c94 INT dy; in _gx_display_driver_32bpp_rotated_simple_line_draw() local
142 dy = GX_ABS(yend - ystart); 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()
150 y_sign = (yend - ystart) / dy; in _gx_display_driver_32bpp_rotated_simple_line_draw()
194 if (dx >= dy) in _gx_display_driver_32bpp_rotated_simple_line_draw()
199 curx++, decision += dy) in _gx_display_driver_32bpp_rotated_simple_line_draw()
217 curx++, decision += dy) in _gx_display_driver_32bpp_rotated_simple_line_draw()
229 nextx--, decision += dy) in _gx_display_driver_32bpp_rotated_simple_line_draw()
247 nextx--, decision += dy) in _gx_display_driver_32bpp_rotated_simple_line_draw()
261 for (nextx = xend, nexty = yend, decision = (dy >> 1); nexty > mid_point.gx_point_y; in _gx_display_driver_32bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_16bpp_rotated_simple_line_draw.c99 INT dy; in _gx_display_driver_16bpp_rotated_simple_line_draw() local
147 dy = GX_ABS(yend - ystart); 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()
158 y_sign = (yend - ystart) / dy; in _gx_display_driver_16bpp_rotated_simple_line_draw()
201 if (dx >= dy) in _gx_display_driver_16bpp_rotated_simple_line_draw()
205 curx++, decision += dy) in _gx_display_driver_16bpp_rotated_simple_line_draw()
223 curx++, decision += dy) in _gx_display_driver_16bpp_rotated_simple_line_draw()
235 nextx--, decision += dy) in _gx_display_driver_16bpp_rotated_simple_line_draw()
253 nextx--, decision += dy) in _gx_display_driver_16bpp_rotated_simple_line_draw()
267 for (nextx = xend, nexty = yend, decision = (dy >> 1); nexty > mid_point.gx_point_y; in _gx_display_driver_16bpp_rotated_simple_line_draw()
[all …]
Dgx_display_driver_4bpp_simple_line_draw.c109 INT dy = GX_ABS(yend - ystart); 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()
122 y_sign = (yend - ystart) / dy; in _gx_display_driver_4bpp_simple_line_draw()
167 if (dx >= dy) in _gx_display_driver_4bpp_simple_line_draw()
171 curx++, decision += dy) in _gx_display_driver_4bpp_simple_line_draw()
190 curx++, decision += dy) in _gx_display_driver_4bpp_simple_line_draw()
214 nextx--, decision += dy) in _gx_display_driver_4bpp_simple_line_draw()
232 nextx--, decision += dy) in _gx_display_driver_4bpp_simple_line_draw()
258 for (nextx = xend, nexty = yend, decision = (dy >> 1); nexty > mid_point.gx_point_y; in _gx_display_driver_4bpp_simple_line_draw()
261 if (decision >= dy) in _gx_display_driver_4bpp_simple_line_draw()
[all …]
Dgx_display_driver_generic_aliased_fixed_point_line_draw.c96 GX_FIXED_VAL dy = GX_ABS(yend - ystart); 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()
140 y_sign = (yend - ystart) / dy; 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()
197 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
203 decision += dy; in _gx_display_driver_generic_aliased_fixed_point_line_draw()
213 if (dx >= dy) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
218 for (curx = point.gx_point_x; curx <= point2.gx_point_x; curx++, decision += dy) in _gx_display_driver_generic_aliased_fixed_point_line_draw()
[all …]
Dgx_display_driver_generic_wide_line_points_calculate.c106 int dy = GX_ABS(yEnd - yStart); 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 …X_FIXED_VAL)_gx_utility_math_sqrt((UINT)(GX_FIXED_VAL_MAKE(dx * dx) + GX_FIXED_VAL_MAKE(dy * dy))); in _gx_display_driver_generic_wide_line_points_calculate()
124 if (dy) in _gx_display_driver_generic_wide_line_points_calculate()
126 ysign = (yEnd - yStart) / dy; in _gx_display_driver_generic_wide_line_points_calculate()
129 xside = dy; in _gx_display_driver_generic_wide_line_points_calculate()
Dgx_display_driver_generic_aliased_line_draw.c90 INT dy = GX_ABS(yend - ystart); 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()
186 y_sign = ((INT)yend - (INT)ystart) / dy; in _gx_display_driver_generic_aliased_line_draw()
199 if (dx >= dy) in _gx_display_driver_generic_aliased_line_draw()
204 decision += dy) in _gx_display_driver_generic_aliased_line_draw()
236 if (decision >= dy) in _gx_display_driver_generic_aliased_line_draw()
238 decision -= dy; in _gx_display_driver_generic_aliased_line_draw()
243 back_alpha = ((decision << 8) / dy); in _gx_display_driver_generic_aliased_line_draw()
[all …]
Dgx_display_driver_generic_simple_pie_fill.c115 INT dy; in _gx_display_driver_generic_simple_pie_fill() local
313 dy = GX_ABS(yend - ystart); 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()
358 ysign = (yend - ystart) / dy; in _gx_display_driver_generic_simple_pie_fill()
383 if (dx >= dy) in _gx_display_driver_generic_simple_pie_fill()
387 decision += dy) in _gx_display_driver_generic_simple_pie_fill()
430 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_simple_pie_fill()
433 if (decision >= dy) in _gx_display_driver_generic_simple_pie_fill()
435 decision -= dy; in _gx_display_driver_generic_simple_pie_fill()
Dgx_display_driver_generic_arc_fill.c110 INT dy; in _gx_display_driver_generic_arc_fill() local
339 dy = GX_ABS(yend - ystart); 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()
382 ysign = (yend - ystart) / dy; in _gx_display_driver_generic_arc_fill()
384 if (dx >= dy) in _gx_display_driver_generic_arc_fill()
388 decision += dy) in _gx_display_driver_generic_arc_fill()
431 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_arc_fill()
434 if (decision >= dy) in _gx_display_driver_generic_arc_fill()
436 decision -= dy; in _gx_display_driver_generic_arc_fill()
Dgx_display_driver_generic_rotated_arc_fill.c107 INT dy; in _gx_display_driver_generic_rotated_arc_fill() local
308 dy = GX_ABS(yend - ystart); 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()
350 ysign = (yend - ystart) / dy; in _gx_display_driver_generic_rotated_arc_fill()
352 if (dx >= dy) in _gx_display_driver_generic_rotated_arc_fill()
356 decision += dy) in _gx_display_driver_generic_rotated_arc_fill()
399 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_rotated_arc_fill()
402 if (decision >= dy) in _gx_display_driver_generic_rotated_arc_fill()
404 decision -= dy; in _gx_display_driver_generic_rotated_arc_fill()
Dgx_display_driver_generic_rotated_pie_fill.c116 INT dy; in _gx_display_driver_generic_rotated_simple_pie_fill() local
289 dy = GX_ABS(yend - ystart); 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()
339 ysign = (yend - ystart) / dy; in _gx_display_driver_generic_rotated_simple_pie_fill()
341 if (dx >= dy) in _gx_display_driver_generic_rotated_simple_pie_fill()
345 decision += dy) in _gx_display_driver_generic_rotated_simple_pie_fill()
411 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_rotated_simple_pie_fill()
414 if (decision >= dy) in _gx_display_driver_generic_rotated_simple_pie_fill()
416 decision -= dy; in _gx_display_driver_generic_rotated_simple_pie_fill()
Dgx_display_driver_generic_wide_arc_draw.c107 INT dy; in _gx_display_driver_generic_simple_wide_arc_draw() local
306 dy = GX_ABS(yend - ystart); 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()
352 ysign = (yend - ystart) / dy; in _gx_display_driver_generic_simple_wide_arc_draw()
354 if (dx >= dy) in _gx_display_driver_generic_simple_wide_arc_draw()
358 decision += dy) in _gx_display_driver_generic_simple_wide_arc_draw()
401 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_simple_wide_arc_draw()
404 if (decision >= dy) in _gx_display_driver_generic_simple_wide_arc_draw()
406 decision -= dy; in _gx_display_driver_generic_simple_wide_arc_draw()
Dgx_display_driver_generic_aliased_wide_arc_draw.c112 INT dy; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() local
451 dy = GX_ABS(yend - ystart); 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()
496 ysign = (yend - ystart) / dy; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
501 if (dx >= dy) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
529 decision += dy) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
589 if (decision >= dy) in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
591 decision -= dy; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()