/external/libvpx/libvpx/vpx_dsp/mips/ |
D | fwd_txfm_msa.c | 20 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, cnst0, cnst1, cnst4, cnst5; in fdct8x16_1d_column() local 63 SPLATI_H2_SH(coeff, 2, 3, cnst0, cnst1); in fdct8x16_1d_column() 64 cnst0 = __msa_ilvev_h(cnst0, cnst1); in fdct8x16_1d_column() 65 stp26 = DOT_SHIFT_RIGHT_PCK_H(vec2, vec3, cnst0); in fdct8x16_1d_column() 67 cnst0 = __msa_splati_h(coeff, 4); in fdct8x16_1d_column() 68 cnst1 = __msa_ilvev_h(cnst1, cnst0); in fdct8x16_1d_column() 73 SPLATI_H2_SH(coeff1, 0, 1, cnst0, cnst1); in fdct8x16_1d_column() 74 cnst0 = __msa_ilvev_h(cnst0, cnst1); in fdct8x16_1d_column() 76 in8 = DOT_SHIFT_RIGHT_PCK_H(vec0, vec1, cnst0); in fdct8x16_1d_column() 79 cnst0 = __msa_splati_h(coeff2, 0); in fdct8x16_1d_column() [all …]
|
D | macros_msa.h | 704 #define DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 706 out0 = (RTYPE)__msa_dotp_u_h((v16u8)mult0, (v16u8)cnst0); \ 711 #define DOTP_UB4(RTYPE, mult0, mult1, mult2, mult3, cnst0, cnst1, cnst2, \ argument 714 DOTP_UB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 729 #define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 731 out0 = (RTYPE)__msa_dotp_s_h((v16i8)mult0, (v16i8)cnst0); \ 736 #define DOTP_SB4(RTYPE, mult0, mult1, mult2, mult3, cnst0, cnst1, cnst2, \ argument 739 DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1); \ 754 #define DOTP_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) \ argument 756 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/webp/src/dsp/ |
D | msa_macro.h | 469 #define DOTP_SB2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) do { \ argument 470 out0 = (RTYPE)__msa_dotp_s_h((v16i8)mult0, (v16i8)cnst0); \ 485 #define DOTP_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) do { \ argument 486 out0 = (RTYPE)__msa_dotp_s_w((v8i16)mult0, (v8i16)cnst0); \ 501 #define DOTP_UW2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) do { \ argument 502 out0 = (RTYPE)__msa_dotp_u_d((v4u32)mult0, (v4u32)cnst0); \ 517 #define DPADD_SH2(RTYPE, mult0, mult1, cnst0, cnst1, out0, out1) do { \ argument 518 out0 = (RTYPE)__msa_dpadd_s_w((v4i32)out0, (v8i16)mult0, (v8i16)cnst0); \
|
D | enc_msa.c | 90 const v8i16 cnst0 = { 2217, -5352, 2217, -5352, 2217, -5352, 2217, -5352 }; in FTransform() local 106 DPADD_SH2_SW(t2, t2, cnst0, cnst1, tmp3, tmp1); in FTransform() 117 DPADD_SH2_SW(t2, t2, cnst0, cnst1, tmp3, tmp1); in FTransform()
|