/external/libvpx/libvpx/vpx_dsp/mips/ |
D | fwd_txfm_msa.c | 35 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, cnst0, cnst1, cnst4, cnst5; in fdct8x16_1d_column() local 78 SPLATI_H2_SH(coeff, 2, 3, cnst0, cnst1); in fdct8x16_1d_column() 79 cnst0 = __msa_ilvev_h(cnst0, cnst1); in fdct8x16_1d_column() 80 stp26 = DOT_SHIFT_RIGHT_PCK_H(vec2, vec3, cnst0); in fdct8x16_1d_column() 82 cnst0 = __msa_splati_h(coeff, 4); in fdct8x16_1d_column() 83 cnst1 = __msa_ilvev_h(cnst1, cnst0); in fdct8x16_1d_column() 88 SPLATI_H2_SH(coeff1, 0, 1, cnst0, cnst1); in fdct8x16_1d_column() 89 cnst0 = __msa_ilvev_h(cnst0, cnst1); in fdct8x16_1d_column() 91 in8 = DOT_SHIFT_RIGHT_PCK_H(vec0, vec1, cnst0); in fdct8x16_1d_column() 94 cnst0 = __msa_splati_h(coeff2, 0); in fdct8x16_1d_column() [all …]
|
D | macros_msa.h | 579 #define DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 581 out0 = (RTYPE)__msa_dotp_u_h((v16u8)mult0, (v16u8)cnst0); \ 586 #define DOTP_UB4(RTYPE, mult0, mult1, mult2, mult3, cnst0, cnst1, cnst2, \ argument 589 DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 604 #define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 606 out0 = (RTYPE)__msa_dotp_s_h((v16i8)mult0, (v16i8)cnst0); \ 611 #define DOTP_SB4(RTYPE, mult0, mult1, mult2, mult3, cnst0, cnst1, cnst2, \ argument 614 DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 629 #define DOTP_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 631 out0 = (RTYPE)__msa_dotp_s_w((v8i16)mult0, (v8i16)cnst0); \ [all …]
|
D | txfm_macros_msa.h | 16 #define DOTP_CONST_PAIR(reg0, reg1, cnst0, cnst1, out0, out1) \ argument 21 k0_m = __msa_fill_h(cnst0); \
|
/external/libvpx/libvpx/vp8/common/mips/msa/ |
D | vp8_macros_msa.h | 590 #define DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 592 out0 = (RTYPE)__msa_dotp_u_h((v16u8)mult0, (v16u8)cnst0); \ 597 #define DOTP_UB4(RTYPE, mult0, mult1, mult2, mult3, cnst0, cnst1, cnst2, \ argument 600 DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 615 #define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 617 out0 = (RTYPE)__msa_dotp_s_h((v16i8)mult0, (v16i8)cnst0); \ 622 #define DOTP_SB4(RTYPE, mult0, mult1, mult2, mult3, cnst0, cnst1, cnst2, \ argument 625 DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 640 #define DOTP_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 642 out0 = (RTYPE)__msa_dotp_s_w((v8i16)mult0, (v8i16)cnst0); \ [all …]
|
/external/libaom/libaom/aom_dsp/mips/ |
D | macros_msa.h | 706 #define DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 708 out0 = (RTYPE)__msa_dotp_u_h((v16u8)mult0, (v16u8)cnst0); \ 713 #define DOTP_UB4(RTYPE, mult0, mult1, mult2, mult3, cnst0, cnst1, cnst2, \ argument 716 DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 731 #define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 733 out0 = (RTYPE)__msa_dotp_s_h((v16i8)mult0, (v16i8)cnst0); \ 738 #define DOTP_SB4(RTYPE, mult0, mult1, mult2, mult3, cnst0, cnst1, cnst2, \ argument 741 DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 756 #define DOTP_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 758 out0 = (RTYPE)__msa_dotp_s_w((v8i16)mult0, (v8i16)cnst0); \ [all …]
|
/external/webp/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()
|