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);
33 PCKEV_B4_SH(in0, in0, in1, in1, in2, in2, in3, in3, in0, in1, in2, in3);
34 PCKEV_B4_SH(in4, in4, in5, in5, in6, in6, in7, in7, in4, in5, in6, in7);
36 in0_d = __msa_copy_u_d((v2i64) in0, 0);
37 in1_d = __msa_copy_u_d((v2i64) in1, 0);
38 in2_d = __msa_copy_u_d((v2i64) in2, 0);
39 in3_d = __msa_copy_u_d((v2i64) in3, 0);
40 in4_d = __msa_copy_u_d((v2i64) in4, 0);
41 in5_d = __msa_copy_u_d((v2i64) in5, 0);
42 in6_d = __msa_copy_u_d((v2i64) in6, 0);
43 in7_d = __msa_copy_u_d((v2i64) in7, 0);
44 SD4(in0_d, in1_d, in2_d, in3_d, pixels, stride);
46 SD4(in4_d, in5_d, in6_d, in7_d, pixels, stride);
52 uint64_t in0_d, in1_d, in2_d, in3_d, in4_d, in5_d, in6_d, in7_d;
53 v8i16 in0, in1, in2, in3, in4, in5, in6, in7;
55 LD_SH8(block, 8, in0, in1, in2, in3, in4, in5, in6, in7);
68 PCKEV_B4_SH(in0, in0, in1, in1, in2, in2, in3, in3, in0, in1, in2, in3);
69 PCKEV_B4_SH(in4, in4, in5, in5, in6, in6, in7, in7, in4, in5, in6, in7);
71 in0_d = __msa_copy_u_d((v2i64) in0, 0);
72 in1_d = __msa_copy_u_d((v2i64) in1, 0);
73 in2_d = __msa_copy_u_d((v2i64) in2, 0);
74 in3_d = __msa_copy_u_d((v2i64) in3, 0);
75 in4_d = __msa_copy_u_d((v2i64) in4, 0);
76 in5_d = __msa_copy_u_d((v2i64) in5, 0);
77 in6_d = __msa_copy_u_d((v2i64) in6, 0);
78 in7_d = __msa_copy_u_d((v2i64) in7, 0);
79 SD4(in0_d, in1_d, in2_d, in3_d, pixels, stride);
81 SD4(in4_d, in5_d, in6_d, in7_d, pixels, stride);
87 uint64_t in0_d, in1_d, in2_d, in3_d, in4_d, in5_d, in6_d, in7_d;
88 v8i16 in0, in1, in2, in3, in4, in5, in6, in7;
89 v16u8 pix_in0, pix_in1, pix_in2, pix_in3;
90 v16u8 pix_in4, pix_in5, pix_in6, pix_in7;
91 v8u16 pix0, pix1, pix2, pix3, pix4, pix5, pix6, pix7;
94 LD_SH8(block, 8, in0, in1, in2, in3, in4, in5, in6, in7);
95 LD_UB8(pixels, stride, pix_in0, pix_in1, pix_in2,
96 pix_in3, pix_in4, pix_in5, pix_in6, pix_in7);
98 ILVR_B4_UH(zero, pix_in0, zero, pix_in1, zero, pix_in2, zero, pix_in3,
99 pix0, pix1, pix2, pix3);
100 ILVR_B4_UH(zero, pix_in4, zero, pix_in5, zero, pix_in6, zero, pix_in7,
101 pix4, pix5, pix6, pix7);
114 PCKEV_B4_SH(in0, in0, in1, in1, in2, in2, in3, in3, in0, in1, in2, in3);
115 PCKEV_B4_SH(in4, in4, in5, in5, in6, in6, in7, in7, in4, in5, in6, in7);
117 in0_d = __msa_copy_u_d((v2i64) in0, 0);
118 in1_d = __msa_copy_u_d((v2i64) in1, 0);
119 in2_d = __msa_copy_u_d((v2i64) in2, 0);
120 in3_d = __msa_copy_u_d((v2i64) in3, 0);
121 in4_d = __msa_copy_u_d((v2i64) in4, 0);
122 in5_d = __msa_copy_u_d((v2i64) in5, 0);
123 in6_d = __msa_copy_u_d((v2i64) in6, 0);
124 in7_d = __msa_copy_u_d((v2i64) in7, 0);
125 SD4(in0_d, in1_d, in2_d, in3_d, pixels, stride);
127 SD4(in4_d, in5_d, in6_d, in7_d, pixels, stride);
void ff_put_pixels_clamped_msa(const int16_t *block, uint8_t *av_restrict pixels, ptrdiff_t line_size)
static void put_pixels_clamped_msa(const int16_t *block, uint8_t *pixels, int32_t stride)
#define CLIP_SH4_0_255(in0, in1, in2, in3)
static void add_pixels_clamped_msa(const int16_t *block, uint8_t *pixels, int32_t stride)
void ff_add_pixels_clamped_msa(const int16_t *block, uint8_t *av_restrict pixels, ptrdiff_t line_size)
#define SD4(in0, in1, in2, in3, pdst, stride)
static void put_signed_pixels_clamped_msa(const int16_t *block, uint8_t *pixels, int32_t stride)
void ff_put_signed_pixels_clamped_msa(const int16_t *block, uint8_t *av_restrict pixels, ptrdiff_t line_size)