Lines Matching refs:bmap
18 static void draw_unencoded_bitmap(uint16_t **dst, uint8_t *bmap, uint16_t *cmap, in draw_unencoded_bitmap() argument
22 *(*dst)++ = cmap[*bmap++]; in draw_unencoded_bitmap()
59 uint8_t *bmap = psrc; in decode_rle8_bitmap() local
68 if (bmap[0] == BMP_RLE8_ESCAPE) { in decode_rle8_bitmap()
69 switch (bmap[1]) { in decode_rle8_bitmap()
72 bmap += 2; in decode_rle8_bitmap()
87 x += bmap[2]; in decode_rle8_bitmap()
89 y -= bmap[3]; in decode_rle8_bitmap()
90 dst -= bmap[3] * linesize; in decode_rle8_bitmap()
91 dst += bmap[2] * 2; in decode_rle8_bitmap()
93 y += bmap[3]; in decode_rle8_bitmap()
94 dst += bmap[3] * linesize; in decode_rle8_bitmap()
95 dst += bmap[2] * 2; in decode_rle8_bitmap()
97 bmap += 4; in decode_rle8_bitmap()
101 runlen = bmap[1]; in decode_rle8_bitmap()
102 bmap += 2; in decode_rle8_bitmap()
111 draw_unencoded_bitmap((uint16_t **)&dst, bmap, in decode_rle8_bitmap()
114 bmap += runlen; in decode_rle8_bitmap()
116 bmap++; in decode_rle8_bitmap()
121 runlen = bmap[0]; in decode_rle8_bitmap()
124 while (bmap[0] == 0xff && in decode_rle8_bitmap()
125 bmap[2] != BMP_RLE8_ESCAPE && in decode_rle8_bitmap()
126 bmap[1] == bmap[3]) { in decode_rle8_bitmap()
127 runlen += bmap[2]; in decode_rle8_bitmap()
128 bmap += 2; in decode_rle8_bitmap()
135 cmap[bmap[1]], cnt); in decode_rle8_bitmap()
139 bmap += 2; in decode_rle8_bitmap()