Lines Matching refs:dy
505 uint32_t x, sy, dy; in gfxfb_blt_video_to_buffer() local
546 for (sy = SourceY, dy = DestinationY; dy < Height + DestinationY; in gfxfb_blt_video_to_buffer()
547 sy++, dy++) { in gfxfb_blt_video_to_buffer()
550 destination = (uint8_t *)BltBuffer + dy * Delta + in gfxfb_blt_video_to_buffer()
605 uint32_t x, sy, dy; in gfxfb_blt_buffer_to_video() local
646 for (sy = SourceY, dy = DestinationY; sy < Height + SourceY; in gfxfb_blt_buffer_to_video()
647 sy++, dy++) { in gfxfb_blt_buffer_to_video()
648 off = dy * pitch + DestinationX * bpp; in gfxfb_blt_buffer_to_video()
1126 uint32_t sx, sy, dx, dy, width, height; in gfx_fb_copy_area() local
1136 dy = d->tp_row * height; in gfx_fb_copy_area()
1148 dy + state->tg_origin.tp_row, in gfx_fb_copy_area()
1165 if (dy * pitch + dx > sy * pitch + sx) { in gfx_fb_copy_area()
1167 dy += height; in gfx_fb_copy_area()
1173 uint32_t *destination = &state->tg_shadow_fb[dy * pitch + dx]; in gfx_fb_copy_area()
1178 dy + state->tg_origin.tp_row, width, 1, 0); in gfx_fb_copy_area()
1181 dy += step; in gfx_fb_copy_area()
1507 int dx, sx, dy, sy; in gfx_fb_line() local
1517 dy = y1 > y0? y1 - y0 : y0 - y1; in gfx_fb_line()
1518 err = dx + dy; in gfx_fb_line()
1519 ed = dx + dy == 0 ? 1: isqrt(dx * dx + dy * dy); in gfx_fb_line()
1526 e2 += dy; in gfx_fb_line()
1529 (y1 != (uint32_t)y2 || dx > dy)) { in gfx_fb_line()
1537 err -= dy; in gfx_fb_line()
1540 if ((e2 << 1) <= dy) { /* y step */ in gfx_fb_line()
1543 (x1 != (uint32_t)x2 || dx < dy)) { in gfx_fb_line()
1546 e2 += dy; in gfx_fb_line()
1564 int dx, dy, err, curvature; in gfx_fb_bezier() local
1601 dy = 4 * sx * curvature * (y0 - y1) + yy - xy; in gfx_fb_bezier()
1604 err = dx + dy + xy; in gfx_fb_bezier()
1611 if (2 * err > dy) { in gfx_fb_bezier()
1614 dy += yy; in gfx_fb_bezier()
1615 err += dy; in gfx_fb_bezier()
1619 dy -= xy; in gfx_fb_bezier()
1623 } while (dy < dx); /* gradient negates -> algorithm fails */ in gfx_fb_bezier()