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 16 8-bit pixels, stored in 4 32-bit words
23 * - 16 8-bit chunky pixels on input
24 * - permutated planar data (2 planes per 32-bit word) on output
38 * Array containing the permutation indices of the planar data after c2p
45 * Store a full block of iplan2 data after c2p conversion
58 * Store a partial block of iplan2 data after c2p conversion
73 * c2p_iplan2 - Copy 8-bit chunky image data to an interleaved planar
78 * @width: Image width (in pixels)
85 void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, in c2p_iplan2() argument
100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); in c2p_iplan2()
102 while (height--) { in c2p_iplan2()
105 w = width; in c2p_iplan2()
106 if (dst_idx+width <= 16) { in c2p_iplan2()
110 memcpy(d.pixels+dst_idx, c, width); in c2p_iplan2()
111 c += width; in c2p_iplan2()
117 w = width; in c2p_iplan2()
120 w = 16 - dst_idx; in c2p_iplan2()
127 w = width-w; in c2p_iplan2()
136 w -= 16; in c2p_iplan2()
142 memset(d.pixels+w, 0, 16-w); in c2p_iplan2()