Lines Matching refs:width
47 ulong width, height; in video_display_rle8_bitmap() local
53 width = get_unaligned_le32(&bmp->header.width); in video_display_rle8_bitmap()
69 fb -= (width * 2 + priv->line_length); in video_display_rle8_bitmap()
89 if (x < width) { in video_display_rle8_bitmap()
90 if (x + runlen > width) in video_display_rle8_bitmap()
91 cnt = width - x; in video_display_rle8_bitmap()
108 if (x < width) { in video_display_rle8_bitmap()
116 if (x + runlen > width) in video_display_rle8_bitmap()
117 cnt = width - x; in video_display_rle8_bitmap()
202 unsigned long width, height, byte_width; in video_bmp_display() local
215 width = get_unaligned_le32(&bmp->header.width); in video_bmp_display()
246 (int)width, (int)height, (int)colours, 1 << bpix); in video_bmp_display()
251 padded_width = (width & 0x3 ? (width & ~0x3) + 4 : width); in video_bmp_display()
254 video_splash_align_axis(&x, priv->xsize, width); in video_bmp_display()
258 if ((x + width) > pwidth) in video_bmp_display()
259 width = pwidth - x; in video_bmp_display()
287 byte_width = width; in video_bmp_display()
289 byte_width = width * 2; in video_bmp_display()
293 for (j = 0; j < width; j++) { in video_bmp_display()
302 bmap += (padded_width - width); in video_bmp_display()
311 for (j = 0; j < width; j++) in video_bmp_display()
314 bmap += (padded_width - width) * 2; in video_bmp_display()
315 fb -= width * 2 + priv->line_length; in video_bmp_display()
322 for (j = 0; j < width; j++) { in video_bmp_display()
328 fb -= priv->line_length + width * (bpix / 8); in video_bmp_display()
335 for (j = 0; j < width; j++) { in video_bmp_display()
341 fb -= priv->line_length + width * (bpix / 8); in video_bmp_display()