Lines Matching full:width

482     uint32_t Width, uint32_t Height)  in gfxfb_blt_fill()  argument
501 if (DestinationX + Width > gfx_fb.framebuffer_common.framebuffer_width) in gfxfb_blt_fill()
504 if (Width == 0 || Height == 0) in gfxfb_blt_fill()
529 for (x = 0; x < Width; x++) { in gfxfb_blt_fill()
563 uint32_t Width, uint32_t Height, uint32_t Delta) in gfxfb_blt_video_to_buffer() argument
584 if (SourceX + Width > gfx_fb.framebuffer_common.framebuffer_width) in gfxfb_blt_video_to_buffer()
587 if (Width == 0 || Height == 0) in gfxfb_blt_video_to_buffer()
591 Delta = Width * sizeof (*p); in gfxfb_blt_video_to_buffer()
596 copybytes = Width * bpp; in gfxfb_blt_video_to_buffer()
623 for (x = 0; x < Width; x++) { in gfxfb_blt_video_to_buffer()
665 uint32_t Width, uint32_t Height, uint32_t Delta) in gfxfb_blt_buffer_to_video() argument
686 if (DestinationX + Width > gfx_fb.framebuffer_common.framebuffer_width) in gfxfb_blt_buffer_to_video()
689 if (Width == 0 || Height == 0) in gfxfb_blt_buffer_to_video()
693 Delta = Width * sizeof (*p); in gfxfb_blt_buffer_to_video()
698 copybytes = Width * bpp; in gfxfb_blt_buffer_to_video()
725 for (x = 0; x < Width; x++) { in gfxfb_blt_buffer_to_video()
775 uint32_t Width, uint32_t Height) in gfxfb_blt_video_to_video() argument
786 if (SourceX + Width > gfx_fb.framebuffer_common.framebuffer_width) in gfxfb_blt_video_to_video()
793 if (DestinationX + Width > gfx_fb.framebuffer_common.framebuffer_width) in gfxfb_blt_video_to_video()
796 if (Width == 0 || Height == 0) in gfxfb_blt_video_to_video()
802 copybytes = Width * bpp; in gfxfb_blt_video_to_video()
830 uint32_t Width, uint32_t Height) in gfxfb_shadow_fill() argument
843 if (DestinationX + Width > fbX) in gfxfb_shadow_fill()
844 Width = fbX - DestinationX; in gfxfb_shadow_fill()
853 for (uint32_t x = 0; x < Width; x++) { in gfxfb_shadow_fill()
863 uint32_t Width, uint32_t Height, uint32_t Delta) in gfxfb_blt() argument
881 DestinationY, Width, Height); in gfxfb_blt()
884 Width, Height, Delta); in gfxfb_blt()
891 Width, Height, Delta); in gfxfb_blt()
897 Width, Height, Delta); in gfxfb_blt()
903 Width, Height, Delta); in gfxfb_blt()
934 Width, Height); in gfxfb_blt()
936 Width, Height); in gfxfb_blt()
941 DestinationX, DestinationY, Width, Height, Delta); in gfxfb_blt()
946 DestinationX, DestinationY, Width, Height, Delta); in gfxfb_blt()
951 DestinationX, DestinationY, Width, Height); in gfxfb_blt()
968 uint32_t width, height; in gfx_fb_cons_clear() local
970 width = gfx_fb.framebuffer_common.framebuffer_width; in gfx_fb_cons_clear()
974 0, 0, width, height, 0); in gfx_fb_cons_clear()
987 uint32_t width, height, bytes; in gfx_fb_cons_copy() local
992 width = ma->e_col - ma->s_col + 1; in gfx_fb_cons_copy()
1000 if (sx + width > gfx_fb.framebuffer_common.framebuffer_width) in gfx_fb_cons_copy()
1001 width = gfx_fb.framebuffer_common.framebuffer_width - sx; in gfx_fb_cons_copy()
1006 if (dx + width > gfx_fb.framebuffer_common.framebuffer_width) in gfx_fb_cons_copy()
1007 width = gfx_fb.framebuffer_common.framebuffer_width - dx; in gfx_fb_cons_copy()
1012 if (width == 0 || height == 0) in gfx_fb_cons_copy()
1020 sx, sy, dx, dy, width, height, 0); in gfx_fb_cons_copy()
1031 bytes = width * sizeof (*shadow_fb); in gfx_fb_cons_copy()
1048 0, 0, dx, dy, width, 1, 0); in gfx_fb_cons_copy()
1111 allocate_glyphbuffer(uint32_t width, uint32_t height) in allocate_glyphbuffer() argument
1115 size = sizeof (*GlyphBuffer) * width * height; in allocate_glyphbuffer()
1139 (uint32_t)da->col + da->width > in gfx_fb_cons_display()
1151 uint32_t dx, dy, width, height; in gfx_fb_cons_display() local
1156 width = da->width; in gfx_fb_cons_display()
1162 bitmap_cpy(BltBuffer, &data[y * width], width); in gfx_fb_cons_display()
1164 0, 0, dx, dy, width, 1, 0); in gfx_fb_cons_display()
1175 (void) allocate_glyphbuffer(da->width, da->height); in gfx_fb_cons_display()
1177 size = sizeof (*BltBuffer) * da->width * da->height; in gfx_fb_cons_display()
1187 da->col, da->row, 0, 0, da->width, da->height, 0) == 0) { in gfx_fb_cons_display()
1188 bitmap_cpy(BltBuffer, da->data, da->width * da->height); in gfx_fb_cons_display()
1190 0, 0, da->col, da->row, da->width, da->height, 0); in gfx_fb_cons_display()
1224 for (screen_size_t j = 0; j < ca->width; j++) { in gfx_fb_cursor_impl()
1246 allocate_glyphbuffer(ca->width, ca->height) != NULL) { in gfx_fb_display_cursor()
1248 ca->col, ca->row, 0, 0, ca->width, ca->height, 0) == 0) in gfx_fb_display_cursor()
1249 gfx_fb_cursor_impl(GlyphBuffer, ca->width, in gfx_fb_display_cursor()
1253 ca->col, ca->row, ca->width, ca->height, 0); in gfx_fb_display_cursor()
1258 uint32_t dx, dy, width, height; in gfx_fb_display_cursor() local
1262 width = ca->width; in gfx_fb_display_cursor()
1270 GfxFbBltBufferToVideo, 0, 0, dx, dy, width, 1, 0); in gfx_fb_display_cursor()
1351 int err, e2, x2, y2, ed, width; in gfx_fb_line() local
1356 width = wd; in gfx_fb_line()
1371 while (e2 < ed * width && in gfx_fb_line()
1385 while (e2 < ed * width && in gfx_fb_line()
1406 int sx, sy, xx, yy, xy, width; in gfx_fb_bezier() local
1413 width = wd; in gfx_fb_bezier()
1449 for (i = 0; i <= width; i++) in gfx_fb_bezier()
1468 gfx_fb_line(x0, y0, x2, y2, width); in gfx_fb_bezier()
1479 int width, i; in gfx_term_drawrect() local
1487 width = vf_width / 4; /* line width */ in gfx_term_drawrect()
1488 xshift = (vf_width - width) / 2; in gfx_term_drawrect()
1489 yshift = (vf_height - width) / 2; in gfx_term_drawrect()
1503 * Draw horizontal lines width points thick, shifted from outer edge. in gfx_term_drawrect()
1508 gfx_fb_drawrect(x1, y1, x2, y1 + width, 1); in gfx_term_drawrect()
1510 y2 += vf_height - yshift - width; in gfx_term_drawrect()
1511 gfx_fb_drawrect(x1, y2, x2, y2 + width, 1); in gfx_term_drawrect()
1514 * Draw vertical lines width points thick, shifted from outer edge. in gfx_term_drawrect()
1520 gfx_fb_drawrect(x1, y1, x1 + width, y2, 1); in gfx_term_drawrect()
1522 x1 += vf_width - xshift - width; in gfx_term_drawrect()
1523 gfx_fb_drawrect(x1, y1, x1 + width, y2, 1); in gfx_term_drawrect()
1533 for (i = 0; i <= width; i++) in gfx_term_drawrect()
1534 gfx_fb_bezier(x1 + i, y1, x1 + i, y2 + i, x2, y2 + i, width-i); in gfx_term_drawrect()
1543 for (i = 0; i <= width; i++) in gfx_term_drawrect()
1544 gfx_fb_bezier(x1, y1 - i, x2 + i, y1 - i, x2 + i, y2, width-i); in gfx_term_drawrect()
1550 x2 += vf_width - xshift - width; in gfx_term_drawrect()
1553 for (i = 0; i <= width; i++) in gfx_term_drawrect()
1554 gfx_fb_bezier(x1, y1 + i, x2 + i, y1 + i, x2 + i, y2, width-i); in gfx_term_drawrect()
1561 x2 += vf_width - xshift - width; in gfx_term_drawrect()
1563 for (i = 0; i <= width; i++) in gfx_term_drawrect()
1564 gfx_fb_bezier(x1, y1 - i, x2 + i, y1 - i, x2 + i, y2, width-i); in gfx_term_drawrect()
1603 if (png->width > UINT16_MAX || png->height > UINT16_MAX) { in gfx_fb_putimage()
1609 if (png->width < 1 || png->height < 1) { in gfx_fb_putimage()
1622 ux2 = ux1 + png->width; in gfx_fb_putimage()
1627 ux2 = ux1 + (png->width * (uy2 - uy1)) / png->height; in gfx_fb_putimage()
1630 uy2 = uy1 + (png->height * (ux2 - ux1)) / png->width; in gfx_fb_putimage()
1647 if (fwidth == png->width && fheight == png->height) in gfx_fb_putimage()
1684 png->width, png->height, fwidth, fheight, ux1, uy1); in gfx_fb_putimage()
1688 da.width = fwidth; in gfx_fb_putimage()
1699 (da.col + da.width) / tems.ts_font.vf_width); in gfx_fb_putimage()
1718 #define GETPIXEL(xx, yy) (((yy) * png->width + (xx)) * png->bpp) in gfx_fb_putimage()
1726 const uint32_t wcstep = ((png->width - 1) << 16) / (fwidth - 1); in gfx_fb_putimage()
1882 gfx_get_font(short rows, short cols, short height, short width) in gfx_get_font() argument
1911 width / font->width < cols) in gfx_get_font()
2028 fp->vf_width = DEFAULT_FONT_DATA.width; in load_font()
2211 fh.fh_width = DEFAULT_FONT_DATA.width; in insert_font()
2215 DEFAULT_FONT_DATA.width, DEFAULT_FONT_DATA.height); in insert_font()
2239 if (fh.fh_width == entry->font_data->width && in insert_font()
2262 fp->font_data->width = fh.fh_width; in insert_font()
2271 size = fp->font_data->width * fp->font_data->height; in insert_font()
2275 if (size > entry->font_data->width * entry->font_data->height) { in insert_font()
2286 size > next->font_data->width * next->font_data->height) { in insert_font()
2313 if (fl->font_data->width == x && fl->font_data->height == y) in font_set()
2330 printf(" %dx%d\n", fl->font_data->width, in font_set()
2416 fl->font_data->width, in command_font()
2478 rp->width = GET_EDID_INFO_WIDTH(edid, i); in gfx_get_edid_resolution()
2480 if (rp->width > 0 && rp->width <= EDID_MAX_PIXELS && in gfx_get_edid_resolution()
2499 rp->width = HSIZE(edid->standard_timings[i]); in gfx_get_edid_resolution()
2524 if (p->width * p->height < rp->width * rp->height) { in gfx_get_edid_resolution()