/third_party/openh264/codec/processing/src/loongarch/ |
D | vaa_lsx.c | 77 DUP2_ARG2(__lsx_vld, tmp_cur_row, 0, tmp_ref_row, 0, cur, ref); in VAACalcSad_lsx() 78 DUP2_ARG2(__lsx_vilvl_b, zero, cur, zero, ref, cur, ref); in VAACalcSad_lsx() 97 DUP2_ARG2(__lsx_vld, tmp_cur_row, 0, tmp_ref_row, 0, cur, ref); in VAACalcSad_lsx() 98 DUP2_ARG2(__lsx_vilvl_b, zero, cur, zero, ref, cur, ref); in VAACalcSad_lsx() 117 DUP2_ARG2(__lsx_vld, tmp_cur_row, 0, tmp_ref_row, 0, cur, ref); in VAACalcSad_lsx() 118 DUP2_ARG2(__lsx_vilvl_b, zero, cur, zero, ref, cur, ref); in VAACalcSad_lsx() 137 DUP2_ARG2(__lsx_vld, tmp_cur_row, 0, tmp_ref_row, 0, cur, ref); in VAACalcSad_lsx() 138 DUP2_ARG2(__lsx_vilvl_b, zero, cur, zero, ref, cur, ref); in VAACalcSad_lsx() 195 DUP2_ARG2(__lsx_vld, tmp_cur_row, 0, tmp_ref_row, 0, cur, ref); in VAACalcSadBgd_lsx() 196 DUP2_ARG2(__lsx_vilvl_b, zero, cur, zero, ref, cur, ref); in VAACalcSadBgd_lsx() [all …]
|
/third_party/ffmpeg/libavcodec/loongarch/ |
D | hevc_lpf_sao_lsx.c | 126 DUP2_ARG2(__lsx_vadd_h, p1_src, p0_src, temp0, q0_src, in ff_hevc_loop_filter_luma_h_8_lsx() 130 DUP2_ARG2(__lsx_vadd_h, temp1, p2_src, temp1, temp0, temp1, temp1); in ff_hevc_loop_filter_luma_h_8_lsx() 143 DUP2_ARG2(__lsx_vadd_h, temp1, p2_src, temp1, q1_src, in ff_hevc_loop_filter_luma_h_8_lsx() 156 DUP2_ARG2(__lsx_vadd_h, q1_src, p0_src, temp0, q0_src, in ff_hevc_loop_filter_luma_h_8_lsx() 160 DUP2_ARG2(__lsx_vadd_h, temp1, q2_src, temp1, temp0, temp1, temp1); in ff_hevc_loop_filter_luma_h_8_lsx() 173 DUP2_ARG2(__lsx_vadd_h, temp0, p1_src, temp1, q2_src, in ff_hevc_loop_filter_luma_h_8_lsx() 186 DUP2_ARG2(__lsx_vpickev_b, dst1, dst0, dst3, dst2, dst0, dst1); in ff_hevc_loop_filter_luma_h_8_lsx() 190 DUP2_ARG2(__lsx_vpickev_b, p1_src, p2_src, q0_src, p0_src, in ff_hevc_loop_filter_luma_h_8_lsx() 209 DUP2_ARG2(__lsx_vsub_h, q0_src, p0_src, q1_src, p1_src, in ff_hevc_loop_filter_luma_h_8_lsx() 211 DUP2_ARG2(__lsx_vadd_h, __lsx_vslli_h(diff0, 3), diff0, in ff_hevc_loop_filter_luma_h_8_lsx() [all …]
|
D | hevc_mc_bi_lsx.c | 73 DUP2_ARG2(__lsx_vilvl_w, reg1, reg0, reg3, reg2, tmp0, tmp1); in hevc_bi_copy_4w_lsx() 79 DUP2_ARG2(__lsx_vilvl_w, reg1, reg0, reg3, reg2, tmp0, tmp1); in hevc_bi_copy_4w_lsx() 88 DUP2_ARG2(__lsx_vilvl_d, tmp1, tmp0, tmp3, tmp2, in0, in1); in hevc_bi_copy_4w_lsx() 94 DUP2_ARG2(__lsx_vilvl_d, tmp1, tmp0, tmp3, tmp2, in2, in3); in hevc_bi_copy_4w_lsx() 95 DUP2_ARG2(__lsx_vsllwil_hu_bu, src0, 6, src1, 6, dst0, dst2); in hevc_bi_copy_4w_lsx() 96 DUP2_ARG2(__lsx_vilvh_b, zero, src0, zero, src1, dst1, dst3); in hevc_bi_copy_4w_lsx() 97 DUP2_ARG2(__lsx_vslli_h, dst1, 6, dst3, 6, dst1, dst3); in hevc_bi_copy_4w_lsx() 157 DUP2_ARG2(__lsx_vilvl_d, reg1, reg0, reg3, reg2, src0, src1); in hevc_bi_copy_6w_lsx() 163 DUP2_ARG2(__lsx_vilvl_d, reg1, reg0, reg3, reg2, src2, src3); in hevc_bi_copy_6w_lsx() 166 DUP2_ARG2(__lsx_vldx, src1_ptr, src2_stride_x, src1_ptr, in hevc_bi_copy_6w_lsx() [all …]
|
D | vp9_mc_lsx.c | 46 DUP2_ARG2(__lsx_vdp2_h_b, _tmp0, _filter0, _tmp1, _filter0, _reg0, _reg1); \ 53 DUP2_ARG2(__lsx_vdp2_h_b, _tmp4, _filter2, _tmp5, _filter2, _reg2, _reg3); \ 58 DUP2_ARG2(__lsx_vsadd_h, _reg0, _reg2, _reg1, _reg3, _out0, _out1); \ 145 DUP2_ARG2(__lsx_vaddi_bu, mask0, 2, mask0, 4, mask1, mask2); in common_hz_8t_4x4_lsx() 178 DUP2_ARG2(__lsx_vaddi_bu, mask0, 2, mask0, 4, mask1, mask2); in common_hz_8t_4x8_lsx() 184 DUP2_ARG2(__lsx_vldx, _src, src_stride, _src, src_stride2, src1, src2); in common_hz_8t_4x8_lsx() 192 DUP2_ARG2(__lsx_vldx, _src, src_stride, _src, src_stride2, src1, src2); in common_hz_8t_4x8_lsx() 199 DUP2_ARG2(__lsx_vxori_b, out0, 128, out1, 128, out0, out1); in common_hz_8t_4x8_lsx() 239 DUP2_ARG2(__lsx_vaddi_bu, mask0, 2, mask0, 4, mask1, mask2); in common_hz_8t_8x4_lsx() 250 DUP2_ARG2(__lsx_vxori_b, out0, 128, out1, 128, out0, out1); in common_hz_8t_8x4_lsx() [all …]
|
D | hevcdsp_lsx.c | 51 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, in hevc_copy_4w_lsx() 56 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, in hevc_copy_4w_lsx() 101 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, src1, src2); in hevc_copy_6w_lsx() 105 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, src5, src6); in hevc_copy_6w_lsx() 166 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, in hevc_copy_8w_lsx() 171 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, in hevc_copy_8w_lsx() 218 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, src1, src2); in hevc_copy_12w_lsx() 222 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, src5, src6); in hevc_copy_12w_lsx() 228 DUP2_ARG2(__lsx_vilvh_w, src1, src0, src3, src2, src0, src1); in hevc_copy_12w_lsx() 229 DUP2_ARG2(__lsx_vsllwil_hu_bu, src0, 6, src1, 6, in0, in1); in hevc_copy_12w_lsx() [all …]
|
D | hevc_mc_uni_lsx.c | 54 DUP2_ARG2(__lsx_vaddi_bu, mask0, 2, mask0, 4, mask1, mask2); in common_hz_8t_64w_lsx() 151 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, src1, src2); in common_vt_8t_8w_lsx() 155 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, src5, src6); in common_vt_8t_8w_lsx() 159 DUP2_ARG2(__lsx_vilvl_b, src4, src3, src6, src5, src43_r, src65_r); in common_vt_8t_8w_lsx() 163 DUP2_ARG2(__lsx_vldx, src, src_stride, src, src_stride_2x, src8, src9); in common_vt_8t_8w_lsx() 231 DUP2_ARG2(__lsx_vldx, src_tmp, src_stride, src_tmp, src_stride_2x, in common_vt_8t_16w_lsx() 236 DUP2_ARG2(__lsx_vldx, src_tmp, src_stride, src_tmp, src_stride_2x, in common_vt_8t_16w_lsx() 241 DUP2_ARG2(__lsx_vilvl_b, src4, src3, src6, src5, src43_r, src65_r); in common_vt_8t_16w_lsx() 244 DUP2_ARG2(__lsx_vilvh_b, src4, src3, src6, src5, src43_l, src65_l); in common_vt_8t_16w_lsx() 248 DUP2_ARG2(__lsx_vldx, src_tmp, src_stride, src_tmp, src_stride_2x, in common_vt_8t_16w_lsx() [all …]
|
D | hpeldsp_lasx.c | 291 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src1, src2); in common_hz_bil_no_rnd_16x16_lasx() 295 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src5, src6); in common_hz_bil_no_rnd_16x16_lasx() 316 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src1, src2); in common_hz_bil_no_rnd_16x16_lasx() 320 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src5, src6); in common_hz_bil_no_rnd_16x16_lasx() 341 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src1, src2); in common_hz_bil_no_rnd_16x16_lasx() 345 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src5, src6); in common_hz_bil_no_rnd_16x16_lasx() 366 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src1, src2); in common_hz_bil_no_rnd_16x16_lasx() 370 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src5, src6); in common_hz_bil_no_rnd_16x16_lasx() 400 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src1, src2); in common_hz_bil_no_rnd_8x16_lasx() 404 DUP2_ARG2(__lasx_xvldx, _src, src_stride, _src, src_stride_2x, src5, src6); in common_hz_bil_no_rnd_8x16_lasx() [all …]
|
D | vp8_mc_lsx.c | 142 DUP2_ARG2(__lsx_vldrepl_h, filter, 0, filter, 2, filt0, filt1); in ff_put_vp8_epel8_h6_lsx() 145 DUP2_ARG2(__lsx_vaddi_bu, mask0, 2, mask0, 4, mask1, mask2); in ff_put_vp8_epel8_h6_lsx() 156 DUP2_ARG2(__lsx_vxori_b, out0, 128, out1, 128, out0, out1); in ff_put_vp8_epel8_h6_lsx() 176 DUP2_ARG2(__lsx_vxori_b, out0, 128, out1, 128, out0, out1); in ff_put_vp8_epel8_h6_lsx() 206 DUP2_ARG2(__lsx_vldrepl_h, filter, 0, filter, 2, filt0, filt1); in ff_put_vp8_epel16_h6_lsx() 209 DUP2_ARG2(__lsx_vaddi_bu, mask0, 2, mask0, 4, mask1, mask2); in ff_put_vp8_epel16_h6_lsx() 228 DUP2_ARG2(__lsx_vxori_b, out0, 128, out1, 128, out0, out1); in ff_put_vp8_epel16_h6_lsx() 235 DUP2_ARG2(__lsx_vxori_b, out4, 128, out5, 128, out4, out5); in ff_put_vp8_epel16_h6_lsx() 259 DUP2_ARG2(__lsx_vldrepl_h, filter, 0, filter, 2, filt0, filt1); in ff_put_vp8_epel8_v6_lsx() 291 DUP2_ARG2(__lsx_vxori_b, out0_l, 128, out1_l, 128, out0_l, out1_l); in ff_put_vp8_epel8_v6_lsx() [all …]
|
D | vc1dsp_lasx.c | 61 DUP2_ARG2(__lasx_xvilvl_h, in2, in0, in3, in1, temp0, temp1); in ff_vc1_inv_trans_8x8_lasx() 65 DUP2_ARG2(__lasx_xvdp2_w_h, temp1, const_3, temp1, const_4, t3, t4); in ff_vc1_inv_trans_8x8_lasx() 72 DUP2_ARG2(__lasx_xvilvh_h, in1, in0, in3, in2, temp0, temp1); in ff_vc1_inv_trans_8x8_lasx() 94 DUP2_ARG2(__lasx_xvilvl_w, temp1, temp0, temp3, temp2, t1, t3); in ff_vc1_inv_trans_8x8_lasx() 95 DUP2_ARG2(__lasx_xvilvh_w, temp1, temp0, temp3, temp2, t2, t4); in ff_vc1_inv_trans_8x8_lasx() 98 DUP2_ARG2(__lasx_xvilvl_h, in1, in0, in3, in2, temp0, temp1); in ff_vc1_inv_trans_8x8_lasx() 102 DUP2_ARG2(__lasx_xvdp2_w_h, temp1, const_3, temp1, const_4, t3, t4); in ff_vc1_inv_trans_8x8_lasx() 109 DUP2_ARG2(__lasx_xvilvh_h, in2, in0, in3, in1, temp0, temp1); in ff_vc1_inv_trans_8x8_lasx() 207 DUP2_ARG2(__lasx_xvld, block, 0, block, 32, in0, in1); in ff_vc1_inv_trans_8x4_lasx() 211 DUP2_ARG2(__lasx_xvilvl_h, temp0, in0, temp1, in1, temp0, temp1); in ff_vc1_inv_trans_8x4_lasx() [all …]
|
D | simple_idct_lasx.c | 31 DUP2_ARG2(__lasx_xvilvl_h, temp_1, temp_0, temp_3, temp_2, temp_4, temp_6);\ 32 DUP2_ARG2(__lasx_xvilvh_h, temp_1, temp_0, temp_3, temp_2, temp_5, temp_7);\ 33 DUP2_ARG2(__lasx_xvilvl_w, temp_6, temp_4, temp_7, temp_5, out_0, out_2); \ 34 DUP2_ARG2(__lasx_xvilvh_w, temp_6, temp_4, temp_7, temp_5, out_1, out_3); \ 65 DUP2_ARG2(__lasx_xvrepl128vei_h, w1, 6, w1, 7, w6, w7); \ 70 DUP2_ARG2(__lasx_xvmulwl_w_h, in1, w2, in1, w6, temp1, temp2); \ 76 DUP2_ARG2(__lasx_xvilvh_h, in1, in0, w3, w1, temp0, temp1); \ 89 DUP2_ARG2(__lasx_xvilvl_h, in3, in2, w6, w4, temp0, temp1); \ 100 DUP2_ARG2(__lasx_xvilvh_h, in3, in2, w7, w5, temp0, temp1); \ 102 DUP2_ARG2(__lasx_xvilvl_h, w5, w1, w3, w7, temp1, temp2); \ [all …]
|
D | hevc_mc_uniw_lsx.c | 74 DUP2_ARG2(__lsx_vaddi_bu, mask0, 2, mask0, 4, mask1, mask2); in hevc_hv_8t_8x2_lsx() 82 DUP2_ARG2(__lsx_vldx, src_tmp, src_stride, src_tmp, src_stride_2x, in hevc_hv_8t_8x2_lsx() 87 DUP2_ARG2(__lsx_vldx, src_tmp, src_stride, src_tmp, src_stride_2x, in hevc_hv_8t_8x2_lsx() 113 DUP2_ARG2(__lsx_vdp2_h_bu_b, vec0, filt0, vec4, filt0, dst4, dst5); in hevc_hv_8t_8x2_lsx() 123 DUP2_ARG2(__lsx_vilvl_h, dst4, dst3, dst6, dst5, dst43_r, dst65_r); in hevc_hv_8t_8x2_lsx() 126 DUP2_ARG2(__lsx_vilvh_h, dst4, dst3, dst6, dst5, dst43_l, dst65_l); in hevc_hv_8t_8x2_lsx() 140 DUP2_ARG2(__lsx_vdp2_w_h, dst10_r, filt_h0, dst10_l, filt_h0, in hevc_hv_8t_8x2_lsx() 147 DUP2_ARG2(__lsx_vsrai_w, dst0_r, 6, dst0_l, 6, dst0_r, dst0_l); in hevc_hv_8t_8x2_lsx() 159 DUP2_ARG2(__lsx_vdp2_w_h, dst21_r, filt_h0, dst21_l, filt_h0, in hevc_hv_8t_8x2_lsx() 166 DUP2_ARG2(__lsx_vsrai_w, dst1_r, 6, dst1_l, 6, dst1_r, dst1_l); in hevc_hv_8t_8x2_lsx() [all …]
|
D | h264dsp_lasx.c | 192 DUP2_ARG2(__lasx_xvpickev_b, p0_h, p0_h, q0_h, q0_h, in ff_h264_h_lpf_luma_8_lasx() 194 DUP2_ARG2(__lasx_xvpermi_d, p0_h, 0xd8, q0_h, 0xd8, in ff_h264_h_lpf_luma_8_lasx() 208 DUP2_ARG2(__lasx_xvilvl_b, p1_org, p3_org, p0_org, p2_org, in ff_h264_h_lpf_luma_8_lasx() 210 DUP2_ARG2(__lasx_xvilvh_b, p1_org, p3_org, p0_org, p2_org, in ff_h264_h_lpf_luma_8_lasx() 212 DUP2_ARG2(__lasx_xvilvl_b, row2, row0, row3, row1, row4, row6); in ff_h264_h_lpf_luma_8_lasx() 213 DUP2_ARG2(__lasx_xvilvh_b, row2, row0, row3, row1, row5, row7); in ff_h264_h_lpf_luma_8_lasx() 270 DUP2_ARG2(__lasx_xvldx, data, -img_width_3x, data, -img_width_2x, in ff_h264_v_lpf_luma_8_lasx() 273 DUP2_ARG2(__lasx_xvldx, data, 0, data, img_width, q0_org, q1_org); in ff_h264_v_lpf_luma_8_lasx() 351 DUP2_ARG2(__lasx_xvpickev_b, p0_h, p0_h, q0_h, q0_h, in ff_h264_v_lpf_luma_8_lasx() 353 DUP2_ARG2(__lasx_xvpermi_d, p0_h, 0Xd8, q0_h, 0xd8, in ff_h264_v_lpf_luma_8_lasx() [all …]
|
D | h264chroma_lasx.c | 53 DUP2_ARG2(__lasx_xvld, chroma_mask_arr, 0, src, 0, mask, src0); in avc_chroma_hv_8x4_lasx() 59 DUP2_ARG2(__lasx_xvdp2_h_bu, src0, coeff_hz_vec, src1, coeff_hz_vec, res_hz0, res_hz1); in avc_chroma_hv_8x4_lasx() 93 DUP2_ARG2(__lasx_xvld, chroma_mask_arr, 0, src, 0, mask, src0); in avc_chroma_hv_8x8_lasx() 143 DUP2_ARG2(__lasx_xvld, chroma_mask_arr, 0, src, 0, mask, src0); in avc_chroma_hz_8x4_lasx() 144 DUP2_ARG2(__lasx_xvldx, src, stride, src, stride_2x, src1, src2); in avc_chroma_hz_8x4_lasx() 148 DUP2_ARG2(__lasx_xvdp2_h_bu, src0, coeff_vec, src2, coeff_vec, res0, res1); in avc_chroma_hz_8x4_lasx() 172 DUP2_ARG2(__lasx_xvld, chroma_mask_arr, 0, src, 0, mask, src0); in avc_chroma_hz_8x8_lasx() 176 DUP2_ARG2(__lasx_xvldx, src, stride, src, stride_2x, src5, src6); in avc_chroma_hz_8x8_lasx() 220 DUP2_ARG2(__lasx_xvdp2_h_bu, src0, coeff_vec, src2, coeff_vec, res0, res1); in avc_chroma_hz_nonmult_lasx() 260 DUP2_ARG2(__lasx_xvilvl_b, src1, src0, src3, src2, src0, src2); in avc_chroma_vt_8x4_lasx() [all …]
|
D | vp9_lpf_lsx.c | 243 DUP2_ARG2(__lsx_vldx, dst, stride, dst, stride2, q1, q2); in ff_loop_filter_v_4_8_lsx() 277 DUP2_ARG2(__lsx_vldx, dst, stride, dst, stride2, q1, q2); in ff_loop_filter_v_44_16_lsx() 321 DUP2_ARG2(__lsx_vldx, dst, stride, dst, stride2, q1, q2); in ff_loop_filter_v_8_8_lsx() 354 DUP2_ARG2(__lsx_vpickev_b, zero, q1_filter8, zero, q2_filter8, in ff_loop_filter_v_8_8_lsx() 397 DUP2_ARG2(__lsx_vldx, dst, stride, dst, stride2, q1, q2); in ff_loop_filter_v_88_16_lsx() 444 DUP2_ARG2(__lsx_vpickev_b, q1_filt8_h, q1_filt8_l, q2_filt8_h, in ff_loop_filter_v_88_16_lsx() 485 DUP2_ARG2(__lsx_vldx, dst, stride, dst, stride2, q1, q2); in ff_loop_filter_v_84_16_lsx() 527 DUP2_ARG2(__lsx_vpickev_b, q1_filt8_l, q1_filt8_l, q2_filt8_l, in ff_loop_filter_v_84_16_lsx() 567 DUP2_ARG2(__lsx_vldx, dst, stride, dst, stride2, q1, q2); in ff_loop_filter_v_48_16_lsx() 609 DUP2_ARG2(__lsx_vpickev_b, q1_filt8_h, q1_filt8_h, q2_filt8_h, in ff_loop_filter_v_48_16_lsx() [all …]
|
D | h264qpel_lasx.c | 92 DUP2_ARG2(__lasx_xvld, luma_mask_arr, 32, luma_mask_arr, 64, mask1, mask2); in avc_luma_hv_qrt_and_aver_dst_16x16_lasx() 104 DUP2_ARG2(__lasx_xvldx, src_x, stride, src_x, stride_2x, in avc_luma_hv_qrt_and_aver_dst_16x16_lasx() 157 DUP2_ARG2(__lasx_xvaddwl_h_b, hz_out0, vt_out0, hz_out2, vt_out2, in avc_luma_hv_qrt_and_aver_dst_16x16_lasx() 159 DUP2_ARG2(__lasx_xvaddwh_h_b, hz_out0, vt_out0, hz_out2, vt_out2, in avc_luma_hv_qrt_and_aver_dst_16x16_lasx() 164 DUP2_ARG2(__lasx_xvxori_b, tmp0, 128, tmp1, 128, tmp0, tmp1); in avc_luma_hv_qrt_and_aver_dst_16x16_lasx() 166 DUP2_ARG2(__lasx_xvldx, dst, stride, dst, stride_2x, out1, out2); in avc_luma_hv_qrt_and_aver_dst_16x16_lasx() 223 DUP2_ARG2(__lasx_xvld, luma_mask_arr, 32, luma_mask_arr, 64, mask1, mask2); in avc_luma_hv_qrt_16x16_lasx() 235 DUP2_ARG2(__lasx_xvldx, src_x, stride, src_x, stride_2x, in avc_luma_hv_qrt_16x16_lasx() 288 DUP2_ARG2(__lasx_xvaddwl_h_b, hz_out0, vt_out0, hz_out2, vt_out2, in avc_luma_hv_qrt_16x16_lasx() 290 DUP2_ARG2(__lasx_xvaddwh_h_b, hz_out0, vt_out0, hz_out2, vt_out2, in avc_luma_hv_qrt_16x16_lasx() [all …]
|
D | vp9_idct_lsx.c | 80 DUP2_ARG2(__lsx_vdp2_w_h, s1_m, k0_m, s0_m, k0_m, s1_m, s0_m); \ 81 DUP2_ARG2(__lsx_vsrari_w, s1_m, VP9_DCT_CONST_BITS, \ 84 DUP2_ARG2(__lsx_vdp2_w_h, s3_m, k0_m, s2_m, k0_m, s1_m, s0_m); \ 85 DUP2_ARG2(__lsx_vsrari_w, s1_m, VP9_DCT_CONST_BITS, \ 117 DUP2_ARG2(__lsx_vpickev_b, res1_m, res0_m, res3_m, res2_m, \ 174 DUP2_ARG2(__lsx_vpickev_h, tmp1_m, tmp0_m, tmp3_m, tmp2_m, out0, out1); \ 180 DUP2_ARG2(__lsx_vpickev_h, tmp1_m, tmp0_m, tmp3_m, tmp2_m, out2, out3); \ 187 DUP2_ARG2(__lsx_vreplvei_h, mask_h, idx1_h, mask_h, idx2_h, c0_m, c1_m); \ 208 DUP2_ARG2(__lsx_vsub_h, in1, in3, in7, in5, res0_m, res1_m); \ 220 DUP2_ARG2(__lsx_vpickev_h, tmp1_m, tmp0_m, tmp3_m, tmp2_m, tp5_m, tp6_m); \ [all …]
|
D | idctdsp_lasx.c | 38 DUP2_ARG2(__lasx_xvpickev_b, b1, b0, b3, b2, temp0, temp1); in ff_put_pixels_clamped_lasx() 67 DUP2_ARG2(__lasx_xvpickev_b, b1, b0, b3, b2, temp0, temp1); in ff_put_signed_pixels_clamped_lasx() 114 DUP2_ARG2(__lasx_xvpickev_b, temp1, temp0, temp3, temp2, temp0, temp1); in ff_add_pixels_clamped_lasx()
|
/third_party/openh264/codec/common/loongarch/ |
D | mc_chroma_lsx.c | 54 DUP2_ARG2(__lsx_vld, pSrc, 0, pSrc + iSrcStride, 0, src0, src1); in McCopyWidthEq4_lsx() 69 DUP2_ARG2(__lsx_vld, pSrc, 0, pSrc + iSrcStride, 0, src0, src1); in McCopyWidthEq8_lsx() 84 DUP2_ARG2(__lsx_vld, pSrc, 0, pSrc + iSrcStride, 0, src0, src1); in McCopyWidthEq16_lsx() 118 DUP2_ARG2(__lsx_vld, pSrc, 0, pSrc + iSrcStride, 0, src0, src1); in McChromaWidthEq4_lsx() 121 DUP2_ARG2(__lsx_vld, pSrc, 0, pSrc + iSrcStride, 0, src0Even, src1Even); in McChromaWidthEq4_lsx() 125 DUP2_ARG2(__lsx_vilvl_w, src0Even, src0, src1Even, src1, src0, src1); in McChromaWidthEq4_lsx() 131 DUP2_ARG2(__lsx_vsrl_h, out0, shift, out1, shift, out0, out1); in McChromaWidthEq4_lsx() 132 DUP2_ARG2(__lsx_vsrl_d, out0, paramConst, out1, paramConst, outNext0, outNext1); in McChromaWidthEq4_lsx() 133 DUP2_ARG2(__lsx_vpackev_b, outNext0, out0, outNext1, out1, out0, out1); in McChromaWidthEq4_lsx() 168 DUP2_ARG2(__lsx_vld, pSrc, 0, pSrc + iSrcStride, 0, src0, src1); in McChromaWidthEq8_lsx() [all …]
|
D | deblock_lsx.c | 76 DUP2_ARG2(__lsx_vldx, pPix, iStrideX, pPix, iStrideX_x2, q1, q2); in DeblockLumaLt4V_lsx() 87 DUP2_ARG2(__lsx_vilvl_b, zero, q1, zero, q2, q1_l, q2_l); in DeblockLumaLt4V_lsx() 90 DUP2_ARG2(__lsx_vilvh_b, zero, q1, zero, q2, q1_h, q2_h); in DeblockLumaLt4V_lsx() 92 DUP2_ARG2(__lsx_vand_v, bDetaP0Q0, bDetaP1P0, f, bDetaQ1Q0, f, f); in DeblockLumaLt4V_lsx() 94 DUP2_ARG2(__lsx_vand_v, f, flags, flags, bDetaP2P0, flags, flags); in DeblockLumaLt4V_lsx() 98 DUP2_ARG2(__lsx_vand_v, f, flags, flags, bDetaQ2Q0, flags, flags); in DeblockLumaLt4V_lsx() 229 DUP2_ARG2(__lsx_vand_v, flags, bDetaP2P0, t0, t, t, t0); in DeblockLumaLt4V_lsx() 233 DUP2_ARG2(__lsx_vand_v, flags, bDetaQ2Q0, t1, t, t, t1); in DeblockLumaLt4V_lsx() 296 DUP2_ARG2(__lsx_vilvl_b, zero, q1, zero, q2, q1_l, q2_l); in DeblockLumaLt4H_lsx() 299 DUP2_ARG2(__lsx_vilvh_b, zero, q1, zero, q2, q1_h, q2_h); in DeblockLumaLt4H_lsx() [all …]
|
D | satd_sad_lasx.c | 74 DUP2_ARG2(__lasx_xvpackev_w, in WelsSampleSad4x4_lasx() 77 DUP2_ARG2(__lasx_xvpackev_w, in WelsSampleSad4x4_lasx() 80 DUP2_ARG2(__lasx_xvpackev_d, in WelsSampleSad4x4_lasx() 277 DUP2_ARG2(__lasx_xvpackev_d, in WelsSampleSatd4x4_lasx() 387 DUP2_ARG2(__lasx_xvpackev_d, in WelsSampleSadFour4x4_lasx() 406 DUP2_ARG2(__lasx_xvpackev_d, in WelsSampleSadFour4x4_lasx() 425 DUP2_ARG2(__lasx_xvpackev_d, in WelsSampleSadFour4x4_lasx() 444 DUP2_ARG2(__lasx_xvpackev_d, in WelsSampleSadFour4x4_lasx() 456 DUP2_ARG2(__lasx_xvhaddw_qu_du, in WelsSampleSadFour4x4_lasx()
|
/third_party/openh264/codec/encoder/core/loongarch/ |
D | quant_lsx.c | 54 DUP2_ARG2(__lsx_vld, pFF, 0, pMF, 0, vec_pFF, vec_pMF); in WelsQuantFour4x4_lsx() 55 DUP2_ARG2(__lsx_vsrai_h, vec_pFF, 15, vec_pMF, 15, vec_pFF0, vec_pMF0); in WelsQuantFour4x4_lsx() 56 DUP2_ARG2(__lsx_vilvl_h, vec_pFF0, vec_pFF, vec_pMF0, vec_pMF, vec_pFF1, vec_pMF1); in WelsQuantFour4x4_lsx() 57 DUP2_ARG2(__lsx_vilvh_h, vec_pFF0, vec_pFF, vec_pMF0, vec_pMF, vec_pFF2, vec_pMF2); in WelsQuantFour4x4_lsx() 100 DUP2_ARG2(__lsx_vld, pFF, 0, pMF, 0, vec_pFF, vec_pMF); in WelsQuantFour4x4Max_lsx() 101 DUP2_ARG2(__lsx_vsrai_h, vec_pFF, 15, vec_pMF, 15, vec_pFF0, vec_pMF0); in WelsQuantFour4x4Max_lsx() 102 DUP2_ARG2(__lsx_vilvl_h, vec_pFF0, vec_pFF, vec_pMF0, vec_pMF, vec_pFF1, vec_pMF1); in WelsQuantFour4x4Max_lsx() 103 DUP2_ARG2(__lsx_vilvh_h, vec_pFF0, vec_pFF, vec_pMF0, vec_pMF, vec_pFF2, vec_pMF2); in WelsQuantFour4x4Max_lsx() 108 DUP2_ARG2(__lsx_vld, pDct, 0, pDct + 8, 0, vec_pDct1, vec_pDct2); in WelsQuantFour4x4Max_lsx() 109 DUP2_ARG2(__lsx_vsrai_h, vec_pDct1, 15, vec_pDct2, 15, vec_pDct10, vec_pDct20); in WelsQuantFour4x4Max_lsx() [all …]
|
D | get_intra_predictor_lsx.c | 77 DUP2_ARG2(__lsx_vldx, pTop, 8, pTop, -1, p0, p1); in WelsI16x16LumaPredPlane_lsx() 79 DUP2_ARG2(__lsx_vilvl_b, zero, p0, zero, p1, p0_l, p1_l); in WelsI16x16LumaPredPlane_lsx() 132 DUP2_ARG2(__lsx_vmul_h, iTopshift_vec, t0, iTopshift_vec, t1, in WelsI16x16LumaPredPlane_lsx() 134 DUP2_ARG2(__lsx_vadd_h, iLTshift_vec, iTopshift_vec0, sum0, sixteen, sum0, sum0); in WelsI16x16LumaPredPlane_lsx() 135 DUP2_ARG2(__lsx_vadd_h, iLTshift_vec, iTopshift_vec1, sum1, sixteen, sum1, sum1); in WelsI16x16LumaPredPlane_lsx()
|
/third_party/openh264/codec/decoder/core/loongarch/ |
D | mb_aux_lsx.c | 111 DUP2_ARG2(__lsx_vld, in IdctResAddPred_lsx() 156 DUP2_ARG2(__lsx_vpackev_d, in IdctResAddPred_lsx() 160 DUP2_ARG2(__lsx_vpackev_w, in IdctResAddPred_lsx() 164 DUP2_ARG2(__lsx_vsllwil_hu_bu, in IdctResAddPred_lsx() 168 DUP2_ARG2(__lsx_vsrari_h, in IdctResAddPred_lsx() 172 DUP2_ARG2(__lsx_vadd_h, in IdctResAddPred_lsx()
|
/third_party/openh264/codec/common/inc/ |
D | loongson_intrinsics.h | 30 #define DUP2_ARG2(_INS, _IN0, _IN1, _IN2, _IN3, _OUT0, _OUT1) \ macro 51 DUP2_ARG2(_INS, _IN0, _IN1, _IN2, _IN3, _OUT0, _OUT1); \ 52 DUP2_ARG2(_INS, _IN4, _IN5, _IN6, _IN7, _OUT2, _OUT3); \ 558 DUP2_ARG2(__lsx_vilvl_b, _tmp1, _tmp0, _tmp3, _tmp2, _t0, _t2); \ 559 DUP2_ARG2(__lsx_vilvh_b, _tmp1, _tmp0, _tmp3, _tmp2, _t1, _t3); \ 560 DUP2_ARG2(__lsx_vilvl_b, _tmp5, _tmp4, _tmp7, _tmp6, _t4, _t6); \ 561 DUP2_ARG2(__lsx_vilvh_b, _tmp5, _tmp4, _tmp7, _tmp6, _t5, _t7); \ 562 DUP2_ARG2(__lsx_vilvl_w, _t2, _t0, _t3, _t1, _tmp0, _tmp4); \ 563 DUP2_ARG2(__lsx_vilvh_w, _t2, _t0, _t3, _t1, _tmp2, _tmp6); \ 564 DUP2_ARG2(__lsx_vilvl_w, _t6, _t4, _t7, _t5, _tmp1, _tmp5); \ [all …]
|
/third_party/ffmpeg/libavutil/loongarch/ |
D | loongson_intrinsics.h | 58 #define DUP2_ARG2(_INS, _IN0, _IN1, _IN2, _IN3, _OUT0, _OUT1) \ macro 79 DUP2_ARG2(_INS, _IN0, _IN1, _IN2, _IN3, _OUT0, _OUT1); \ 80 DUP2_ARG2(_INS, _IN4, _IN5, _IN6, _IN7, _OUT2, _OUT3); \ 586 DUP2_ARG2(__lsx_vilvl_b, _tmp1, _tmp0, _tmp3, _tmp2, _t0, _t2); \ 587 DUP2_ARG2(__lsx_vilvh_b, _tmp1, _tmp0, _tmp3, _tmp2, _t1, _t3); \ 588 DUP2_ARG2(__lsx_vilvl_b, _tmp5, _tmp4, _tmp7, _tmp6, _t4, _t6); \ 589 DUP2_ARG2(__lsx_vilvh_b, _tmp5, _tmp4, _tmp7, _tmp6, _t5, _t7); \ 590 DUP2_ARG2(__lsx_vilvl_w, _t2, _t0, _t3, _t1, _tmp0, _tmp4); \ 591 DUP2_ARG2(__lsx_vilvh_w, _t2, _t0, _t3, _t1, _tmp2, _tmp6); \ 592 DUP2_ARG2(__lsx_vilvl_w, _t6, _t4, _t7, _t5, _tmp1, _tmp5); \ [all …]
|