/third_party/ffmpeg/libavcodec/loongarch/ |
D | hevcdsp_lsx.c | 636 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst0, vec1, filt1, dst0, vec2, filt2, in hevc_hz_8t_4w_lsx() 642 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst1, vec1, filt1, dst1, vec2, filt2, in hevc_hz_8t_4w_lsx() 648 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst2, vec1, filt1, dst2, vec2, filt2, in hevc_hz_8t_4w_lsx() 654 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst3, vec1, filt1, dst3, vec2, filt2, in hevc_hz_8t_4w_lsx() 675 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst0, vec1, filt1, dst0, vec2, filt2, in hevc_hz_8t_4w_lsx() 719 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst0, vec1, filt1, dst0, vec2, filt2, in hevc_hz_8t_8w_lsx() 725 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst1, vec1, filt1, dst1, vec2, filt2, in hevc_hz_8t_8w_lsx() 731 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst2, vec1, filt1, dst2, vec2, filt2, in hevc_hz_8t_8w_lsx() 737 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst3, vec1, filt1, dst3, vec2, filt2, in hevc_hz_8t_8w_lsx() 786 DUP2_ARG3(__lsx_vshuf_b, src0, src0, mask0, src1, src1, mask0, in hevc_hz_8t_12w_lsx() [all …]
|
D | hevc_lpf_sao_lsx.c | 151 DUP2_ARG3(__lsx_vbitsel_v, dst0, p2_src, p_is_pcm_vec, dst1, in ff_hevc_loop_filter_luma_h_8_lsx() 181 DUP2_ARG3(__lsx_vbitsel_v, dst3, q0_src, q_is_pcm_vec, dst4, in ff_hevc_loop_filter_luma_h_8_lsx() 195 DUP2_ARG3(__lsx_vbitsel_v, dst0, dst3, cmp3, dst1, dst4, cmp3, in ff_hevc_loop_filter_luma_h_8_lsx() 255 DUP2_ARG3(__lsx_vclip_h, delta1, tc_neg, tc_pos, delta2, in ff_hevc_loop_filter_luma_h_8_lsx() 260 DUP2_ARG3(__lsx_vbitsel_v, delta1, p1_src, p_is_pcm_vec, delta2, in ff_hevc_loop_filter_luma_h_8_lsx() 273 DUP2_ARG3(__lsx_vbitsel_v, dst0, dst2, cmp3, dst1, dst3, cmp3, in ff_hevc_loop_filter_luma_h_8_lsx() 312 DUP2_ARG3(__lsx_vbitsel_v, dst0, p2_src, p_is_pcm_vec, dst1, in ff_hevc_loop_filter_luma_h_8_lsx() 341 DUP2_ARG3(__lsx_vbitsel_v, dst3, q0_src, q_is_pcm_vec, dst4, in ff_hevc_loop_filter_luma_h_8_lsx() 395 DUP2_ARG3(__lsx_vclip_h, delta1, tc_neg, tc_pos, delta2, tc_neg, in ff_hevc_loop_filter_luma_h_8_lsx() 400 DUP2_ARG3(__lsx_vbitsel_v, delta1, p1_src, p_is_pcm_vec, delta2, in ff_hevc_loop_filter_luma_h_8_lsx() [all …]
|
D | hevc_mc_uni_lsx.c | 64 DUP2_ARG3(__lsx_vshuf_b, src0, src0, mask0, src1, src1, mask0, in common_hz_8t_64w_lsx() 66 DUP2_ARG3(__lsx_vshuf_b, src2, src2, mask0, src3, src3, mask0, in common_hz_8t_64w_lsx() 70 DUP2_ARG3(__lsx_vshuf_b, src0, src0, mask2, src1, src1, mask2, in common_hz_8t_64w_lsx() 72 DUP2_ARG3(__lsx_vshuf_b, src2, src2, mask2, src3, src3, mask2, in common_hz_8t_64w_lsx() 76 DUP2_ARG3(__lsx_vshuf_b, src0, src0, mask1, src1, src1, mask1, in common_hz_8t_64w_lsx() 78 DUP2_ARG3(__lsx_vshuf_b, src2, src2, mask1, src3, src3, mask1, in common_hz_8t_64w_lsx() 82 DUP2_ARG3(__lsx_vshuf_b, src0, src0, mask3, src1, src1, mask3, in common_hz_8t_64w_lsx() 84 DUP2_ARG3(__lsx_vshuf_b, src2, src2, mask3, src3, src3, mask3, in common_hz_8t_64w_lsx() 89 DUP2_ARG3(__lsx_vssrarni_bu_h, res1, res0, 6, res3, res2, 6, in common_hz_8t_64w_lsx() 94 DUP2_ARG3(__lsx_vshuf_b, src4, src4, mask0, src5, src5, mask0, in common_hz_8t_64w_lsx() [all …]
|
D | hevc_mc_bi_lsx.c | 501 DUP2_ARG3(__lsx_vshuf_b, src0, src0, mask0, src1, src1, mask0, in hevc_hz_8t_16w_lsx() 503 DUP2_ARG3(__lsx_vshuf_b, src2, src2, mask0, src3, src3, mask0, in hevc_hz_8t_16w_lsx() 507 DUP2_ARG3(__lsx_vshuf_b, src0, src0, mask1, src1, src1, mask1, in hevc_hz_8t_16w_lsx() 509 DUP2_ARG3(__lsx_vshuf_b, src2, src2, mask1, src3, src3, mask1, in hevc_hz_8t_16w_lsx() 513 DUP2_ARG3(__lsx_vshuf_b, src0, src0, mask2, src1, src1, mask2, in hevc_hz_8t_16w_lsx() 515 DUP2_ARG3(__lsx_vshuf_b, src2, src2, mask2, src3, src3, mask2, in hevc_hz_8t_16w_lsx() 519 DUP2_ARG3(__lsx_vshuf_b, src0, src0, mask3, src1, src1, mask3, in hevc_hz_8t_16w_lsx() 521 DUP2_ARG3(__lsx_vshuf_b, src2, src2, mask3, src3, src3, mask3, in hevc_hz_8t_16w_lsx() 957 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst7, vec1, filt1, dst7, vec2, in hevc_hv_8t_8multx1mult_lsx() 970 DUP2_ARG3(__lsx_vdp2add_w_h, dst0_r, dst76_r, filt_h3, dst0_l, in hevc_hv_8t_8multx1mult_lsx() [all …]
|
D | vp8_mc_lsx.c | 57 DUP2_ARG3(__lsx_vshuf_b, in1, in0, mask0, in3, in2, mask1, \ 114 DUP2_ARG3(__lsx_vshuf_b, src1, src0, mask0, src1, src0, mask1, \ 155 DUP2_ARG3(__lsx_vssrarni_b_h, out1, out0, 7, out3, out2, 7, out0, out1); in ff_put_vp8_epel8_h6_lsx() 175 DUP2_ARG3(__lsx_vssrarni_b_h, out1, out0, 7, out3, out2, 7, out0, out1); in ff_put_vp8_epel8_h6_lsx() 227 DUP2_ARG3(__lsx_vssrarni_b_h, out1, out0, 7, out3, out2, 7, out0, out1); in ff_put_vp8_epel16_h6_lsx() 234 DUP2_ARG3(__lsx_vssrarni_b_h, out5, out4, 7, out7, out6, 7, out4, out5); in ff_put_vp8_epel16_h6_lsx() 289 DUP2_ARG3(__lsx_vssrarni_b_h, out1_l, out0_l, 7, out3_l, out2_l, 7, in ff_put_vp8_epel8_v6_lsx() 360 DUP2_ARG3(__lsx_vssrarni_b_h, tmp2, tmp0, 7, tmp3, tmp1, 7, tmp0, tmp1); in ff_put_vp8_epel16_v6_lsx() 372 DUP2_ARG3(__lsx_vssrarni_b_h, tmp2, tmp0, 7, tmp3, tmp1, 7, tmp0, tmp1); in ff_put_vp8_epel16_v6_lsx() 473 DUP2_ARG3(__lsx_vssrarni_b_h, tmp1, tmp0, 7, tmp3, tmp2, 7, tmp0, tmp1); in ff_put_vp8_epel8_h6v6_lsx() [all …]
|
D | h264chroma_lasx.c | 56 DUP2_ARG3(__lasx_xvpermi_q, src2, src1, 0x20, src4, src3, 0x20, src1, src3); in avc_chroma_hv_8x4_lasx() 58 DUP2_ARG3(__lasx_xvshuf_b, src1, src1, mask, src3, src3, mask, src1, src3); in avc_chroma_hv_8x4_lasx() 118 DUP2_ARG3(__lasx_xvssrarni_bu_h, res_vt1, res_vt0, 6, res_vt3, res_vt2, 6, out0, out1); in avc_chroma_hv_8x8_lasx() 146 DUP2_ARG3(__lasx_xvpermi_q, src1, src0, 0x20, src3, src2, 0x20, src0, src2); in avc_chroma_hz_8x4_lasx() 147 DUP2_ARG3(__lasx_xvshuf_b, src0, src0, mask, src2, src2, mask, src0, src2); in avc_chroma_hz_8x4_lasx() 184 DUP2_ARG3(__lasx_xvssrarni_bu_h, res1, res0, 6, res3, res2, 6, out0, out1); in avc_chroma_hz_8x8_lasx() 218 DUP2_ARG3(__lasx_xvpermi_q, src1, src0, 0x20, src3, src2, 0x20, src0, src2); in avc_chroma_hz_nonmult_lasx() 219 DUP2_ARG3(__lasx_xvshuf_b, src0, src0, mask, src2, src2, mask, src0, src2); in avc_chroma_hz_nonmult_lasx() 298 DUP2_ARG3(__lasx_xvssrarni_bu_h, res1, res0, 6, res3, res2, 6, out0, out1); in avc_chroma_vt_8x8_lasx() 406 DUP2_ARG3(__lasx_xvshuf_b, src1, src0, mask, src2, src1, mask, src0, src1); in avc_chroma_hv_4x2_lasx() [all …]
|
D | vp9_mc_lsx.c | 44 DUP2_ARG3(__lsx_vshuf_b, _src1, _src0, _mask0, _src3, _src2, _mask0, \ 47 DUP2_ARG3(__lsx_vshuf_b, _src1, _src0, _mask1, _src3, _src2, _mask1, \ 49 DUP2_ARG3(__lsx_vdp2add_h_b, _reg0, _tmp2, _filter1, _reg1, _tmp3, \ 51 DUP2_ARG3(__lsx_vshuf_b, _src1, _src0, _mask2, _src3, _src2, _mask2, \ 54 DUP2_ARG3(__lsx_vshuf_b, _src1, _src0, _mask3, _src3, _src2, _mask3, \ 56 DUP2_ARG3(__lsx_vdp2add_h_b, _reg2, _tmp6, _filter3, _reg3, _tmp7, \ 198 DUP2_ARG3(__lsx_vssrarni_b_h, out1, out0, 7, out3, out2, 7, out0, out1); in common_hz_8t_4x8_lsx() 249 DUP2_ARG3(__lsx_vssrarni_b_h, out1, out0, 7, out3, out2, 7, out0, out1); in common_hz_8t_8x4_lsx() 289 DUP2_ARG3(__lsx_vssrarni_b_h, out1, out0, 7, out3, out2, 7, out0, out1); in common_hz_8t_8x8mult_lsx() 340 DUP2_ARG3(__lsx_vssrarni_b_h, out1, out0, 7, out3, out2, 7, out0, out1); in common_hz_8t_16w_lsx() [all …]
|
D | hevc_mc_uniw_lsx.c | 135 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst7, vec1, filt1, dst7, vec2, in hevc_hv_8t_8x2_lsx() 145 DUP2_ARG3(__lsx_vdp2add_w_h, dst0_r, dst76_r, filt_h3, dst0_l, in hevc_hv_8t_8x2_lsx() 153 DUP2_ARG3(__lsx_vdp2add_h_bu_b, dst8, vec1, filt1, dst8, vec2, in hevc_hv_8t_8x2_lsx() 164 DUP2_ARG3(__lsx_vdp2add_w_h, dst1_r, dst87_r, filt_h3, dst1_l, in hevc_hv_8t_8x2_lsx()
|
D | vc1dsp_lasx.c | 63 DUP2_ARG3(__lasx_xvdp2add_w_h, t2, temp0, const_1, t2, temp0, in ff_vc1_inv_trans_8x8_lasx() 100 DUP2_ARG3(__lasx_xvdp2add_w_h, t3, temp0, const_1, t3, temp0, in ff_vc1_inv_trans_8x8_lasx() 162 DUP2_ARG3(__lasx_xvssrarni_bu_h, reg1, reg0, 0, reg3, reg2, 0, in ff_vc1_inv_trans_8x8_dc_lasx() 234 DUP2_ARG3(__lasx_xvsrani_h_w, t2, t1, 3, temp1, temp0, 3, temp2, temp3); in ff_vc1_inv_trans_8x4_lasx() 238 DUP2_ARG3(__lasx_xvdp2add_w_h, const_64, temp0, const_8, const_64, temp0, in ff_vc1_inv_trans_8x4_lasx() 370 DUP2_ARG3(__lasx_xvdp2add_w_h, const_5, temp0, const_1, const_5, temp0, in ff_vc1_inv_trans_4x8_lasx() 881 DUP2_ARG3(__lasx_xvpermi_q, out0, out0, 0x31, out1, out1, 0x31, out16, out17); in put_vc1_mspel_mc_h_lasx()
|
D | hpeldsp_lasx.c | 648 DUP2_ARG3(__lasx_xvpermi_q, src12, src16, 0x02, src13, src17, 0x02, in common_hv_bil_no_rnd_16x16_lasx() 722 DUP2_ARG3(__lasx_xvpermi_q, src12, src16, 0x02, src13, src17, 0x02, src8, src9); in common_hv_bil_no_rnd_16x16_lasx() 808 DUP2_ARG3(__lasx_xvpermi_q, src12, src16, 0x02, src13, src17, 0x02, src8, src9); in common_hv_bil_no_rnd_8x16_lasx() 939 DUP2_ARG3(__lasx_xvpermi_q, src1, src0, 0x20, src3, src2, 0x20, src0, src1); in common_hz_bil_no_rnd_4x8_lasx() 1014 DUP2_ARG3(__lasx_xvpermi_q, src2, src0, 0x20, src3, src1, 0x20, src0, src1); in common_vt_bil_no_rnd_4x8_lasx() 1083 DUP2_ARG3(__lasx_xvsrani_b_h, sum1, sum0, 2, sum3, sum2, 2, sum0, sum1); in common_hv_bil_no_rnd_8x8_lasx() 1182 DUP2_ARG3(__lasx_xvpermi_q, src12, src16, 0x02, src13, src17, 0x02, in common_hv_bil_16w_lasx()
|
D | h264_deblock_lasx.c | 61 DUP2_ARG3(__lasx_xvpermi_q, tmp2, tmp2, 0x20, tmp5, tmp5, \
|
D | hevc_idct_lsx.c | 223 DUP2_ARG3(__lsx_vdp2add_w_h, sum3_r, src6_r, filter3, sum3_l, \ 234 DUP2_ARG3(__lsx_vdp2add_w_h, sum2_r, src6_r, filter2, sum2_l, \
|
D | h264idct_lasx.c | 470 DUP2_ARG3(__lasx_xvpermi_q, vres1, vres0, 0x20, vres3, vres2, 0x20, in ff_h264_deq_idct_luma_dc_lasx()
|
D | h264dsp_lasx.c | 1204 DUP2_ARG3(__lasx_xvdp2add_h_b, offset, wgt, vec0, offset, wgt, vec1, in avc_biwgt_8x4_lasx() 1525 DUP2_ARG3(__lasx_xvdp2add_h_b, offset, wgt, vec0, offset, wgt, vec1, in avc_biwgt_4x8_lasx()
|
D | h264qpel_lasx.c | 58 DUP2_ARG3(__lasx_xvdp2add_h_b, out0_m, in1, coeff1, out0_m,\
|
/third_party/openh264/codec/encoder/core/loongarch/ |
D | dct_lasx.c | 212 DUP2_ARG3(__lasx_xvpermi_q, in WelsDctFourT4_lasx() 216 DUP2_ARG3(__lasx_xvpermi_q, in WelsDctFourT4_lasx()
|
/third_party/openh264/codec/common/loongarch/ |
D | satd_sad_lasx.c | 220 DUP2_ARG3(__lasx_xvpermi_q, in WelsSampleSad8x8_lasx() 228 DUP2_ARG3(__lasx_xvpermi_q, in WelsSampleSad8x8_lasx()
|
/third_party/openh264/codec/common/inc/ |
D | loongson_intrinsics.h | 36 #define DUP2_ARG3(_INS, _IN0, _IN1, _IN2, _IN3, _IN4, _IN5, _OUT0, _OUT1) \ macro 58 DUP2_ARG3(_INS, _IN0, _IN1, _IN2, _IN3, _IN4, _IN5, _OUT0, _OUT1); \ 59 DUP2_ARG3(_INS, _IN6, _IN7, _IN8, _IN9, _IN10, _IN11, _OUT2, _OUT3); \
|
/third_party/ffmpeg/libavutil/loongarch/ |
D | loongson_intrinsics.h | 64 #define DUP2_ARG3(_INS, _IN0, _IN1, _IN2, _IN3, _IN4, _IN5, _OUT0, _OUT1) \ macro 86 DUP2_ARG3(_INS, _IN0, _IN1, _IN2, _IN3, _IN4, _IN5, _OUT0, _OUT1); \ 87 DUP2_ARG3(_INS, _IN6, _IN7, _IN8, _IN9, _IN10, _IN11, _OUT2, _OUT3); \
|