Lines Matching refs:vec1
47 v16u8 src0, src1, vec0, vec1, dst0; in ScaleARGBRowDown2Linear_MSA() local
54 vec1 = (v16u8)__msa_pckod_w((v4i32)src1, (v4i32)src0); in ScaleARGBRowDown2Linear_MSA()
55 dst0 = (v16u8)__msa_aver_u_b((v16u8)vec0, (v16u8)vec1); in ScaleARGBRowDown2Linear_MSA()
69 v16u8 src0, src1, src2, src3, vec0, vec1, vec2, vec3, dst0; in ScaleARGBRowDown2Box_MSA() local
79 vec1 = (v16u8)__msa_vshf_b(shuffler, (v16i8)src1, (v16i8)src1); in ScaleARGBRowDown2Box_MSA()
83 reg1 = __msa_hadd_u_h(vec1, vec1); in ScaleARGBRowDown2Box_MSA()
132 v16u8 vec0, vec1, vec2, vec3; in ScaleARGBRowDownEvenBox_MSA() local
154 vec1 = (v16u8)__msa_ilvr_b((v16i8)src3, (v16i8)src1); in ScaleARGBRowDownEvenBox_MSA()
158 reg1 = __msa_hadd_u_h(vec1, vec1); in ScaleARGBRowDownEvenBox_MSA()
203 v16u8 src0, src1, src2, src3, vec0, vec1, vec2, vec3, dst0, dst1; in ScaleRowDown2Linear_MSA() local
213 vec1 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in ScaleRowDown2Linear_MSA()
215 dst0 = __msa_aver_u_b(vec1, vec0); in ScaleRowDown2Linear_MSA()
231 v8u16 vec0, vec1, vec2, vec3; in ScaleRowDown2Box_MSA() local
243 vec1 = __msa_hadd_u_h(src1, src1); in ScaleRowDown2Box_MSA()
247 vec1 += __msa_hadd_u_h(src5, src5); in ScaleRowDown2Box_MSA()
251 vec1 = (v8u16)__msa_srari_h((v8i16)vec1, 2); in ScaleRowDown2Box_MSA()
254 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ScaleRowDown2Box_MSA()
268 v16u8 src0, src1, src2, src3, vec0, vec1, dst0; in ScaleRowDown4_MSA() local
277 vec1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in ScaleRowDown4_MSA()
278 dst0 = (v16u8)__msa_pckod_b((v16i8)vec1, (v16i8)vec0); in ScaleRowDown4_MSA()
295 v8u16 vec0, vec1, vec2, vec3; in ScaleRowDown4Box_MSA() local
308 vec1 = __msa_hadd_u_h(src1, src1); in ScaleRowDown4Box_MSA()
312 vec1 += __msa_hadd_u_h(src5, src5); in ScaleRowDown4Box_MSA()
324 vec1 += __msa_hadd_u_h(src1, src1); in ScaleRowDown4Box_MSA()
328 vec1 += __msa_hadd_u_h(src5, src5); in ScaleRowDown4Box_MSA()
332 reg1 = __msa_hadd_u_w(vec1, vec1); in ScaleRowDown4Box_MSA()
340 vec1 = (v8u16)__msa_pckev_h((v8i16)reg3, (v8i16)reg2); in ScaleRowDown4Box_MSA()
341 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ScaleRowDown4Box_MSA()
388 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in ScaleRowDown38_2_Box_MSA() local
405 vec1 = (v8u16)__msa_ilvl_b((v16i8)src2, (v16i8)src0); in ScaleRowDown38_2_Box_MSA()
409 vec1 = __msa_hadd_u_h((v16u8)vec1, (v16u8)vec1); in ScaleRowDown38_2_Box_MSA()
413 vec5 = (v8u16)__msa_vshf_h(mask, zero, (v8i16)vec1); in ScaleRowDown38_2_Box_MSA()
416 vec0 = (v8u16)__msa_pckod_w((v4i32)vec1, (v4i32)vec0); in ScaleRowDown38_2_Box_MSA()
417 vec1 = (v8u16)__msa_pckod_w((v4i32)vec3, (v4i32)vec2); in ScaleRowDown38_2_Box_MSA()
418 vec0 = (v8u16)__msa_pckod_w((v4i32)vec1, (v4i32)vec0); in ScaleRowDown38_2_Box_MSA()
425 vec1 = (v8u16)__msa_pckev_h((v8i16)tmp3, (v8i16)tmp2); in ScaleRowDown38_2_Box_MSA()
427 tmp1 = __msa_hadd_u_w(vec1, vec1); in ScaleRowDown38_2_Box_MSA()
435 vec1 = (v8u16)__msa_pckev_h((v8i16)tmp4, (v8i16)tmp4); in ScaleRowDown38_2_Box_MSA()
436 out = (v16u8)__msa_vshf_b(dst_mask, (v16i8)vec1, (v16i8)vec0); in ScaleRowDown38_2_Box_MSA()
458 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in ScaleRowDown38_3_Box_MSA() local
477 vec1 = (v8u16)__msa_ilvl_b((v16i8)src2, (v16i8)src0); in ScaleRowDown38_3_Box_MSA()
485 vec1 = __msa_hadd_u_h((v16u8)vec1, (v16u8)vec1); in ScaleRowDown38_3_Box_MSA()
489 vec1 += __msa_hadd_u_h((v16u8)vec5, (v16u8)vec5); in ScaleRowDown38_3_Box_MSA()
493 vec5 = (v8u16)__msa_vshf_h(mask, (v8i16)zero, (v8i16)vec1); in ScaleRowDown38_3_Box_MSA()
496 vec0 = (v8u16)__msa_pckod_w((v4i32)vec1, (v4i32)vec0); in ScaleRowDown38_3_Box_MSA()
497 vec1 = (v8u16)__msa_pckod_w((v4i32)vec3, (v4i32)vec2); in ScaleRowDown38_3_Box_MSA()
498 vec0 = (v8u16)__msa_pckod_w((v4i32)vec1, (v4i32)vec0); in ScaleRowDown38_3_Box_MSA()
505 vec1 = (v8u16)__msa_pckev_h((v8i16)tmp3, (v8i16)tmp2); in ScaleRowDown38_3_Box_MSA()
507 tmp1 = __msa_hadd_u_w(vec1, vec1); in ScaleRowDown38_3_Box_MSA()
515 vec1 = (v8u16)__msa_pckev_h((v8i16)tmp4, (v8i16)tmp4); in ScaleRowDown38_3_Box_MSA()
516 out = (v16u8)__msa_vshf_b(dst_mask, (v16i8)vec1, (v16i8)vec0); in ScaleRowDown38_3_Box_MSA()