Lines Matching +full:16 +full:bpp
83 int i, n, bpp = p->var.bits_per_pixel; in color_imageblit() local
84 u32 null_bits = 32 - bpp; in color_imageblit()
108 color <<= FB_LEFT_POS(p, bpp); in color_imageblit()
116 shift += bpp; in color_imageblit()
143 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local
146 u32 null_bits = 32 - bpp; in slow_imageblit()
153 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
154 bgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
182 shift += bpp; in slow_imageblit()
210 * Only if: bits_per_pixel == 8, 16, or 32
219 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local
220 u32 ppw = 32/bpp, spitch = (image->width + 7)/8; in fast_imageblit()
226 u32 colortab[16]; in fast_imageblit()
229 switch (bpp) { in fast_imageblit()
232 tablen = 16; in fast_imageblit()
234 case 16: in fast_imageblit()
247 fgx <<= bpp; in fast_imageblit()
248 bgx <<= bpp; in fast_imageblit()
271 case 4: /* 8 bpp */ in fast_imageblit()
277 case 2: /* 16 bpp */ in fast_imageblit()
285 case 1: /* 32 bpp */ in fast_imageblit()
321 u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; in cfb_imageblit() local
332 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp); in cfb_imageblit()
353 if (32 % bpp == 0 && !start_index && !pitch_index && in cfb_imageblit()
354 ((width & (32/bpp-1)) == 0) && in cfb_imageblit()
355 bpp >= 8 && bpp <= 32) in cfb_imageblit()