Lines Matching refs:bmap

22 static void draw_unencoded_bitmap(ushort **fbp, uchar *bmap, ushort *cmap,  in draw_unencoded_bitmap()  argument
26 *(*fbp)++ = cmap[*bmap++]; in draw_unencoded_bitmap()
48 uchar *bmap; in video_display_rle8_bitmap() local
54 bmap = (uchar *)bmp + get_unaligned_le32(&bmp->header.data_offset); in video_display_rle8_bitmap()
60 if (bmap[0] == BMP_RLE8_ESCAPE) { in video_display_rle8_bitmap()
61 switch (bmap[1]) { in video_display_rle8_bitmap()
64 bmap += 2; in video_display_rle8_bitmap()
76 x += bmap[2]; in video_display_rle8_bitmap()
77 y -= bmap[3]; in video_display_rle8_bitmap()
81 bmap += 4; in video_display_rle8_bitmap()
85 runlen = bmap[1]; in video_display_rle8_bitmap()
86 bmap += 2; in video_display_rle8_bitmap()
95 bmap, cmap, cnt); in video_display_rle8_bitmap()
99 bmap += runlen; in video_display_rle8_bitmap()
101 bmap++; in video_display_rle8_bitmap()
106 runlen = bmap[0]; in video_display_rle8_bitmap()
109 while (bmap[0] == 0xff && in video_display_rle8_bitmap()
110 bmap[2] != BMP_RLE8_ESCAPE && in video_display_rle8_bitmap()
111 bmap[1] == bmap[3]) { in video_display_rle8_bitmap()
112 runlen += bmap[2]; in video_display_rle8_bitmap()
113 bmap += 2; in video_display_rle8_bitmap()
120 cmap[bmap[1]], cnt); in video_display_rle8_bitmap()
124 bmap += 2; in video_display_rle8_bitmap()
197 uchar *bmap; in video_bmp_display() local
264 bmap = (uchar *)bmp + get_unaligned_le32(&bmp->header.data_offset); in video_bmp_display()
298 fb_put_byte(&fb, &bmap); in video_bmp_display()
300 *(uint16_t *)fb = cmap_base[*bmap]; in video_bmp_display()
301 bmap++; in video_bmp_display()
305 cte = &palette[*bmap]; in video_bmp_display()
306 bmap++; in video_bmp_display()
319 bmap += (padded_width - width); in video_bmp_display()
329 fb_put_word(&fb, &bmap); in video_bmp_display()
331 bmap += (padded_width - width) * 2; in video_bmp_display()
342 *(u16 *)fb = ((bmap[2] >> 3) << 10) | in video_bmp_display()
343 ((bmap[1] >> 3) << 5) | in video_bmp_display()
344 (bmap[0] >> 3); in video_bmp_display()
345 bmap += 3; in video_bmp_display()
348 *(fb++) = *(bmap++); in video_bmp_display()
349 *(fb++) = *(bmap++); in video_bmp_display()
350 *(fb++) = *(bmap++); in video_bmp_display()
355 bmap += (padded_width - width) * 3; in video_bmp_display()
363 *(fb++) = *(bmap++); in video_bmp_display()
364 *(fb++) = *(bmap++); in video_bmp_display()
365 *(fb++) = *(bmap++); in video_bmp_display()
366 *(fb++) = *(bmap++); in video_bmp_display()