Lines Matching +full:16 +full:bpp
58 int i, n, bpp = p->var.bits_per_pixel; in color_imageblit() local
59 u32 null_bits = 32 - bpp; in color_imageblit()
82 color <<= FB_LEFT_POS(p, bpp); in color_imageblit()
90 shift += bpp; in color_imageblit()
115 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local
118 u32 null_bits = 32 - bpp; in slow_imageblit()
124 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
125 bgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
153 shift += bpp; in slow_imageblit()
181 * Only if: bits_per_pixel == 8, 16, or 32
189 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local
190 u32 ppw = 32/bpp, spitch = (image->width + 7)/8; in fast_imageblit()
196 u32 colortab[16]; in fast_imageblit()
199 switch (bpp) { in fast_imageblit()
202 tablen = 16; in fast_imageblit()
204 case 16: in fast_imageblit()
217 fgx <<= bpp; in fast_imageblit()
218 bgx <<= bpp; in fast_imageblit()
241 case 4: /* 8 bpp */ in fast_imageblit()
247 case 2: /* 16 bpp */ in fast_imageblit()
255 case 1: /* 32 bpp */ in fast_imageblit()
291 u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; in sys_imageblit() local
302 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp); in sys_imageblit()
323 if (32 % bpp == 0 && !start_index && !pitch_index && in sys_imageblit()
324 ((width & (32/bpp-1)) == 0) && in sys_imageblit()
325 bpp >= 8 && bpp <= 32) in sys_imageblit()