Lines Matching +full:data +full:- +full:width
2 * Fast C2P (Chunky-to-Planar) Conversion
4 * Copyright (C) 2003-2008 Geert Uytterhoeven
21 * Perform a full C2P step on 32 8-bit pixels, stored in 8 32-bit words
23 * - 32 8-bit chunky pixels on input
24 * - permutated planar data (1 plane per 32-bit word) on output
38 * Array containing the permutation indices of the planar data after c2p
45 * Store a full block of planar data after c2p conversion
58 * Store a partial block of planar data after c2p conversion
74 * c2p_planar - Copy 8-bit chunky image data to a planar frame buffer
78 * @width: Image width (in pixels)
83 * @bpp: Bits per pixel of the planar frame buffer (1-8)
86 void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, in c2p_planar() argument
101 last = ~(0xffffffffU >> ((dst_idx+width) % 32)); in c2p_planar()
102 while (height--) { in c2p_planar()
105 w = width; in c2p_planar()
106 if (dst_idx+width <= 32) { in c2p_planar()
110 memcpy(d.pixels+dst_idx, c, width); in c2p_planar()
111 c += width; in c2p_planar()
118 w = width; in c2p_planar()
121 w = 32 - dst_idx; in c2p_planar()
129 w = width-w; in c2p_planar()
138 w -= 32; in c2p_planar()
144 memset(d.pixels+w, 0, 32-w); in c2p_planar()
156 MODULE_DESCRIPTION("Fast C2P (Chunky-to-Planar) Conversion");