Lines Matching +full:16 +full:bpp

21      *  Perform a full C2P step on 16 8-bit pixels, stored in 4 32-bit words
23 * - 16 8-bit chunky pixels on input
31 transp4x(d, 16, 2); in c2p_16x8()
48 static inline void store_iplan2(void *dst, u32 bpp, u32 d[4]) in store_iplan2() argument
52 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2()
61 static inline void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask) in store_iplan2_masked() argument
65 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2_masked()
82 * @bpp: Bits per pixel of the planar frame buffer (2, 4, or 8)
86 u32 height, u32 dst_nextline, u32 src_nextline, u32 bpp) in c2p_iplan2() argument
89 u8 pixels[16]; in c2p_iplan2()
96 dst += dy*dst_nextline+(dx & ~15)*bpp; in c2p_iplan2()
97 dst_idx = dx % 16; in c2p_iplan2()
99 first |= first << 16; in c2p_iplan2()
100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); in c2p_iplan2()
101 last |= last << 16; in c2p_iplan2()
106 if (dst_idx+width <= 16) { in c2p_iplan2()
113 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
114 p += bpp*2; in c2p_iplan2()
120 w = 16 - dst_idx; in c2p_iplan2()
125 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
126 p += bpp*2; in c2p_iplan2()
130 while (w >= 16) { in c2p_iplan2()
131 memcpy(d.pixels, c, 16); in c2p_iplan2()
132 c += 16; in c2p_iplan2()
134 store_iplan2(p, bpp, d.words); in c2p_iplan2()
135 p += bpp*2; in c2p_iplan2()
136 w -= 16; in c2p_iplan2()
139 w %= 16; in c2p_iplan2()
142 memset(d.pixels+w, 0, 16-w); in c2p_iplan2()
144 store_iplan2_masked(p, bpp, d.words, last); in c2p_iplan2()