Home
last modified time | relevance | path

Searched refs:fxp_mul32_Q30 (Results 1 – 21 of 21) sorted by relevance

/external/opencore/codecs_v2/audio/aac/dec/src/
Dps_init_stereo_mixing.cpp321 beta = fxp_mul32_Q30(scaled_alphas[ tmp], (scaleR - scaleL)); in ps_init_stereo_mixing()
326 temp1 = fxp_mul32_Q30(cos_beta, cos_alpha); in ps_init_stereo_mixing()
327 temp2 = fxp_mul32_Q30(sin_beta, sin_alpha); in ps_init_stereo_mixing()
335 h11 = fxp_mul32_Q30(scaleL, (temp1 - temp2)); in ps_init_stereo_mixing()
336 h12 = fxp_mul32_Q30(scaleR, (temp1 + temp2)); in ps_init_stereo_mixing()
338 temp1 = fxp_mul32_Q30(sin_beta, cos_alpha); in ps_init_stereo_mixing()
339 temp2 = fxp_mul32_Q30(cos_beta, sin_alpha); in ps_init_stereo_mixing()
346 h21 = fxp_mul32_Q30(scaleL, (temp1 + temp2)); in ps_init_stereo_mixing()
347 h22 = fxp_mul32_Q30(scaleR, (temp1 - temp2)); in ps_init_stereo_mixing()
426 beta = fxp_mul32_Q30(scaled_alphas[ tmp], (scaleR - scaleL)); in ps_init_stereo_mixing()
[all …]
Dpv_sine.cpp131 sine = fxp_mul32_Q30(*(pt_table++), z); in pv_sine()
136 sine = fxp_mul32_Q30(sine, z); in pv_sine()
172 cosine = Q_fmt(0.99999999906868) - (fxp_mul32_Q30(z, z) >> 1); in pv_cosine()
Dcalc_sbr_envelope.cpp515 tmp_q1 = fxp_mul32_Q30(quotient.quotient >> quotient.shift_factor, nrg_ref_man[c]); in calc_sbr_envelope()
626 … tmp_q2 = fxp_mul32_Q30(nrg_est_man[c] + 1, nL_man[aux1] + (0x3FFFFFFF >> tmp_q2)); in calc_sbr_envelope()
646 tmp_q2 = fxp_mul32_Q30(nrg_est_man[c] + 1, tmp_q2 + 0x3FFFFFFF); in calc_sbr_envelope()
763 … g_max_man = fxp_mul32_Q30(avg_gain, limGains[limiterGains]); /* table is in Q30 */ in calc_sbr_envelope()
1687 … sb_gain_man = fxp_mul32_Q30(fBuf_man[maxSmoothLength][k], Q30fmt(0.33333333333333f)); in envelope_application()
1690 … sb_noise_man = fxp_mul32_Q30(fBufN_man[maxSmoothLength][k], Q30fmt(0.33333333333333f)); in envelope_application()
1695 tmp_q1 = fxp_mul32_Q30(fBuf_man[n][k], Q30fmt(0.03183050093751f)); in envelope_application()
1698 tmp_q1 = fxp_mul32_Q30(fBufN_man[n][k], Q30fmt(0.03183050093751f)); in envelope_application()
1701 tmp_q1 = fxp_mul32_Q30(fBuf_man[n][k], Q30fmt(0.11516383427084f)); in envelope_application()
1704 tmp_q1 = fxp_mul32_Q30(fBufN_man[n][k], Q30fmt(0.11516383427084f)); in envelope_application()
[all …]
Dsbr_aliasing_reduction.cpp292 tmp_q3 = fxp_mul32_Q30(alpha, quotient.quotient); in sbr_aliasing_reduction()
293 tmp_q4 = fxp_mul32_Q30(Q30fmt(1.0f) - alpha, nrg_gain_man[k]); in sbr_aliasing_reduction()
342 tmp_q1 = fxp_mul32_Q30(bst_man, nrg_gain_man[k]); in sbr_aliasing_reduction()
Dsbr_envelope_unmapping.cpp306 … iEnvelopeRight_man[i] = fxp_mul32_Q30(iEnvelopeLeft_man[i], iEnvelopeRight_man[i]); in sbr_envelope_unmapping()
362 … iEnvelopeRight_man[i] = fxp_mul32_Q30(iEnvelopeLeft_man[i], iEnvelopeRight_man[i]); in sbr_envelope_unmapping()
368 … iEnvelopeLeft_man[i] = fxp_mul32_Q30(iEnvelopeRight_man[i], Qfmt(1.41421356237310F)); in sbr_envelope_unmapping()
Dsbr_generate_high_freq.cpp570 temp1 = -fxp_mul32_Q30(ac.r02r, ac.r11r); in high_freq_coeff_LC()
651 degreeAlias[loBand-1] = 0x40000000 - fxp_mul32_Q30(k1[loBand-1], k1[loBand-1]); in high_freq_coeff_LC()
657 degreeAlias[loBand] = 0x40000000 - fxp_mul32_Q30(k1[loBand-1], k1[loBand-1]); in high_freq_coeff_LC()
667 degreeAlias[loBand-1] = 0x40000000 - fxp_mul32_Q30(k1[loBand-1], k1[loBand-1]); in high_freq_coeff_LC()
672 degreeAlias[loBand] = 0x40000000 - fxp_mul32_Q30(k1[loBand-1], k1[loBand-1]); in high_freq_coeff_LC()
975 bw = fxp_mul32_Q30(bw, bw); in high_freq_generation()
Dcalc_auto_corr.cpp232 ac->det = fxp_mul32_Q30(ac->r12r, ac->r12r); in calc_auto_corr_LC()
236 ac->det = fxp_mul32_Q30(ac->r11r, ac->r22r) - ac->det; in calc_auto_corr_LC()
Dfxp_mul32_c_msc_evc_armv5.h111 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() function
Dsbr_update_freq_scale.cpp207 tmp_q1 = fxp_mul32_Q30(tmp_q1, w[reg]); in sbr_update_freq_scale()
Dfxp_mul32_c_msc_evc.h187 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() function
Dfxp_mul32_c_equivalent.h217 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() function
Dfxp_mul32_arm_gcc.h355 static inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() function
Dfxp_mul32_arm_v4_gcc.h437 static inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() function
Dfxp_mul32_arm_v5.h209 __inline Int32 fxp_mul32_Q30(const Int32 L_var1, const Int32 L_var2) in fxp_mul32_Q30() function
Dfxp_mul32_arm_v4.h270 __inline Int32 fxp_mul32_Q30(const Int32 L_var1, const Int32 L_var2) in fxp_mul32_Q30() function
/external/opencore/codecs_v2/audio/mp3/dec/src/
Dpvmp3_dequantize_sample.cpp174 return (fxp_mul32_Q30(xx, two_cubic_roots[m])); in power_1_third()
296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); in pvmp3_dequantize_sample()
298 tmp = fxp_mul32_Q30(tmp, two_raise_one_fourth); in pvmp3_dequantize_sample()
355 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp))); in pvmp3_dequantize_sample()
356 is[ss] = fxp_mul32_Q30(tmp, two_raise_one_fourth) >> global_gain; in pvmp3_dequantize_sample()
361 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp))); in pvmp3_dequantize_sample()
362 is[ss+1] = fxp_mul32_Q30(tmp, two_raise_one_fourth) >> global_gain; in pvmp3_dequantize_sample()
380 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp))); in pvmp3_dequantize_sample()
381 is[ss] = fxp_mul32_Q30(tmp, two_raise_one_fourth) << global_gain; in pvmp3_dequantize_sample()
387 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp))); in pvmp3_dequantize_sample()
[all …]
Dpvmp3_dct_6.cpp135 vec[2] = fxp_mul32_Q30(tmp0 - tmp2, cos_pi_6); in pvmp3_dct_6()
139 tmp0 = fxp_mul32_Q30(tmp3, cos_7_pi_12); in pvmp3_dct_6()
143 vec[3] = fxp_mul32_Q30((tmp3 + tmp4 - tmp5), cos_3_pi_12); in pvmp3_dct_6()
144 tmp0 = fxp_mul32_Q30(tmp3, cos_11_pi_12); in pvmp3_dct_6()
Dpv_mp3dec_fxd_op_msc_evc.h57 __inline int32 fxp_mul32_Q30(const int32 a, const int32 b) in fxp_mul32_Q30() function
Dpv_mp3dec_fxd_op_c_equivalent.h62 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b) in fxp_mul32_Q30() function
Dpv_mp3dec_fxd_op_arm.h55 __inline Int32 fxp_mul32_Q30(const Int32 L_var1, const Int32 L_var2) in fxp_mul32_Q30() function
Dpv_mp3dec_fxd_op_arm_gcc.h58 static inline int32 fxp_mul32_Q30(const int32 a, const int32 b) in fxp_mul32_Q30() function