/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dequantize_sample.cpp | 174 return (fxp_mul32_Q30(xx, two_cubic_roots[m])); 296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); 298 tmp = fxp_mul32_Q30(tmp, two_raise_one_fourth); 355 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp))); 356 is[ss] = fxp_mul32_Q30(tmp, two_raise_one_fourth) >> global_gain; 361 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp))); 362 is[ss+1] = fxp_mul32_Q30(tmp, two_raise_one_fourth) >> global_gain; 380 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp))); 381 is[ss] = fxp_mul32_Q30(tmp, two_raise_one_fourth) << global_gain; 387 tmp = fxp_mul32_Q30((tm [all...] |
H A D | pvmp3_dct_6.cpp | 135 vec[2] = fxp_mul32_Q30(tmp0 - tmp2, cos_pi_6); 139 tmp0 = fxp_mul32_Q30(tmp3, cos_7_pi_12); 143 vec[3] = fxp_mul32_Q30((tmp3 + tmp4 - tmp5), cos_3_pi_12); 144 tmp0 = fxp_mul32_Q30(tmp3, cos_11_pi_12);
|
H A D | pv_mp3dec_fxd_op_c_equivalent.h | 62 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) function
|
H A D | pv_mp3dec_fxd_op_msc_evc.h | 57 __inline int32 fxp_mul32_Q30(const int32 a, const int32 b) function
|
H A D | pv_mp3dec_fxd_op_arm.h | 55 __inline Int32 fxp_mul32_Q30(const Int32 L_var1, const Int32 L_var2) function
|
H A D | pv_mp3dec_fxd_op_arm_gcc.h | 58 static inline int32 fxp_mul32_Q30(const int32 a, const int32 b) function
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | ps_init_stereo_mixing.cpp | 321 beta = fxp_mul32_Q30(scaled_alphas[ tmp], (scaleR - scaleL)); 326 temp1 = fxp_mul32_Q30(cos_beta, cos_alpha); 327 temp2 = fxp_mul32_Q30(sin_beta, sin_alpha); 335 h11 = fxp_mul32_Q30(scaleL, (temp1 - temp2)); 336 h12 = fxp_mul32_Q30(scaleR, (temp1 + temp2)); 338 temp1 = fxp_mul32_Q30(sin_beta, cos_alpha); 339 temp2 = fxp_mul32_Q30(cos_beta, sin_alpha); 346 h21 = fxp_mul32_Q30(scaleL, (temp1 + temp2)); 347 h22 = fxp_mul32_Q30(scaleR, (temp1 - temp2)); 426 beta = fxp_mul32_Q30(scaled_alpha [all...] |
H A D | pv_sine.cpp | 131 sine = fxp_mul32_Q30(*(pt_table++), z); 136 sine = fxp_mul32_Q30(sine, z); 172 cosine = Q_fmt(0.99999999906868) - (fxp_mul32_Q30(z, z) >> 1);
|
H A D | calc_sbr_envelope.cpp | 515 tmp_q1 = fxp_mul32_Q30(quotient.quotient >> quotient.shift_factor, nrg_ref_man[c]); 626 tmp_q2 = fxp_mul32_Q30(nrg_est_man[c] + 1, nL_man[aux1] + (0x3FFFFFFF >> tmp_q2)); 646 tmp_q2 = fxp_mul32_Q30(nrg_est_man[c] + 1, tmp_q2 + 0x3FFFFFFF); 763 g_max_man = fxp_mul32_Q30(avg_gain, limGains[limiterGains]); /* table is in Q30 */ 1687 sb_gain_man = fxp_mul32_Q30(fBuf_man[maxSmoothLength][k], Q30fmt(0.33333333333333f)); 1690 sb_noise_man = fxp_mul32_Q30(fBufN_man[maxSmoothLength][k], Q30fmt(0.33333333333333f)); 1695 tmp_q1 = fxp_mul32_Q30(fBuf_man[n][k], Q30fmt(0.03183050093751f)); 1698 tmp_q1 = fxp_mul32_Q30(fBufN_man[n][k], Q30fmt(0.03183050093751f)); 1701 tmp_q1 = fxp_mul32_Q30(fBuf_man[n][k], Q30fmt(0.11516383427084f)); 1704 tmp_q1 = fxp_mul32_Q30(fBufN_ma [all...] |
H A D | sbr_aliasing_reduction.cpp | 292 tmp_q3 = fxp_mul32_Q30(alpha, quotient.quotient); 293 tmp_q4 = fxp_mul32_Q30(Q30fmt(1.0f) - alpha, nrg_gain_man[k]); 342 tmp_q1 = fxp_mul32_Q30(bst_man, nrg_gain_man[k]);
|
H A D | sbr_envelope_unmapping.cpp | 306 iEnvelopeRight_man[i] = fxp_mul32_Q30(iEnvelopeLeft_man[i], iEnvelopeRight_man[i]); 362 iEnvelopeRight_man[i] = fxp_mul32_Q30(iEnvelopeLeft_man[i], iEnvelopeRight_man[i]); 368 iEnvelopeLeft_man[i] = fxp_mul32_Q30(iEnvelopeRight_man[i], Qfmt(1.41421356237310F));
|
H A D | sbr_generate_high_freq.cpp | 570 temp1 = -fxp_mul32_Q30(ac.r02r, ac.r11r); 651 degreeAlias[loBand-1] = 0x40000000 - fxp_mul32_Q30(k1[loBand-1], k1[loBand-1]); 657 degreeAlias[loBand] = 0x40000000 - fxp_mul32_Q30(k1[loBand-1], k1[loBand-1]); 667 degreeAlias[loBand-1] = 0x40000000 - fxp_mul32_Q30(k1[loBand-1], k1[loBand-1]); 672 degreeAlias[loBand] = 0x40000000 - fxp_mul32_Q30(k1[loBand-1], k1[loBand-1]); 975 bw = fxp_mul32_Q30(bw, bw);
|
H A D | fxp_mul32_c_msc_evc_armv5.h | 111 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) function
|
H A D | calc_auto_corr.cpp | 232 ac->det = fxp_mul32_Q30(ac->r12r, ac->r12r); 236 ac->det = fxp_mul32_Q30(ac->r11r, ac->r22r) - ac->det;
|
H A D | fxp_mul32_c_equivalent.h | 217 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) function
|
H A D | fxp_mul32_c_msc_evc.h | 187 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) function
|
H A D | sbr_update_freq_scale.cpp | 207 tmp_q1 = fxp_mul32_Q30(tmp_q1, w[reg]);
|
H A D | fxp_mul32_arm_gcc.h | 355 static inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) function
|
H A D | fxp_mul32_arm_v4.h | 270 __inline Int32 fxp_mul32_Q30(const Int32 L_var1, const Int32 L_var2) function
|
H A D | fxp_mul32_arm_v4_gcc.h | 437 static inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) function
|
H A D | fxp_mul32_arm_v5.h | 209 __inline Int32 fxp_mul32_Q30(const Int32 L_var1, const Int32 L_var2) function
|