51 uchar16 data = vload16(0, src.
ptr);
52 uchar8 data2 = vload8(0, src.
ptr + 16);
55 vstore4(data.s0369, 0, dst.
ptr);
56 vstore4((uchar4)(data.sCF, data2.s25), 0, dst.
ptr + 4);
57 #elif defined(CHANNEL_G) 58 vstore4(data.s147A, 0, dst.
ptr);
59 vstore4((uchar4)(data.sD, data2.s036), 0, dst.
ptr + 4);
60 #elif defined(CHANNEL_B) 61 vstore4(data.s258B, 0, dst.
ptr);
62 vstore4((uchar4)(data.sE, data2.s147), 0, dst.
ptr + 4);
91 uchar16 data = vload16(0, src.
ptr);
92 uchar16 data2 = vload16(0, src.
ptr + 16);
95 vstore8((uchar8)(data.s048C, data2.s048C), 0, dst.
ptr);
96 #elif defined(CHANNEL_G) 97 vstore8((uchar8)(data.s159D, data2.s159D), 0, dst.
ptr);
98 #elif defined(CHANNEL_B) 99 vstore8((uchar8)(data.s26AE, data2.s26AE), 0, dst.
ptr);
100 #elif defined(CHANNEL_A) 101 vstore8((uchar8)(data.s37BF, data2.s37BF), 0, dst.
ptr);
130 uchar16 data = vload16(0, src.
ptr);
133 vstore8(data.s02468ACE, 0, dst.
ptr);
134 #elif defined(CHANNEL_U) 135 vstore4(data.s159D, 0, dst.
ptr);
136 #elif defined(CHANNEL_V) 137 vstore4(data.s37BF, 0, dst.
ptr);
166 uchar16 data = vload16(0, src.
ptr);
169 vstore8(data.s13579BDF, 0, dst.
ptr);
170 #elif defined(CHANNEL_U) 171 vstore4(data.s048C, 0, dst.
ptr);
172 #elif defined(CHANNEL_V) 173 vstore4(data.s26AE, 0, dst.
ptr);
203 uchar16 data = vload16(0, src.
ptr);
206 vstore8(data.s02468ACE, 0, dst.
ptr);
207 #elif defined(CHANNEL_V) 208 vstore8(data.s13579BDF, 0, dst.
ptr);
238 uchar16 data = vload16(0, src.
ptr);
241 vstore8(data.s13579BDF, 0, dst.
ptr);
242 #elif defined(CHANNEL_V) 243 vstore8(data.s02468ACE, 0, dst.
ptr);
271 vstore8(vload8(0, src.
ptr), 0, dst.
ptr);
#define IMAGE_DECLARATION(name)
#define CONVERT_TO_IMAGE_STRUCT(name)
Structure to hold Image information.
__global uchar * ptr
Pointer to the starting postion of the buffer.
convolution configure & src