Lines Matching refs:inp3
194 #define APPLY_VERT_QPEL_FILTER(inp0, inp1, inp2, inp3, \ argument
204 ILVRL_B2_UH(inp7, inp3, sum3_r, sum3_l); \
248 #define APPLY_VERT_QPEL_NO_ROUND_FILTER(inp0, inp1, inp2, inp3, \ argument
258 ILVRL_B2_UH(inp7, inp3, sum3_r, sum3_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()
331 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, in horiz_mc_qpel_aver_src0_8width_msa()
335 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
358 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_aver_src0_16width_msa()
366 res = APPLY_HORIZ_QPEL_FILTER(inp2, inp3, mask, 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()
409 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, in horiz_mc_qpel_8width_msa()
424 v16u8 inp0, inp1, inp2, inp3, inp4, inp5, inp6, inp7; in horiz_mc_qpel_16width_msa() local
433 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_16width_msa()
440 res = APPLY_HORIZ_QPEL_FILTER(inp2, inp3, 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()
480 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, 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()
486 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
509 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_aver_src1_16width_msa()
517 res = APPLY_HORIZ_QPEL_FILTER(inp2, inp3, mask, in horiz_mc_qpel_aver_src1_16width_msa()
519 res = __msa_aver_u_b(res, inp3); 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()
560 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in horiz_mc_qpel_no_rnd_aver_src0_8width_msa()
564 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
588 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_no_rnd_aver_src0_16width_msa()
596 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp2, inp3, mask, 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()
639 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, 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
663 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_no_rnd_16width_msa()
670 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp2, inp3, 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()
710 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, 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()
716 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
740 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_no_rnd_aver_src1_16width_msa()
748 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp2, inp3, mask, in horiz_mc_qpel_no_rnd_aver_src1_16width_msa()
750 res = __msa_ave_u_b(res, inp3); 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()
792 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, in horiz_mc_qpel_avg_dst_aver_src0_8width_msa()
797 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
824 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_avg_dst_aver_src0_16width_msa()
828 res1 = APPLY_HORIZ_QPEL_FILTER(inp2, inp3, mask, 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()
872 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, 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
901 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_avg_dst_16width_msa()
905 res1 = APPLY_HORIZ_QPEL_FILTER(inp2, inp3, 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()
947 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, 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()
954 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
980 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_avg_dst_aver_src1_16width_msa()
984 res1 = APPLY_HORIZ_QPEL_FILTER(inp2, inp3, mask, in horiz_mc_qpel_avg_dst_aver_src1_16width_msa()
987 AVER_UB2_UB(res0, inp1, res1, inp3, res0, res1); 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()
1020 inp1, inp2, inp3, inp4, in vert_mc_qpel_aver_src0_8x8_msa()
1022 inp2, inp3, inp4, inp5, in vert_mc_qpel_aver_src0_8x8_msa()
1027 inp3, inp4, inp5, inp6, in vert_mc_qpel_aver_src0_8x8_msa()
1028 inp3, inp2, inp1, inp0, in vert_mc_qpel_aver_src0_8x8_msa()
1032 tmp1 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); in vert_mc_qpel_aver_src0_8x8_msa()
1037 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp4, inp3, inp2, inp1, in vert_mc_qpel_aver_src0_8x8_msa()
1039 inp5, inp4, inp3, inp2, in vert_mc_qpel_aver_src0_8x8_msa()
1042 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp6, inp5, inp4, inp3, 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()
1068 inp1, inp2, inp3, inp4, in vert_mc_qpel_aver_src0_16x16_msa()
1077 inp2, inp3, inp4, inp5, in vert_mc_qpel_aver_src0_16x16_msa()
1086 inp3, inp4, inp5, inp6, 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()
1097 res0 = __msa_aver_u_b(res0, inp3); in vert_mc_qpel_aver_src0_16x16_msa()
1103 res0 = APPLY_VERT_QPEL_FILTER(inp4, inp3, inp2, inp1, in vert_mc_qpel_aver_src0_16x16_msa()
1110 res0 = APPLY_VERT_QPEL_FILTER(inp5, inp4, inp3, inp2, in vert_mc_qpel_aver_src0_16x16_msa()
1119 res0 = APPLY_VERT_QPEL_FILTER(inp6, inp5, inp4, inp3, 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()
1210 inp1, inp2, inp3, inp4, in vert_mc_qpel_8x8_msa()
1212 inp2, inp3, inp4, inp5, in vert_mc_qpel_8x8_msa()
1217 inp3, inp4, inp5, inp6, in vert_mc_qpel_8x8_msa()
1218 inp3, inp2, inp1, inp0, in vert_mc_qpel_8x8_msa()
1224 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp4, inp3, inp2, inp1, in vert_mc_qpel_8x8_msa()
1226 inp5, inp4, inp3, inp2, in vert_mc_qpel_8x8_msa()
1229 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp6, inp5, inp4, inp3, 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()
1254 inp1, inp2, inp3, inp4, in vert_mc_qpel_16x16_msa()
1262 inp2, inp3, inp4, inp5, in vert_mc_qpel_16x16_msa()
1270 inp3, inp4, inp5, inp6, in vert_mc_qpel_16x16_msa()
1277 res0 = APPLY_VERT_QPEL_FILTER(inp3, inp2, inp1, inp0, in vert_mc_qpel_16x16_msa()
1285 res0 = APPLY_VERT_QPEL_FILTER(inp4, inp3, inp2, inp1, in vert_mc_qpel_16x16_msa()
1293 res0 = APPLY_VERT_QPEL_FILTER(inp5, inp4, inp3, inp2, in vert_mc_qpel_16x16_msa()
1301 res0 = APPLY_VERT_QPEL_FILTER(inp6, inp5, inp4, inp3, 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()
1389 inp1, inp2, inp3, inp4, in vert_mc_qpel_aver_src1_8x8_msa()
1391 inp2, inp3, inp4, inp5, in vert_mc_qpel_aver_src1_8x8_msa()
1397 inp3, inp4, inp5, inp6, in vert_mc_qpel_aver_src1_8x8_msa()
1398 inp3, inp2, inp1, inp0, in vert_mc_qpel_aver_src1_8x8_msa()
1402 tmp1 = (v16u8) __msa_insve_d((v2i64) inp3, 1, (v2i64) inp4); in vert_mc_qpel_aver_src1_8x8_msa()
1407 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp4, inp3, inp2, inp1, in vert_mc_qpel_aver_src1_8x8_msa()
1409 inp5, inp4, inp3, inp2, in vert_mc_qpel_aver_src1_8x8_msa()
1412 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp6, inp5, inp4, inp3, 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()
1440 inp1, inp2, inp3, inp4, in vert_mc_qpel_aver_src1_16x16_msa()
1449 inp2, inp3, inp4, inp5, in vert_mc_qpel_aver_src1_16x16_msa()
1458 inp3, inp4, inp5, inp6, in vert_mc_qpel_aver_src1_16x16_msa()
1460 res0 = __msa_aver_u_b(res0, inp3); 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()
1475 res0 = APPLY_VERT_QPEL_FILTER(inp4, inp3, inp2, inp1, in vert_mc_qpel_aver_src1_16x16_msa()
1484 res0 = APPLY_VERT_QPEL_FILTER(inp5, inp4, inp3, inp2, in vert_mc_qpel_aver_src1_16x16_msa()
1493 res0 = APPLY_VERT_QPEL_FILTER(inp6, inp5, inp4, inp3, 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()
1590 inp1, inp2, inp3, inp4, in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1592 inp2, inp3, inp4, inp5, in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1597 inp3, inp4, inp5, inp6, 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()
1602 tmp1 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1608 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp4, inp3, inp2, inp1, in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1610 inp5, inp4, inp3, inp2, in vert_mc_qpel_no_rnd_aver_src0_8x8_msa()
1613 res1 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp6, inp5, inp4, inp3, 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()
1640 inp1, inp2, inp3, inp4, in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1649 inp2, inp3, inp4, inp5, in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1658 inp3, inp4, inp5, inp6, 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()
1669 res0 = __msa_ave_u_b(res0, inp3); in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1675 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp4, inp3, inp2, inp1, in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1684 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp5, inp4, inp3, inp2, in vert_mc_qpel_no_rnd_aver_src0_16x16_msa()
1693 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp6, inp5, inp4, inp3, 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()
1791 inp1, inp2, inp3, inp4, in vert_mc_qpel_no_rnd_8x8_msa()
1793 inp2, inp3, inp4, inp5, in vert_mc_qpel_no_rnd_8x8_msa()
1798 inp3, inp4, inp5, inp6, in vert_mc_qpel_no_rnd_8x8_msa()
1799 inp3, inp2, inp1, inp0, in vert_mc_qpel_no_rnd_8x8_msa()
1805 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp4, inp3, inp2, inp1, in vert_mc_qpel_no_rnd_8x8_msa()
1807 inp5, inp4, inp3, inp2, in vert_mc_qpel_no_rnd_8x8_msa()
1810 res1 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp6, inp5, inp4, inp3, 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()
1833 inp1, inp2, inp3, inp4, in vert_mc_qpel_no_rnd_16x16_msa()
1841 inp2, inp3, inp4, inp5, in vert_mc_qpel_no_rnd_16x16_msa()
1849 inp3, inp4, inp5, inp6, 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()
1864 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp4, inp3, inp2, inp1, in vert_mc_qpel_no_rnd_16x16_msa()
1872 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp5, inp4, inp3, inp2, in vert_mc_qpel_no_rnd_16x16_msa()
1880 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp6, inp5, inp4, inp3, 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()
1967 inp1, inp2, inp3, inp4, in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
1969 inp2, inp3, inp4, inp5, in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
1974 inp3, inp4, inp5, inp6, 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()
1979 tmp1 = (v16u8) __msa_insve_d((v2i64) inp3, 1, (v2i64) inp4); in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
1985 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp4, inp3, inp2, inp1, in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
1987 inp5, inp4, inp3, inp2, in vert_mc_qpel_no_rnd_aver_src1_8x8_msa()
1990 res1 = APPLY_VERT_QPEL_NO_ROUND_FILTER_8BYTE(inp6, inp5, inp4, inp3, 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()
2017 inp1, inp2, inp3, inp4, in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2026 inp2, inp3, inp4, inp5, in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2035 inp3, inp4, inp5, inp6, in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2037 res0 = __msa_ave_u_b(res0, inp3); 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()
2052 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp4, inp3, inp2, inp1, in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2061 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp5, inp4, inp3, inp2, in vert_mc_qpel_no_rnd_aver_src1_16x16_msa()
2070 res0 = APPLY_VERT_QPEL_NO_ROUND_FILTER(inp6, inp5, inp4, inp3, 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()
2168 inp1, inp2, inp3, inp4, in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2170 inp2, inp3, inp4, inp5, in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2176 inp3, inp4, inp5, inp6, 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()
2183 tmp1 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2192 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp4, inp3, inp2, inp1, in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2194 inp5, inp4, inp3, inp2, in vert_mc_qpel_avg_dst_aver_src0_8x8_msa()
2197 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp6, inp5, inp4, inp3, 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()
2228 inp1, inp2, inp3, inp4, in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2234 inp2, inp3, inp4, inp5, in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2246 inp3, inp4, inp5, inp6, 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()
2256 AVER_UB2_UB(res0, inp2, res1, inp3, res0, res1); in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2263 res0 = APPLY_VERT_QPEL_FILTER(inp4, inp3, inp2, inp1, in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2266 res1 = APPLY_VERT_QPEL_FILTER(inp5, inp4, inp3, inp2, in vert_mc_qpel_avg_dst_aver_src0_16x16_msa()
2278 res0 = APPLY_VERT_QPEL_FILTER(inp6, inp5, inp4, inp3, 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()
2362 inp1, inp2, inp3, inp4, in vert_mc_qpel_avg_dst_8x8_msa()
2364 inp2, inp3, inp4, inp5, in vert_mc_qpel_avg_dst_8x8_msa()
2369 inp3, inp4, inp5, inp6, in vert_mc_qpel_avg_dst_8x8_msa()
2370 inp3, inp2, inp1, inp0, in vert_mc_qpel_avg_dst_8x8_msa()
2381 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp4, inp3, inp2, inp1, in vert_mc_qpel_avg_dst_8x8_msa()
2383 inp5, inp4, inp3, inp2, in vert_mc_qpel_avg_dst_8x8_msa()
2386 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp6, inp5, inp4, inp3, 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()
2413 inp1, inp2, inp3, inp4, in vert_mc_qpel_avg_dst_16x16_msa()
2418 inp2, inp3, inp4, inp5, in vert_mc_qpel_avg_dst_16x16_msa()
2428 inp3, inp4, inp5, inp6, 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()
2442 res0 = APPLY_VERT_QPEL_FILTER(inp4, inp3, inp2, inp1, in vert_mc_qpel_avg_dst_16x16_msa()
2447 res1 = APPLY_VERT_QPEL_FILTER(inp5, inp4, inp3, inp2, in vert_mc_qpel_avg_dst_16x16_msa()
2457 res0 = APPLY_VERT_QPEL_FILTER(inp6, inp5, inp4, inp3, 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()
2540 inp1, inp2, inp3, inp4, in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2542 inp2, inp3, inp4, inp5, in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2547 inp3, inp4, inp5, inp6, 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()
2553 tmp1 = (v16u8) __msa_insve_d((v2i64) inp3, 1, (v2i64) inp4); in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2562 res0 = APPLY_VERT_QPEL_FILTER_8BYTE(inp4, inp3, inp2, inp1, in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2564 inp5, inp4, inp3, inp2, in vert_mc_qpel_avg_dst_aver_src1_8x8_msa()
2567 res1 = APPLY_VERT_QPEL_FILTER_8BYTE(inp6, inp5, inp4, inp3, 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()
2597 inp1, inp2, inp3, inp4, in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2602 inp2, inp3, inp4, inp5, in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2613 inp3, inp4, inp5, inp6, 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()
2621 AVER_UB2_UB(res0, inp3, res1, inp4, res0, res1); in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2628 res0 = APPLY_VERT_QPEL_FILTER(inp4, inp3, inp2, inp1, in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2633 res1 = APPLY_VERT_QPEL_FILTER(inp5, inp4, inp3, inp2, in vert_mc_qpel_avg_dst_aver_src1_16x16_msa()
2644 res0 = APPLY_VERT_QPEL_FILTER(inp6, inp5, inp4, inp3, 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
2731 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in hv_mc_qpel_no_rnd_horiz_src0_16x16_msa()
2739 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp2, inp3, mask, 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
2801 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2803 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2806 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2827 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2829 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa()
2832 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
2886 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in hv_mc_qpel_no_rnd_horiz_16x16_msa()
2893 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp2, inp3, 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
2950 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa()
2952 horiz2 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa()
2972 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa()
2974 horiz6 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, 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
3030 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in hv_mc_qpel_no_rnd_horiz_src1_16x16_msa()
3038 res = APPLY_HORIZ_QPEL_NO_ROUND_FILTER(inp2, inp3, mask, in hv_mc_qpel_no_rnd_horiz_src1_16x16_msa()
3040 res = __msa_ave_u_b(res, inp3); 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
3102 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3104 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3107 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3109 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3132 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3134 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3137 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa()
3139 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
3214 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3216 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3219 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3236 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3241 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa()
3244 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
3307 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_8x8_msa()
3309 horiz2 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_8x8_msa()
3324 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_8x8_msa()
3329 horiz6 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, 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
3397 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3399 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3402 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3404 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3422 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3427 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3430 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa()
3432 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
3498 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3500 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3503 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3524 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3526 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa()
3529 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
3602 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa()
3604 horiz2 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa()
3621 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa()
3626 horiz6 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, 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
3699 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3701 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3704 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3706 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3729 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3731 res1 = APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE(inp2, inp3, mask0, mask1, in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3734 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa()
3736 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
3788 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in hv_mc_qpel_aver_horiz_src0_16x16_msa()
3796 res = APPLY_HORIZ_QPEL_FILTER(inp2, inp3, mask, 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()
3853 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src00_8x8_msa()
3858 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3878 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_aver_hv_src00_8x8_msa()
3880 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src00_8x8_msa()
3882 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
3933 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in hv_mc_qpel_aver_horiz_16x16_msa()
3940 res = APPLY_HORIZ_QPEL_FILTER(inp2, inp3, mask, in hv_mc_qpel_aver_horiz_16x16_msa()
3977 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_aver_v_src0_8x8_msa() local
3995 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_aver_v_src0_8x8_msa()
3997 horiz2 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, in hv_mc_qpel_aver_v_src0_8x8_msa()
4017 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_aver_v_src0_8x8_msa()
4019 horiz6 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, 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
4070 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in hv_mc_qpel_aver_horiz_src1_16x16_msa()
4078 res = APPLY_HORIZ_QPEL_FILTER(inp2, inp3, mask, in hv_mc_qpel_aver_horiz_src1_16x16_msa()
4080 res = __msa_aver_u_b(res, inp3); 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()
4135 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src10_8x8_msa()
4142 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4144 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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()
4151 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src10_8x8_msa()
4158 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_aver_hv_src10_8x8_msa()
4160 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
4241 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_aver_h_src0_8x8_msa()
4243 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src0_8x8_msa()
4245 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_aver_h_src0_8x8_msa()
4263 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_aver_h_src0_8x8_msa()
4265 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src0_8x8_msa()
4267 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_aver_h_src0_8x8_msa()
4309 v16u8 inp0, inp1, inp2, inp3; in hv_mc_qpel_8x8_msa() local
4327 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_8x8_msa()
4329 horiz2 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, in hv_mc_qpel_8x8_msa()
4347 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_8x8_msa()
4349 horiz6 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, 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()
4411 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src1_8x8_msa()
4418 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_aver_h_src1_8x8_msa()
4420 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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()
4427 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_h_src1_8x8_msa()
4434 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_aver_h_src1_8x8_msa()
4436 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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()
4503 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src01_8x8_msa()
4508 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4529 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_aver_hv_src01_8x8_msa()
4531 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src01_8x8_msa()
4533 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
4601 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_aver_v_src1_8x8_msa()
4603 horiz2 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, in hv_mc_qpel_aver_v_src1_8x8_msa()
4624 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_aver_v_src1_8x8_msa()
4626 horiz6 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, 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()
4698 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src11_8x8_msa()
4700 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4702 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4721 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4726 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_aver_hv_src11_8x8_msa()
4728 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_aver_hv_src11_8x8_msa()
4730 inp2 = (v16u8) __msa_insve_d((v2i64) inp2, 1, (v2i64) inp3); 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
4798 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4803 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4807 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4828 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4830 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa()
4832 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
4912 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa()
4915 horiz2 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa()
4938 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa()
4940 horiz6 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, 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
5021 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5028 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5032 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5034 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5058 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5060 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5063 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa()
5065 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
5145 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5150 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5154 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5173 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5175 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa()
5177 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
5248 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_8x8_msa()
5251 horiz2 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, in hv_mc_qpel_avg_dst_8x8_msa()
5261 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_8x8_msa()
5263 horiz6 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, 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
5348 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5355 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5359 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5361 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5383 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5385 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5388 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa()
5390 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
5468 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5470 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5472 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5496 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5498 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa()
5500 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); 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
5580 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa()
5582 horiz2 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa()
5606 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa()
5608 horiz6 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, 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
5685 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5692 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5696 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5698 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5720 LD_UB2(src, src_stride, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5722 res1 = APPLY_HORIZ_QPEL_FILTER_8BYTE(inp2, inp3, mask0, mask1, mask2, mask3, in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5724 SLDI_B2_UB(inp2, inp2, inp3, inp3, 1, inp2, inp3); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()
5726 inp2 = (v16u8) __msa_ilvr_d((v2i64) inp3, (v2i64) inp2); in hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa()