Lines Matching full:__vector
38 __vector unsigned char rgb0, rgb1 = {0}, rgb2 = {0},
41 __vector unsigned char rgb3 = {0};
44 __vector unsigned char rgb4 = {0};
46 __vector short rg0, rg1, rg2, rg3, bg0, bg1, bg2, bg3;
47 __vector unsigned short yl, yh, crl, crh, cbl, cbh;
48 __vector int y0, y1, y2, y3, cr0, cr1, cr2, cr3, cb0, cb1, cb2, cb3;
51 __vector short pw_f0299_f0337 = { __4X2(F_0_299, F_0_337) },
55 __vector unsigned short pw_f050_f000 = { __4X2(F_0_500, 0) };
56 __vector int pd_onehalf = { __4X(ONE_HALF) },
58 __vector unsigned char pb_zero = { __16X(0) },
80 __vector unsigned char unaligned_shift_index;
156 rgbg0 = vec_perm(rgb0, rgb0, (__vector unsigned char)RGBG_INDEX0);
157 rgbg1 = vec_perm(rgb0, rgb1, (__vector unsigned char)RGBG_INDEX1);
158 rgbg2 = vec_perm(rgb1, rgb2, (__vector unsigned char)RGBG_INDEX2);
159 rgbg3 = vec_perm(rgb2, rgb2, (__vector unsigned char)RGBG_INDEX3);
171 rgbg0 = vec_perm(rgb0, rgb0, (__vector unsigned char)RGBG_INDEX);
172 rgbg1 = vec_perm(rgb1, rgb1, (__vector unsigned char)RGBG_INDEX);
173 rgbg2 = vec_perm(rgb2, rgb2, (__vector unsigned char)RGBG_INDEX);
174 rgbg3 = vec_perm(rgb3, rgb3, (__vector unsigned char)RGBG_INDEX);
184 rg0 = (__vector signed short)VEC_UNPACKHU(rgbg0);
185 bg0 = (__vector signed short)VEC_UNPACKLU(rgbg0);
186 rg1 = (__vector signed short)VEC_UNPACKHU(rgbg1);
187 bg1 = (__vector signed short)VEC_UNPACKLU(rgbg1);
188 rg2 = (__vector signed short)VEC_UNPACKHU(rgbg2);
189 bg2 = (__vector signed short)VEC_UNPACKLU(rgbg2);
190 rg3 = (__vector signed short)VEC_UNPACKHU(rgbg3);
191 bg3 = (__vector signed short)VEC_UNPACKLU(rgbg3);
219 yl = vec_perm((__vector unsigned short)y0, (__vector unsigned short)y1,
221 yh = vec_perm((__vector unsigned short)y2, (__vector unsigned short)y3,
231 cb0 = (__vector int)vec_msum((__vector unsigned short)bg0, pw_f050_f000,
232 (__vector unsigned int)cb0);
233 cb1 = (__vector int)vec_msum((__vector unsigned short)bg1, pw_f050_f000,
234 (__vector unsigned int)cb1);
235 cb2 = (__vector int)vec_msum((__vector unsigned short)bg2, pw_f050_f000,
236 (__vector unsigned int)cb2);
237 cb3 = (__vector int)vec_msum((__vector unsigned short)bg3, pw_f050_f000,
238 (__vector unsigned int)cb3);
239 cbl = vec_perm((__vector unsigned short)cb0,
240 (__vector unsigned short)cb1, shift_pack_index);
241 cbh = vec_perm((__vector unsigned short)cb2,
242 (__vector unsigned short)cb3, shift_pack_index);
251 cr0 = (__vector int)vec_msum((__vector unsigned short)rg0, pw_f050_f000,
252 (__vector unsigned int)cr0);
253 cr1 = (__vector int)vec_msum((__vector unsigned short)rg1, pw_f050_f000,
254 (__vector unsigned int)cr1);
255 cr2 = (__vector int)vec_msum((__vector unsigned short)rg2, pw_f050_f000,
256 (__vector unsigned int)cr2);
257 cr3 = (__vector int)vec_msum((__vector unsigned short)rg3, pw_f050_f000,
258 (__vector unsigned int)cr3);
259 crl = vec_perm((__vector unsigned short)cr0,
260 (__vector unsigned short)cr1, shift_pack_index);
261 crh = vec_perm((__vector unsigned short)cr2,
262 (__vector unsigned short)cr3, shift_pack_index);