/third_party/ffmpeg/libavcodec/mips/ |
D | hpeldsp_msa.c | 536 v16u8 src0_r, src1_r, src2_r, res; in common_hv_bil_4w_msa() local 550 src0_r, src1_r, src2_r); in common_hv_bil_4w_msa() 551 HADD_UB3_UH(src0_r, src1_r, src2_r, add0, add1, add2); in common_hv_bil_4w_msa() 573 v16u8 src0_r, src1_r, src2_r, src3_r, src4_r; in common_hv_bil_8w_msa() local 588 ILVR_B3_UB(src0_sld1, src0, src1_sld1, src1, src2_sld1, src2, src0_r, in common_hv_bil_8w_msa() 591 HADD_UB3_UH(src0_r, src1_r, src2_r, add0, add1, add2); in common_hv_bil_8w_msa() 610 v8u16 src0_r, src1_r, src2_r, src3_r, src4_r, src5_r, src6_r, src7_r; in common_hv_bil_16w_msa() local 625 ILVRL_B2_UH(src9, src0, src0_r, src0_l); in common_hv_bil_16w_msa() 634 HADD_UB3_UH(src0_r, src1_r, src2_r, src0_r, src1_r, src2_r); in common_hv_bil_16w_msa() 640 ADD4(src0_r, src1_r, src1_r, src2_r, src2_r, src3_r, src3_r, src4_r, in common_hv_bil_16w_msa() [all …]
|
D | hevcpred_msa.c | 33 #define HEVC_PRED_PLANAR_16x2(src0_r, src0_l, tmp0, tmp1, vec0, vec1, \ argument 47 res0_m += mul_val_b0 * src0_r; \ 49 res2_m += (mul_val_b0 - 1) * src0_r; \ 197 v8i16 src0_r, src_top_val, src_left_val; in hevc_intra_pred_horiz_4x4_msa() local 212 src0_r = (v8i16) __msa_ilvr_b(zero, src0); in hevc_intra_pred_horiz_4x4_msa() 214 src0_r -= src_top_val; in hevc_intra_pred_horiz_4x4_msa() 215 src0_r >>= 1; in hevc_intra_pred_horiz_4x4_msa() 216 src0_r += src_left_val; in hevc_intra_pred_horiz_4x4_msa() 217 CLIP_SH_0_255(src0_r); in hevc_intra_pred_horiz_4x4_msa() 218 src0 = __msa_pckev_b((v16i8) src0_r, (v16i8) src0_r); in hevc_intra_pred_horiz_4x4_msa() [all …]
|
D | hevc_idct_msa.c | 96 v8i16 src0_r, src1_r, src2_r, src3_r; \ 105 src0_r, src1_r, src2_r, src3_r); \ 111 DOTP_SH4_SW(src0_r, src0_l, src1_r, src1_l, filter0, filter0, \ 150 DOTP_SH4_SW(src0_r, src0_l, src1_r, src1_l, filter0, filter0, \ 188 #define HEVC_IDCT16x16_COL(src0_r, src1_r, src2_r, src3_r, \ argument 210 DOTP_SH4_SW(src0_r, src0_l, src4_r, src4_l, filter0, filter0, \ 356 v8i16 src0_r, src1_r, src2_r, src3_r, src4_r, src5_r, src6_r, src7_r; in hevc_idct_16x16_msa() local 364 src0_r, src1_r, src2_r, src3_r); in hevc_idct_16x16_msa() 371 HEVC_IDCT16x16_COL(src0_r, src1_r, src2_r, src3_r, src4_r, src5_r, in hevc_idct_16x16_msa() 392 src0_r, src1_r, src2_r, src3_r); in hevc_idct_16x16_msa() [all …]
|
D | h264dsp_msa.c | 31 v8i16 src0_r, tmp0, wgt, denom, offset; in avc_wgt_4x2_msa() local 41 src0_r = (v8i16) __msa_ilvr_b((v16i8) zero, (v16i8) src0); in avc_wgt_4x2_msa() 42 tmp0 = wgt * src0_r; in avc_wgt_4x2_msa() 57 v8i16 src0_r, src1_r, tmp0, tmp1, wgt, denom, offset; in avc_wgt_4x4_msa() local 67 UNPCK_UB_SH(src0, src0_r, src1_r); in avc_wgt_4x4_msa() 68 MUL2(wgt, src0_r, wgt, src1_r, tmp0, tmp1); in avc_wgt_4x4_msa() 84 v8i16 src0_r, src1_r, src2_r, src3_r, tmp0, tmp1, tmp2, tmp3; in avc_wgt_4x8_msa() local 97 UNPCK_UB_SH(src0, src0_r, src1_r); in avc_wgt_4x8_msa() 99 MUL4(wgt, src0_r, wgt, src1_r, wgt, src2_r, wgt, src3_r, tmp0, tmp1, tmp2, in avc_wgt_4x8_msa() 117 v8i16 src0_r, src1_r, src2_r, src3_r, tmp0, tmp1, tmp2, tmp3; in avc_wgt_8x4_msa() local [all …]
|
D | hevc_lpf_sao_msa.c | 1047 v16i8 src0_r, src1_r; in hevc_sao_band_filter_4width_msa() local 1070 ILVEV_D2_SB(src0, src1, src2, src3, src0_r, src1_r); in hevc_sao_band_filter_4width_msa() 1072 src0_r = (v16i8) __msa_pckev_w((v4i32) src1_r, (v4i32) src0_r); in hevc_sao_band_filter_4width_msa() 1073 mask = __msa_srli_b(src0_r, 3); in hevc_sao_band_filter_4width_msa() 1076 src0_r = (v16i8) __msa_xori_b((v16u8) src0_r, 128); in hevc_sao_band_filter_4width_msa() 1077 dst0 = __msa_adds_s_b(src0_r, offset); in hevc_sao_band_filter_4width_msa() 1088 ILVEV_D2_SB(src0, src1, src2, src3, src0_r, src1_r); in hevc_sao_band_filter_4width_msa() 1090 src0_r = (v16i8) __msa_pckev_w((v4i32) src1_r, (v4i32) src0_r); in hevc_sao_band_filter_4width_msa() 1091 mask = __msa_srli_b(src0_r, 3); in hevc_sao_band_filter_4width_msa() 1094 src0_r = (v16i8) __msa_xori_b((v16u8) src0_r, 128); in hevc_sao_band_filter_4width_msa() [all …]
|