27 uint64_t in0_d, in1_d, in2_d, in3_d, in4_d, in5_d, in6_d, in7_d;
28 v8i16 in0, in1, in2, in3, in4, in5, in6, in7;
30 LD_SH8(
block, 8, in0, in1, in2, in3, in4, in5, in6, in7);
32 PCKEV_B4_SH(in0, in0, in1, in1, in2, in2, in3, in3, in0, in1, in2, in3);
33 PCKEV_B4_SH(in4, in4, in5, in5, in6, in6, in7, in7, in4, in5, in6, in7);
35 in0_d = __msa_copy_u_d((v2i64) in0, 0);
36 in1_d = __msa_copy_u_d((v2i64) in1, 0);
37 in2_d = __msa_copy_u_d((v2i64) in2, 0);
38 in3_d = __msa_copy_u_d((v2i64) in3, 0);
39 in4_d = __msa_copy_u_d((v2i64) in4, 0);
40 in5_d = __msa_copy_u_d((v2i64) in5, 0);
41 in6_d = __msa_copy_u_d((v2i64) in6, 0);
42 in7_d = __msa_copy_u_d((v2i64) in7, 0);
43 SD4(in0_d, in1_d, in2_d, in3_d, pixels,
stride);
45 SD4(in4_d, in5_d, in6_d, in7_d, pixels,
stride);
51 uint64_t in0_d, in1_d, in2_d, in3_d, in4_d, in5_d, in6_d, in7_d;
52 v8i16 in0, in1, in2, in3, in4, in5, in6, in7;
54 LD_SH8(
block, 8, in0, in1, in2, in3, in4, in5, in6, in7);
66 PCKEV_B4_SH(in0, in0, in1, in1, in2, in2, in3, in3, in0, in1, in2, in3);
67 PCKEV_B4_SH(in4, in4, in5, in5, in6, in6, in7, in7, in4, in5, in6, in7);
69 in0_d = __msa_copy_u_d((v2i64) in0, 0);
70 in1_d = __msa_copy_u_d((v2i64) in1, 0);
71 in2_d = __msa_copy_u_d((v2i64) in2, 0);
72 in3_d = __msa_copy_u_d((v2i64) in3, 0);
73 in4_d = __msa_copy_u_d((v2i64) in4, 0);
74 in5_d = __msa_copy_u_d((v2i64) in5, 0);
75 in6_d = __msa_copy_u_d((v2i64) in6, 0);
76 in7_d = __msa_copy_u_d((v2i64) in7, 0);
77 SD4(in0_d, in1_d, in2_d, in3_d, pixels,
stride);
79 SD4(in4_d, in5_d, in6_d, in7_d, pixels,
stride);
85 uint64_t in0_d, in1_d, in2_d, in3_d, in4_d, in5_d, in6_d, in7_d;
86 v8i16 in0, in1, in2, in3, in4, in5, in6, in7;
87 v16u8 pix_in0, pix_in1, pix_in2, pix_in3;
88 v16u8 pix_in4, pix_in5, pix_in6, pix_in7;
89 v8u16 pix0, pix1, pix2, pix3, pix4, pix5, pix6, pix7;
92 LD_SH8(
block, 8, in0, in1, in2, in3, in4, in5, in6, in7);
94 pix_in3, pix_in4, pix_in5, pix_in6, pix_in7);
97 pix0, pix1, pix2, pix3);
99 pix4, pix5, pix6, pix7);
111 PCKEV_B4_SH(in0, in0, in1, in1, in2, in2, in3, in3, in0, in1, in2, in3);
112 PCKEV_B4_SH(in4, in4, in5, in5, in6, in6, in7, in7, in4, in5, in6, in7);
114 in0_d = __msa_copy_u_d((v2i64) in0, 0);
115 in1_d = __msa_copy_u_d((v2i64) in1, 0);
116 in2_d = __msa_copy_u_d((v2i64) in2, 0);
117 in3_d = __msa_copy_u_d((v2i64) in3, 0);
118 in4_d = __msa_copy_u_d((v2i64) in4, 0);
119 in5_d = __msa_copy_u_d((v2i64) in5, 0);
120 in6_d = __msa_copy_u_d((v2i64) in6, 0);
121 in7_d = __msa_copy_u_d((v2i64) in7, 0);
122 SD4(in0_d, in1_d, in2_d, in3_d, pixels,
stride);
124 SD4(in4_d, in5_d, in6_d, in7_d, pixels,
stride);
128 uint8_t *restrict pixels,
135 uint8_t *restrict pixels,
142 uint8_t *restrict pixels,