Lines Matching refs:width
52 int width, int height, int bits, int x_off, in decode_rle8_bitmap() argument
58 int linesize = width * 2; in decode_rle8_bitmap()
103 if (y >= height || x >= width) { in decode_rle8_bitmap()
107 if (x + runlen > width) in decode_rle8_bitmap()
108 cnt = width - x; in decode_rle8_bitmap()
122 if (x < width) { in decode_rle8_bitmap()
130 if (x + runlen > width) in decode_rle8_bitmap()
131 cnt = width - x; in decode_rle8_bitmap()
146 int stride, padded_width, bpp, i, width, height; in bmpdecoder() local
159 width = get_unaligned_le32(&bmp->header.width); in bmpdecoder()
162 padded_width = width & 0x3 ? (width & ~0x3) + 4 : width; in bmpdecoder()
193 decode_rle8_bitmap(src, dst, cmap, width, height, in bmpdecoder()
197 stride = width * 2; in bmpdecoder()
203 for (j = 0; j < width; j++) { in bmpdecoder()
207 src += (padded_width - width); in bmpdecoder()
219 stride = ALIGN(width * 3, 4); in bmpdecoder()
224 memcpy(dst, src, 3 * width); in bmpdecoder()