Lines Matching refs:inp0
24 #define APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, coef0, coef1, coef2) \ argument
32 VSHF_B2_UB(inp0, inp0, inp1, inp1, mask, mask, tmp0, tmp1); \
33 ILVRL_B2_UH(inp1, inp0, sum0_r, sum0_l); \
34 data0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) tmp0, 15); \
38 data1 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) tmp0, 14); \
43 data2 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) tmp0, 13); \
58 #define APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, \ argument
67 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask0, mask0, sum0_r, sum4_r); \
68 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask3, mask3, sum3_r, sum7_r); \
71 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask2, mask2, sum2_r, sum6_r); \
72 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask1, mask1, sum1_r, sum5_r); \
84 #define APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, \ argument
92 VSHF_B2_UH(inp0, inp0, inp0, inp0, mask0, mask3, sum0_r, sum3_r); \
95 VSHF_B2_UH(inp0, inp0, inp0, inp0, mask2, mask1, sum2_r, sum1_r); \
105 #define APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, \ argument
113 VSHF_B2_UH(inp0, inp0, inp0, inp0, mask0, mask3, sum0_r, sum3_r); \
116 VSHF_B2_UH(inp0, inp0, inp0, inp0, mask2, mask1, sum2_r, sum1_r); \
127 #define APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, \ argument
136 VSHF_B2_UB(inp0, inp0, inp1, inp1, mask, mask, tmp0, tmp1); \
137 ILVRL_B2_UH(inp1, inp0, sum0_r, sum0_l); \
138 data0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) tmp0, 15); \
142 data1 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) tmp0, 14); \
147 data2 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) tmp0, 13); \
165 #define APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, \ argument
174 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask0, mask0, sum0_r, sum4_r); \
175 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask3, mask3, sum3_r, sum7_r); \
178 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask2, mask2, sum2_r, sum6_r); \
179 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask1, mask1, sum1_r, sum5_r); \
194 #define APPLY_VERT_QPEL_FILTER(inp0, inp1, inp2, inp3, \ argument
203 ILVRL_B2_UH(inp4, inp0, sum0_r, sum0_l); \
248 #define APPLY_VERT_QPEL_NO_ROUND_FILTER(inp0, inp1, inp2, inp3, \ argument
257 ILVRL_B2_UH(inp4, inp0, sum0_r, sum0_l); \
315 v16u8 inp0, inp1, inp2, inp3; in horiz_mc_qpel_aver_src0_8width_msa() local
326 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_aver_src0_8width_msa()
328 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in horiz_mc_qpel_aver_src0_8width_msa()
334 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in horiz_mc_qpel_aver_src0_8width_msa()
336 AVER_UB2_UB(inp0, res0, inp2, res1, res0, res1); in horiz_mc_qpel_aver_src0_8width_msa()
349 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_aver_src0_16width_msa() local
357 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_aver_src0_16width_msa()
360 res = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, in horiz_mc_qpel_aver_src0_16width_msa()
362 res = __msa_aver_u_b(inp0, res); in horiz_mc_qpel_aver_src0_16width_msa()
393 v16u8 inp0, inp1, inp2, inp3; in horiz_mc_qpel_8width_msa() local
404 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_8width_msa()
406 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in horiz_mc_qpel_8width_msa()
424 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_16width_msa() local
432 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_16width_msa()
435 res = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, in horiz_mc_qpel_16width_msa()
464 v16u8 inp0, inp1, inp2, inp3; in horiz_mc_qpel_aver_src1_8width_msa() local
475 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_aver_src1_8width_msa()
477 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in horiz_mc_qpel_aver_src1_8width_msa()
483 SLDI_B4_UB(inp0, inp0, inp1, inp1, inp2, inp2, inp3, inp3, 1, in horiz_mc_qpel_aver_src1_8width_msa()
484 inp0, inp1, inp2, inp3); in horiz_mc_qpel_aver_src1_8width_msa()
485 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in horiz_mc_qpel_aver_src1_8width_msa()
487 AVER_UB2_UB(inp0, res0, inp2, res1, res0, res1); in horiz_mc_qpel_aver_src1_8width_msa()
500 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_aver_src1_16width_msa() local
508 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_aver_src1_16width_msa()
511 res = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, in horiz_mc_qpel_aver_src1_16width_msa()
544 v16u8 inp0, inp1, inp2, inp3; in horiz_mc_qpel_no_rnd_aver_src0_8width_msa() local
555 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_no_rnd_aver_src0_8width_msa()
557 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in horiz_mc_qpel_no_rnd_aver_src0_8width_msa()
563 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in horiz_mc_qpel_no_rnd_aver_src0_8width_msa()
565 res0 = __msa_ave_u_b(inp0, res0); in horiz_mc_qpel_no_rnd_aver_src0_8width_msa()
579 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_no_rnd_aver_src0_16width_msa() local
587 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_no_rnd_aver_src0_16width_msa()
590 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, in horiz_mc_qpel_no_rnd_aver_src0_16width_msa()
592 res = __msa_ave_u_b(inp0, res); in horiz_mc_qpel_no_rnd_aver_src0_16width_msa()
623 v16u8 inp0, inp1, inp2, inp3; in horiz_mc_qpel_no_rnd_8width_msa() local
634 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_no_rnd_8width_msa()
636 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in horiz_mc_qpel_no_rnd_8width_msa()
654 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_no_rnd_16width_msa() local
662 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_no_rnd_16width_msa()
665 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, in horiz_mc_qpel_no_rnd_16width_msa()
694 v16u8 inp0, inp1, inp2, inp3; in horiz_mc_qpel_no_rnd_aver_src1_8width_msa() local
705 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_no_rnd_aver_src1_8width_msa()
707 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in horiz_mc_qpel_no_rnd_aver_src1_8width_msa()
713 SLDI_B4_UB(inp0, inp0, inp1, inp1, inp2, inp2, inp3, inp3, 1, in horiz_mc_qpel_no_rnd_aver_src1_8width_msa()
714 inp0, inp1, inp2, inp3); in horiz_mc_qpel_no_rnd_aver_src1_8width_msa()
715 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in horiz_mc_qpel_no_rnd_aver_src1_8width_msa()
717 res0 = __msa_ave_u_b(inp0, res0); in horiz_mc_qpel_no_rnd_aver_src1_8width_msa()
731 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_no_rnd_aver_src1_16width_msa() local
739 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_no_rnd_aver_src1_16width_msa()
742 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, in horiz_mc_qpel_no_rnd_aver_src1_16width_msa()
775 v16u8 inp0, inp1, inp2, inp3; in horiz_mc_qpel_avg_dst_aver_src0_8width_msa() local
787 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_avg_dst_aver_src0_8width_msa()
789 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in horiz_mc_qpel_avg_dst_aver_src0_8width_msa()
796 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in horiz_mc_qpel_avg_dst_aver_src0_8width_msa()
800 AVER_UB2_UB(inp0, res0, inp2, res1, res0, res1); in horiz_mc_qpel_avg_dst_aver_src0_8width_msa()
814 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_avg_dst_aver_src0_16width_msa() local
823 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_avg_dst_aver_src0_16width_msa()
826 res0 = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, in horiz_mc_qpel_avg_dst_aver_src0_16width_msa()
831 AVER_UB2_UB(inp0, res0, inp2, res1, res0, res1); in horiz_mc_qpel_avg_dst_aver_src0_16width_msa()
855 v16u8 inp0, inp1, inp2, inp3; in horiz_mc_qpel_avg_dst_8width_msa() local
867 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_avg_dst_8width_msa()
869 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in horiz_mc_qpel_avg_dst_8width_msa()
891 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_avg_dst_16width_msa() local
900 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_avg_dst_16width_msa()
903 res0 = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, in horiz_mc_qpel_avg_dst_16width_msa()
930 v16u8 inp0, inp1, inp2, inp3; in horiz_mc_qpel_avg_dst_aver_src1_8width_msa() local
942 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_avg_dst_aver_src1_8width_msa()
944 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in horiz_mc_qpel_avg_dst_aver_src1_8width_msa()
951 SLDI_B4_UB(inp0, inp0, inp1, inp1, inp2, inp2, inp3, inp3, 1, in horiz_mc_qpel_avg_dst_aver_src1_8width_msa()
952 inp0, inp1, inp2, inp3); in horiz_mc_qpel_avg_dst_aver_src1_8width_msa()
953 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in horiz_mc_qpel_avg_dst_aver_src1_8width_msa()
957 AVER_UB2_UB(inp0, res0, inp2, res1, res0, res1); in horiz_mc_qpel_avg_dst_aver_src1_8width_msa()
971 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_avg_dst_aver_src1_16width_msa() local
979 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_avg_dst_aver_src1_16width_msa()
982 res0 = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, in horiz_mc_qpel_avg_dst_aver_src1_16width_msa()
1009 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_aver_src0_8x8_msa() local
1015 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_aver_src0_8x8_msa()
1019 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp0, inp0, inp1, inp2, in vert_mc_qpel_aver_src0_8x8_msa()
1021 inp1, inp0, inp0, inp1, in vert_mc_qpel_aver_src0_8x8_msa()
1026 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp2, inp1, inp0, inp0, in vert_mc_qpel_aver_src0_8x8_msa()
1028 inp3, inp2, inp1, inp0, in vert_mc_qpel_aver_src0_8x8_msa()
1031 tmp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in vert_mc_qpel_aver_src0_8x8_msa()
1058 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_aver_src0_16x16_msa() local
1065 LD_UB5(src, src_stride, inp0, inp1, inp2, inp3, inp4); in vert_mc_qpel_aver_src0_16x16_msa()
1067 res0 = APPLY_VERT_QPEL_FILTER(inp0, inp0, inp1, inp2, in vert_mc_qpel_aver_src0_16x16_msa()
1070 res0 = __msa_aver_u_b(res0, inp0); in vert_mc_qpel_aver_src0_16x16_msa()
1076 res0 = APPLY_VERT_QPEL_FILTER(inp1, inp0, inp0, inp1, in vert_mc_qpel_aver_src0_16x16_msa()
1085 res0 = APPLY_VERT_QPEL_FILTER(inp2, inp1, inp0, inp0, in vert_mc_qpel_aver_src0_16x16_msa()
1094 res0 = APPLY_VERT_QPEL_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_aver_src0_16x16_msa()
1199 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_8x8_msa() local
1205 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_8x8_msa()
1209 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp0, inp0, inp1, inp2, in vert_mc_qpel_8x8_msa()
1211 inp1, inp0, inp0, inp1, in vert_mc_qpel_8x8_msa()
1216 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp2, inp1, inp0, inp0, in vert_mc_qpel_8x8_msa()
1218 inp3, inp2, inp1, inp0, in vert_mc_qpel_8x8_msa()
1242 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_16x16_msa() local
1249 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_16x16_msa()
1253 res0 = APPLY_VERT_QPEL_FILTER(inp0, inp0, inp1, inp2, in vert_mc_qpel_16x16_msa()
1261 res0 = APPLY_VERT_QPEL_FILTER(inp1, inp0, inp0, inp1, in vert_mc_qpel_16x16_msa()
1269 res0 = APPLY_VERT_QPEL_FILTER(inp2, inp1, inp0, inp0, in vert_mc_qpel_16x16_msa()
1277 res0 = APPLY_VERT_QPEL_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_16x16_msa()
1378 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_aver_src1_8x8_msa() local
1384 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_aver_src1_8x8_msa()
1388 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp0, inp0, inp1, inp2, in vert_mc_qpel_aver_src1_8x8_msa()
1390 inp1, inp0, inp0, inp1, in vert_mc_qpel_aver_src1_8x8_msa()
1396 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp2, inp1, inp0, inp0, in vert_mc_qpel_aver_src1_8x8_msa()
1398 inp3, inp2, inp1, inp0, in vert_mc_qpel_aver_src1_8x8_msa()
1428 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_aver_src1_16x16_msa() local
1435 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_aver_src1_16x16_msa()
1439 res0 = APPLY_VERT_QPEL_FILTER(inp0, inp0, inp1, inp2, in vert_mc_qpel_aver_src1_16x16_msa()
1448 res0 = APPLY_VERT_QPEL_FILTER(inp1, inp0, inp0, inp1, in vert_mc_qpel_aver_src1_16x16_msa()
1457 res0 = APPLY_VERT_QPEL_FILTER(inp2, inp1, inp0, inp0, in vert_mc_qpel_aver_src1_16x16_msa()
1466 res0 = APPLY_VERT_QPEL_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_aver_src1_16x16_msa()
1579 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_no_rnd_aver_src0_8x8_msa() local
1585 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1589 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp0, inp1, inp2, in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1591 inp1, inp0, inp0, inp1, in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1596 res1 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp1, inp0, inp0, in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1598 inp3, inp2, inp1, inp0, in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1601 tmp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1630 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_no_rnd_aver_src0_16x16_msa() local
1637 LD_UB5(src, src_stride, inp0, inp1, inp2, inp3, inp4); in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1639 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp0, inp0, inp1, inp2, in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1642 res0 = __msa_ave_u_b(res0, inp0); in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1648 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp1, inp0, inp0, inp1, in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1657 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp2, inp1, inp0, inp0, in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1666 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1780 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_no_rnd_8x8_msa() local
1786 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_no_rnd_8x8_msa()
1790 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp0, inp1, inp2, in vert_mc_qpel_no_rnd_8x8_msa()
1792 inp1, inp0, inp0, inp1, in vert_mc_qpel_no_rnd_8x8_msa()
1797 res1 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp1, inp0, inp0, in vert_mc_qpel_no_rnd_8x8_msa()
1799 inp3, inp2, inp1, inp0, in vert_mc_qpel_no_rnd_8x8_msa()
1823 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_no_rnd_16x16_msa() local
1830 LD_UB5(src, src_stride, inp0, inp1, inp2, inp3, inp4); in vert_mc_qpel_no_rnd_16x16_msa()
1832 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp0, inp0, inp1, inp2, in vert_mc_qpel_no_rnd_16x16_msa()
1840 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp1, inp0, inp0, inp1, in vert_mc_qpel_no_rnd_16x16_msa()
1848 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp2, inp1, inp0, inp0, in vert_mc_qpel_no_rnd_16x16_msa()
1856 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_no_rnd_16x16_msa()
1956 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_no_rnd_aver_src1_8x8_msa() local
1962 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
1966 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp0, inp1, inp2, in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
1968 inp1, inp0, inp0, inp1, in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
1973 res1 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp1, inp0, inp0, in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
1975 inp3, inp2, inp1, inp0, in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
2007 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_no_rnd_aver_src1_16x16_msa() local
2014 LD_UB5(src, src_stride, inp0, inp1, inp2, inp3, inp4); in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2016 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp0, inp0, inp1, inp2, in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2025 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp1, inp0, inp0, inp1, in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2034 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp2, inp1, inp0, inp0, in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2043 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2156 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_avg_dst_aver_src0_8x8_msa() local
2163 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2167 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp0, inp0, inp1, inp2, in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2169 inp1, inp0, inp0, inp1, in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2175 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp2, inp1, inp0, inp0, in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2177 inp3, inp2, inp1, inp0, in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2182 tmp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2218 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_avg_dst_aver_src0_16x16_msa() local
2225 LD_UB5(src, src_stride, inp0, inp1, inp2, inp3, inp4); in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2227 res0 = APPLY_VERT_QPEL_FILTER(inp0, inp0, inp1, inp2, in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2233 res1 = APPLY_VERT_QPEL_FILTER(inp1, inp0, inp0, inp1, in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2238 AVER_UB2_UB(res0, inp0, res1, inp1, res0, res1); in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2245 res0 = APPLY_VERT_QPEL_FILTER(inp2, inp1, inp0, inp0, in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2251 res1 = APPLY_VERT_QPEL_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2350 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_avg_dst_8x8_msa() local
2357 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_avg_dst_8x8_msa()
2361 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp0, inp0, inp1, inp2, in vert_mc_qpel_avg_dst_8x8_msa()
2363 inp1, inp0, inp0, inp1, in vert_mc_qpel_avg_dst_8x8_msa()
2368 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp2, inp1, inp0, inp0, in vert_mc_qpel_avg_dst_8x8_msa()
2370 inp3, inp2, inp1, inp0, in vert_mc_qpel_avg_dst_8x8_msa()
2403 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_avg_dst_16x16_msa() local
2410 LD_UB5(src, src_stride, inp0, inp1, inp2, inp3, inp4); in vert_mc_qpel_avg_dst_16x16_msa()
2412 res0 = APPLY_VERT_QPEL_FILTER(inp0, inp0, inp1, inp2, in vert_mc_qpel_avg_dst_16x16_msa()
2417 res1 = APPLY_VERT_QPEL_FILTER(inp1, inp0, inp0, inp1, in vert_mc_qpel_avg_dst_16x16_msa()
2427 res0 = APPLY_VERT_QPEL_FILTER(inp2, inp1, inp0, inp0, in vert_mc_qpel_avg_dst_16x16_msa()
2432 res1 = APPLY_VERT_QPEL_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_avg_dst_16x16_msa()
2528 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_avg_dst_aver_src1_8x8_msa() local
2535 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2539 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp0, inp0, inp1, inp2, in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2541 inp1, inp0, inp0, inp1, in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2546 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp2, inp1, inp0, inp0, in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2548 inp3, inp2, inp1, inp0, in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2587 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7, inp8; in vert_mc_qpel_avg_dst_aver_src1_16x16_msa() local
2594 LD_UB5(src, src_stride, inp0, inp1, inp2, inp3, inp4); in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2596 res0 = APPLY_VERT_QPEL_FILTER(inp0, inp0, inp1, inp2, in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2601 res1 = APPLY_VERT_QPEL_FILTER(inp1, inp0, inp0, inp1, in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2612 res0 = APPLY_VERT_QPEL_FILTER(inp2, inp1, inp0, inp0, in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2617 res1 = APPLY_VERT_QPEL_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2722 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in hv_mc_qpel_no_rnd_horiz_src0_16x16_msa() local
2730 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in hv_mc_qpel_no_rnd_horiz_src0_16x16_msa()
2733 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, in hv_mc_qpel_no_rnd_horiz_src0_16x16_msa()
2735 res = __msa_ave_u_b(inp0, res); in hv_mc_qpel_no_rnd_horiz_src0_16x16_msa()
2758 LD_UB2(src, 1, inp0, inp1); in hv_mc_qpel_no_rnd_horiz_src0_16x16_msa()
2759 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, in hv_mc_qpel_no_rnd_horiz_src0_16x16_msa()
2761 res = __msa_ave_u_b(inp0, res); in hv_mc_qpel_no_rnd_horiz_src0_16x16_msa()
2781 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa() local
2793 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2795 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2798 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2799 horiz0 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2809 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2811 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2814 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2815 horiz4 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2835 inp0 = LD_UB(src); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2836 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2839 horiz8 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2877 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in hv_mc_qpel_no_rnd_horiz_16x16_msa() local
2885 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in hv_mc_qpel_no_rnd_horiz_16x16_msa()
2888 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, in hv_mc_qpel_no_rnd_horiz_16x16_msa()
2909 LD_UB2(src, 1, inp0, inp1); in hv_mc_qpel_no_rnd_horiz_16x16_msa()
2910 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, in hv_mc_qpel_no_rnd_horiz_16x16_msa()
2931 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa() local
2943 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa()
2945 horiz0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa()
2956 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa()
2958 horiz4 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa()
2978 inp0 = LD_UB(src); in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa()
2979 horiz8 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa()
3021 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in hv_mc_qpel_no_rnd_horiz_src1_16x16_msa() local
3029 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in hv_mc_qpel_no_rnd_horiz_src1_16x16_msa()
3032 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, in hv_mc_qpel_no_rnd_horiz_src1_16x16_msa()
3057 LD_UB2(src, 1, inp0, inp1); in hv_mc_qpel_no_rnd_horiz_src1_16x16_msa()
3058 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp0, inp1, mask, in hv_mc_qpel_no_rnd_horiz_src1_16x16_msa()
3080 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa() local
3092 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3094 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3097 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3099 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3100 horiz0 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3112 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3114 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3117 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3119 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3120 horiz4 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3142 inp0 = LD_UB(src); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3143 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3146 inp0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) inp0, 1); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3147 horiz8 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3194 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa() local
3206 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3208 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3211 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3212 horiz0 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3222 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3224 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3227 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3228 horiz4 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3247 inp0 = LD_UB(src); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3248 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3251 horiz8 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3289 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_no_rnd_8x8_msa() local
3301 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_8x8_msa()
3303 horiz0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_8x8_msa()
3313 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_8x8_msa()
3315 horiz4 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_8x8_msa()
3333 inp0 = LD_UB(src); in hv_mc_qpel_no_rnd_8x8_msa()
3334 horiz8 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, in hv_mc_qpel_no_rnd_8x8_msa()
3375 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa() local
3387 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3389 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3392 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3394 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3395 horiz0 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3407 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3409 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3412 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3414 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3415 horiz4 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3435 inp0 = LD_UB(src); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3436 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3439 inp0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) inp0, 1); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3440 horiz8 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3478 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa() local
3490 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3492 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3495 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3496 horiz0 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3506 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3508 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3511 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3512 horiz4 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3532 inp0 = LD_UB(src); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3533 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3536 horiz8 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3584 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa() local
3596 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa()
3598 horiz0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa()
3608 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa()
3610 horiz4 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa()
3637 inp0 = LD_UB(src); in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa()
3638 horiz8 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa()
3677 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa() local
3689 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3691 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3694 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3696 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3697 horiz0 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3709 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3711 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp0, inp1, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3715 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3716 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3717 horiz4 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3749 inp0 = LD_UB(src); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3750 res0 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3753 inp0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) inp0, 1); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3754 horiz8 = __msa_ave_u_b(inp0, res0); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3779 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in hv_mc_qpel_aver_horiz_src0_16x16_msa() local
3787 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in hv_mc_qpel_aver_horiz_src0_16x16_msa()
3790 res = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, in hv_mc_qpel_aver_horiz_src0_16x16_msa()
3792 res = __msa_aver_u_b(inp0, res); in hv_mc_qpel_aver_horiz_src0_16x16_msa()
3815 LD_UB2(src, 1, inp0, inp1); in hv_mc_qpel_aver_horiz_src0_16x16_msa()
3816 res = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, const20, const6, const3); in hv_mc_qpel_aver_horiz_src0_16x16_msa()
3817 res = __msa_aver_u_b(inp0, res); in hv_mc_qpel_aver_horiz_src0_16x16_msa()
3837 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_aver_hv_src00_8x8_msa() local
3849 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3851 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src00_8x8_msa()
3855 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3856 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3861 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3863 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src00_8x8_msa()
3865 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3866 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3893 inp0 = LD_UB(src); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3894 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src00_8x8_msa()
3896 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3924 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in hv_mc_qpel_aver_horiz_16x16_msa() local
3932 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in hv_mc_qpel_aver_horiz_16x16_msa()
3935 res = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, in hv_mc_qpel_aver_horiz_16x16_msa()
3956 LD_UB2(src, 1, inp0, inp1); in hv_mc_qpel_aver_horiz_16x16_msa()
3957 res = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, const20, const6, const3); in hv_mc_qpel_aver_horiz_16x16_msa()
3977 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_aver_v_src0_8x8_msa() local
3989 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_aver_v_src0_8x8_msa()
3991 horiz0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_aver_v_src0_8x8_msa()
4001 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_aver_v_src0_8x8_msa()
4003 horiz4 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_aver_v_src0_8x8_msa()
4028 inp0 = LD_UB(src); in hv_mc_qpel_aver_v_src0_8x8_msa()
4029 horiz8 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, in hv_mc_qpel_aver_v_src0_8x8_msa()
4061 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in hv_mc_qpel_aver_horiz_src1_16x16_msa() local
4069 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in hv_mc_qpel_aver_horiz_src1_16x16_msa()
4072 res = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, in hv_mc_qpel_aver_horiz_src1_16x16_msa()
4097 LD_UB2(src, 1, inp0, inp1); in hv_mc_qpel_aver_horiz_src1_16x16_msa()
4098 res = APPLY_HORIZ_QPEL_FILTER(inp0, inp1, mask, const20, const6, const3); in hv_mc_qpel_aver_horiz_src1_16x16_msa()
4119 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_aver_hv_src10_8x8_msa() local
4131 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4133 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src10_8x8_msa()
4137 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4139 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4140 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4147 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4149 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src10_8x8_msa()
4153 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4155 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4156 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4178 inp0 = LD_UB(src); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4179 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src10_8x8_msa()
4183 inp0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) inp0, 1); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4184 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4221 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_aver_h_src0_8x8_msa() local
4233 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_aver_h_src0_8x8_msa()
4235 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src0_8x8_msa()
4237 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_aver_h_src0_8x8_msa()
4238 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_h_src0_8x8_msa()
4248 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_aver_h_src0_8x8_msa()
4250 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src0_8x8_msa()
4252 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_aver_h_src0_8x8_msa()
4253 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_h_src0_8x8_msa()
4275 inp0 = LD_UB(src); in hv_mc_qpel_aver_h_src0_8x8_msa()
4276 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src0_8x8_msa()
4278 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_h_src0_8x8_msa()
4309 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_8x8_msa() local
4321 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_8x8_msa()
4323 horiz0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_8x8_msa()
4333 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_8x8_msa()
4335 horiz4 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_8x8_msa()
4358 inp0 = LD_UB(src); in hv_mc_qpel_8x8_msa()
4359 horiz8 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, in hv_mc_qpel_8x8_msa()
4394 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_aver_h_src1_8x8_msa() local
4406 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in hv_mc_qpel_aver_h_src1_8x8_msa()
4409 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src1_8x8_msa()
4413 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_aver_h_src1_8x8_msa()
4415 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_aver_h_src1_8x8_msa()
4416 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_h_src1_8x8_msa()
4423 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in hv_mc_qpel_aver_h_src1_8x8_msa()
4425 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src1_8x8_msa()
4429 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_aver_h_src1_8x8_msa()
4431 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_aver_h_src1_8x8_msa()
4432 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_h_src1_8x8_msa()
4439 inp0 = LD_UB(src); in hv_mc_qpel_aver_h_src1_8x8_msa()
4440 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src1_8x8_msa()
4442 inp0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) inp0, 1); in hv_mc_qpel_aver_h_src1_8x8_msa()
4443 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_h_src1_8x8_msa()
4486 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_aver_hv_src01_8x8_msa() local
4498 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4501 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src01_8x8_msa()
4505 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4506 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4511 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4514 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src01_8x8_msa()
4516 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4517 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4536 inp0 = LD_UB(src); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4537 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src01_8x8_msa()
4539 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4583 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_aver_v_src1_8x8_msa() local
4595 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_aver_v_src1_8x8_msa()
4597 horiz0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_aver_v_src1_8x8_msa()
4607 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_aver_v_src1_8x8_msa()
4609 horiz4 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_aver_v_src1_8x8_msa()
4635 inp0 = LD_UB(src); in hv_mc_qpel_aver_v_src1_8x8_msa()
4636 horiz8 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, in hv_mc_qpel_aver_v_src1_8x8_msa()
4676 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_aver_hv_src11_8x8_msa() local
4688 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4690 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_aver_hv_src11_8x8_msa()
4693 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4695 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4696 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4705 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4707 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src11_8x8_msa()
4709 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4711 inp0 = (v16u8) __msa_insve_d((v2i64) inp0, 1, (v2i64) inp1); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4712 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4740 inp0 = LD_UB(src); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4741 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src11_8x8_msa()
4743 inp0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) inp0, 1); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4744 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4781 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa() local
4794 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4796 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4800 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4801 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4805 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4810 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4812 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4813 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4848 inp0 = LD_UB(src); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4849 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4851 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4894 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa() local
4907 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa()
4909 horiz0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa()
4918 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa()
4921 horiz4 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa()
4957 inp0 = LD_UB(src); in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa()
4958 horiz8 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa()
5003 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa() local
5016 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5018 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5023 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5025 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5026 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5030 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5037 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5040 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5042 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5043 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5081 inp0 = LD_UB(src); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5082 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5084 inp0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) inp0, 1); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5085 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5128 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa() local
5141 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5143 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5147 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5148 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5152 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5157 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5159 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5160 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5191 inp0 = LD_UB(src); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5192 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5194 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5230 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_avg_dst_8x8_msa() local
5243 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_8x8_msa()
5245 horiz0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_avg_dst_8x8_msa()
5254 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_8x8_msa()
5257 horiz4 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_avg_dst_8x8_msa()
5267 inp0 = LD_UB(src); in hv_mc_qpel_avg_dst_8x8_msa()
5268 horiz8 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, in hv_mc_qpel_avg_dst_8x8_msa()
5331 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa() local
5344 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5346 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5350 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5352 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5353 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5357 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5364 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5367 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5369 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5370 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5404 inp0 = LD_UB(src); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5405 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5407 inp0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) inp0, 1); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5408 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5447 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa() local
5460 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5463 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5465 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5466 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5476 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5478 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5480 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5481 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5515 inp0 = LD_UB(src); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5516 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5518 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5561 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa() local
5574 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa()
5576 horiz0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa()
5587 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa()
5589 horiz4 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa()
5624 inp0 = LD_UB(src); in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa()
5625 horiz8 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa()
5668 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa() local
5681 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5683 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5687 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5689 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5690 horiz0 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5694 LD_UB2(src, src_stride, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5701 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp0, inp1, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5703 SLDI_B2_UB(inp0, inp0, inp1, inp1, 1, inp0, inp1); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5705 inp0 = (v16u8) __msa_ilvr_d((v2i64) inp1, (v2i64) inp0); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5706 horiz4 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5741 inp0 = LD_UB(src); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5742 res0 = APPLY_HORIZ_QPEL_FILTER_8BYTE_1ROW(inp0, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5744 inp0 = (v16u8) __msa_sldi_b((v16i8) inp0, (v16i8) inp0, 1); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5745 horiz8 = __msa_aver_u_b(inp0, res0); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()