/third_party/openh264/codec/common/inc/ |
D | msa_macros.h | 1237 #define MSA_DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 1239 MSA_DOTP_UB(RTYPE, mult0, cnst0, out0) \ 1244 cnst0, cnst1, cnst2, cnst3, \ argument 1247 MSA_DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 1267 #define MSA_DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 1269 MSA_DOTP_SB(RTYPE, mult0, cnst0, out0) \ 1274 cnst0, cnst1, cnst2, cnst3, \ argument 1277 MSA_DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 1297 #define MSA_DOTP_UH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 1299 MSA_DOTP_UH(RTYPE, mult0, cnst0, out0) \ [all …]
|
/third_party/ffmpeg/libavutil/mips/ |
D | generic_macros_msa.h | 735 #define DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 737 out0 = (RTYPE) __msa_dotp_u_h((v16u8) mult0, (v16u8) cnst0); \ 743 cnst0, cnst1, cnst2, cnst3, \ argument 746 DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 763 #define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 765 out0 = (RTYPE) __msa_dotp_s_h((v16i8) mult0, (v16i8) cnst0); \ 770 #define DOTP_SB3(RTYPE, mult0, mult1, mult2, cnst0, cnst1, cnst2, \ argument 773 DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 779 cnst0, cnst1, cnst2, cnst3, out0, out1, out2, out3) \ argument 781 DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ [all …]
|
/third_party/ffmpeg/libavcodec/mips/ |
D | vp9_idct_msa.c | 67 #define VP9_DOTP_CONST_PAIR(reg0, reg1, cnst0, cnst1, out0, out1) \ argument 69 v8i16 k0_m = __msa_fill_h(cnst0); \ 715 v8i16 cnst0, cnst1, cnst2, cnst3, cnst4; in vp9_iadst8x8_colcol_addblk_msa() local 731 cnst0 = __msa_fill_h(cospi_2_64); in vp9_iadst8x8_colcol_addblk_msa() 733 cnst2 = -cnst0; in vp9_iadst8x8_colcol_addblk_msa() 734 ILVEV_H2_SH(cnst0, cnst1, cnst1, cnst2, cnst0, cnst1); in vp9_iadst8x8_colcol_addblk_msa() 742 VP9_DOT_ADD_SUB_SRARI_PCK(temp0, temp1, temp2, temp3, cnst0, cnst1, cnst2, in vp9_iadst8x8_colcol_addblk_msa() 745 cnst0 = __msa_fill_h(cospi_10_64); in vp9_iadst8x8_colcol_addblk_msa() 747 cnst2 = -cnst0; in vp9_iadst8x8_colcol_addblk_msa() 748 ILVEV_H2_SH(cnst0, cnst1, cnst1, cnst2, cnst0, cnst1); in vp9_iadst8x8_colcol_addblk_msa() [all …]
|
D | hevc_idct_msa.c | 440 int32_t cnst0, cnst1; in hevc_idct_8x32_column_msa() local 465 cnst0 = LW(filter_ptr2); in hevc_idct_8x32_column_msa() 468 filter0 = (v8i16) __msa_fill_w(cnst0); in hevc_idct_8x32_column_msa() 476 cnst0 = LW(filter_ptr2 + 4); in hevc_idct_8x32_column_msa() 479 filter0 = (v8i16) __msa_fill_w(cnst0); in hevc_idct_8x32_column_msa() 493 cnst0 = LW(filter_ptr3); in hevc_idct_8x32_column_msa() 496 filter0 = (v8i16) __msa_fill_w(cnst0); in hevc_idct_8x32_column_msa()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | msa_macro.h | 471 #define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) do { \ argument 472 out0 = (RTYPE)__msa_dotp_s_h((v16i8)mult0, (v16i8)cnst0); \ 487 #define DOTP_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) do { \ argument 488 out0 = (RTYPE)__msa_dotp_s_w((v8i16)mult0, (v8i16)cnst0); \ 503 #define DOTP_UW2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) do { \ argument 504 out0 = (RTYPE)__msa_dotp_u_d((v4u32)mult0, (v4u32)cnst0); \ 519 #define DPADD_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) do { \ argument 520 out0 = (RTYPE)__msa_dpadd_s_w((v4i32)out0, (v8i16)mult0, (v8i16)cnst0); \
|
D | enc_msa.c | 91 const v8i16 cnst0 = { 2217, -5352, 2217, -5352, 2217, -5352, 2217, -5352 }; in FTransform_MSA() local 107 DPADD_SH2_SW(t2, t2, cnst0, cnst1, tmp3, tmp1); in FTransform_MSA() 118 DPADD_SH2_SW(t2, t2, cnst0, cnst1, tmp3, tmp1); in FTransform_MSA()
|
/third_party/ffmpeg/libavcodec/loongarch/ |
D | vp9_idct_lsx.c | 68 #define VP9_DOTP_CONST_PAIR(reg0, reg1, cnst0, cnst1, out0, out1) \ argument 70 __m128i k0_m = __lsx_vreplgr2vr_h(cnst0); \
|