Home
last modified time | relevance | path

Searched refs:silk_SMULWB (Results 1 – 25 of 47) sorted by relevance

12

/external/libopus/silk/fixed/
Dapply_sine_window_FIX.c72 c_Q16 = silk_SMULWB( (opus_int32)f_Q16, -f_Q16 ); in silk_apply_sine_window()
91 px_win[ k ] = (opus_int16)silk_SMULWB( silk_RSHIFT( S0_Q16 + S1_Q16, 1 ), px[ k ] ); in silk_apply_sine_window()
92 px_win[ k + 1 ] = (opus_int16)silk_SMULWB( S1_Q16, px[ k + 1] ); in silk_apply_sine_window()
93 S0_Q16 = silk_SMULWB( S1_Q16, c_Q16 ) + silk_LSHIFT( S1_Q16, 1 ) - S0_Q16 + 1; in silk_apply_sine_window()
96 px_win[ k + 2 ] = (opus_int16)silk_SMULWB( silk_RSHIFT( S0_Q16 + S1_Q16, 1 ), px[ k + 2] ); in silk_apply_sine_window()
97 px_win[ k + 3 ] = (opus_int16)silk_SMULWB( S0_Q16, px[ k + 3 ] ); in silk_apply_sine_window()
98 S1_Q16 = silk_SMULWB( S0_Q16, c_Q16 ) + silk_LSHIFT( S0_Q16, 1 ) - S1_Q16; in silk_apply_sine_window()
Dnoise_shape_analysis_FIX.c111silk_SMULWB( maxabs_Q20 - limit_Q20, silk_SMLABB( SILK_FIX_CONST( 0.8, 10 ), SILK_FIX_CONST( 0.1, … in limit_warped_coefs()
179 b_Q8 = silk_SMULWB( silk_LSHIFT( b_Q8, 8 ), b_Q8 ); in silk_noise_shape_analysis_FIX()
182silk_SMULWB( SILK_FIX_CONST( 1.0, 14 ) + psEncCtrl->input_quality_Q14, psEncCtrl->coding_quality_Q… in silk_noise_shape_analysis_FIX()
233 …strength_Q16 = silk_SMULWB( psEncCtrl->predGain_Q16, SILK_FIX_CONST( FIND_PITCH_WHITE_NOISE_FRACTI… in silk_noise_shape_analysis_FIX()
272 …auto_corr[0] = silk_ADD32( auto_corr[0], silk_max_32( silk_SMULWB( silk_RSHIFT( auto_corr[ 0 ], 4 … in silk_noise_shape_analysis_FIX()
358 …l->LF_shp_Q14[ k ] = silk_LSHIFT( SILK_FIX_CONST( 1.0, 14 ) - b_Q14 - silk_SMULWB( strength_Q16, … in silk_noise_shape_analysis_FIX()
363 silk_SMULWB( SILK_FIX_CONST( 1.0, 16 ) - SILK_FIX_CONST( HP_NOISE_COEF, 16 ), in silk_noise_shape_analysis_FIX()
364silk_SMULWB( SILK_FIX_CONST( HARM_HP_NOISE_COEF, 24 ), psEnc->sCmn.speech_activity_Q8 ) ); in silk_noise_shape_analysis_FIX()
369 silk_SMULWB( strength_Q16, silk_SMULWB( SILK_FIX_CONST( 0.6, 16 ), b_Q14 ) ), 16 ); in silk_noise_shape_analysis_FIX()
383 …SILK_FIX_CONST( 1.0, 16 ) - silk_SMULWB( SILK_FIX_CONST( 1.0, 18 ) - silk_LSHIFT( psEncCtrl->codin… in silk_noise_shape_analysis_FIX()
[all …]
Dprocess_gains_FIX.c58silk_SMULWB( SILK_FIX_CONST( 21 + 16 / 0.33, 7 ) - psEnc->sCmn.SNR_dB_Q7, SILK_FIX_CONST( 0.33, 16… in silk_process_gains_FIX()
110 …+ silk_SMULWB( SILK_FIX_CONST( LAMBDA_SPEECH_ACT, 18 ), psEnc->sCmn.speech_activity_Q8 ) in silk_process_gains_FIX()
111 …+ silk_SMULWB( SILK_FIX_CONST( LAMBDA_INPUT_QUALITY, 12 ), psEncCtrl->input_quality_Q14 ) in silk_process_gains_FIX()
112 …+ silk_SMULWB( SILK_FIX_CONST( LAMBDA_CODING_QUALITY, 12 ), psEncCtrl->coding_quality_Q14 ) in silk_process_gains_FIX()
113 …+ silk_SMULWB( SILK_FIX_CONST( LAMBDA_QUANT_OFFSET, 16 ), quant_offset_Q10 … in silk_process_gains_FIX()
DLTP_scale_ctrl_FIX.c47silk_SMULWB( silk_SMULBB( round_loss, psEncCtrl->LTPredCodGain_Q7 ), SILK_FIX_CONST( 0.1, 9 ) ), 0… in silk_LTP_scale_ctrl_FIX()
/external/libopus/silk/fixed/mips/
Dnoise_shape_analysis_FIX_mipsr1.h74 b_Q8 = silk_SMULWB( silk_LSHIFT( b_Q8, 8 ), b_Q8 ); in silk_noise_shape_analysis_FIX()
77silk_SMULWB( SILK_FIX_CONST( 1.0, 14 ) + psEncCtrl->input_quality_Q14, psEncCtrl->coding_quality_Q… in silk_noise_shape_analysis_FIX()
116 psEncCtrl->sparseness_Q8 = silk_RSHIFT( silk_sigm_Q15( silk_SMULWB( energy_variation_Q7 - in silk_noise_shape_analysis_FIX()
134 …strength_Q16 = silk_SMULWB( psEncCtrl->predGain_Q16, SILK_FIX_CONST( FIND_PITCH_WHITE_NOISE_FRACTI… in silk_noise_shape_analysis_FIX()
137 …delta_Q16 = silk_SMULWB( SILK_FIX_CONST( 1.0, 16 ) - silk_SMULBB( 3, psEncCtrl->coding_quality_Q1… in silk_noise_shape_analysis_FIX()
179 …auto_corr[0] = silk_ADD32( auto_corr[0], silk_max_32( silk_SMULWB( silk_RSHIFT( auto_corr[ 0 ], 4 … in silk_noise_shape_analysis_FIX()
231 pre_nrg_Q30 = silk_LSHIFT32( silk_SMULWB( pre_nrg_Q30, SILK_FIX_CONST( 0.7, 15 ) ), 1 ); in silk_noise_shape_analysis_FIX()
260 psEncCtrl->GainsPre_Q14[ k ] = silk_SMULWB( gain_mult_Q16, psEncCtrl->GainsPre_Q14[ k ] ); in silk_noise_shape_analysis_FIX()
277 …l->LF_shp_Q14[ k ] = silk_LSHIFT( SILK_FIX_CONST( 1.0, 14 ) - b_Q14 - silk_SMULWB( strength_Q16, … in silk_noise_shape_analysis_FIX()
282 silk_SMULWB( SILK_FIX_CONST( 1.0, 16 ) - SILK_FIX_CONST( HP_NOISE_COEF, 16 ), in silk_noise_shape_analysis_FIX()
[all …]
Dprefilter_FIX_mipsr1.h147 n_Tilt_Q10 = silk_SMULWB( sLF_AR_shp_Q12, Tilt_Q14 ); in silk_prefilt_FIX()
165 n_Tilt_Q10 = silk_SMULWB( sLF_AR_shp_Q12, Tilt_Q14 ); in silk_prefilt_FIX()
/external/libopus/silk/
Dbiquad_alt.c66 S[ 0 ] = S[1] + silk_RSHIFT_ROUND( silk_SMULWB( out32_Q14, A0_L_Q28 ), 14 ); in silk_biquad_alt_stride1()
70 S[ 1 ] = silk_RSHIFT_ROUND( silk_SMULWB( out32_Q14, A1_L_Q28 ), 14 ); in silk_biquad_alt_stride1()
103 S[ 0 ] = S[ 1 ] + silk_RSHIFT_ROUND( silk_SMULWB( out32_Q14[ 0 ], A0_L_Q28 ), 14 ); in silk_biquad_alt_stride2_c()
104 S[ 2 ] = S[ 3 ] + silk_RSHIFT_ROUND( silk_SMULWB( out32_Q14[ 1 ], A0_L_Q28 ), 14 ); in silk_biquad_alt_stride2_c()
110 S[ 1 ] = silk_RSHIFT_ROUND( silk_SMULWB( out32_Q14[ 0 ], A1_L_Q28 ), 14 ); in silk_biquad_alt_stride2_c()
111 S[ 3 ] = silk_RSHIFT_ROUND( silk_SMULWB( out32_Q14[ 1 ], A1_L_Q28 ), 14 ); in silk_biquad_alt_stride2_c()
Dresampler_private_up2_HQ.c62 X = silk_SMULWB( Y, silk_resampler_up2_hq_0[ 0 ] ); in silk_resampler_private_up2_HQ()
68 X = silk_SMULWB( Y, silk_resampler_up2_hq_0[ 1 ] ); in silk_resampler_private_up2_HQ()
83 X = silk_SMULWB( Y, silk_resampler_up2_hq_1[ 0 ] ); in silk_resampler_private_up2_HQ()
89 X = silk_SMULWB( Y, silk_resampler_up2_hq_1[ 1 ] ); in silk_resampler_private_up2_HQ()
Dstereo_LR_to_MS.c99 …smooth_coef_Q16 = silk_SMULWB( silk_SMULBB( prev_speech_act_Q8, prev_speech_act_Q8 ), smooth_coef_… in silk_stereo_LR_to_MS()
123 silk_SMULWB( SILK_FIX_CONST( 1, 16 ) + frac_3_Q16, min_mid_rate_bps ), 14+2 ); in silk_stereo_LR_to_MS()
142 …( 8 * total_rate_bps < 13 * min_mid_rate_bps || silk_SMULWB( frac_Q16, state->smth_width_Q14 ) < S… in silk_stereo_LR_to_MS()
157 …( 8 * total_rate_bps < 11 * min_mid_rate_bps || silk_SMULWB( frac_Q16, state->smth_width_Q14 ) < S… in silk_stereo_LR_to_MS()
205 deltaw_Q24 = silk_LSHIFT( silk_SMULWB( width_Q14 - state->width_prev_Q14, denom_Q16 ), 10 ); in silk_stereo_LR_to_MS()
211 … sum = silk_SMLAWB( silk_SMULWB( w_Q24, side[ n + 1 ] ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_LR_to_MS()
221 … sum = silk_SMLAWB( silk_SMULWB( w_Q24, side[ n + 1 ] ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_LR_to_MS()
Dstereo_find_predictor.c58 pred2_Q10 = silk_SMULWB( pred_Q13, pred_Q13 ); in silk_stereo_find_predictor()
69 nrgy = silk_SUB_LSHIFT32( nrgy, silk_SMULWB( corr, pred_Q13 ), 3 + 1 ); in silk_stereo_find_predictor()
70 nrgy = silk_ADD_LSHIFT32( nrgy, silk_SMULWB( nrgx, pred2_Q10 ), 6 ); in silk_stereo_find_predictor()
DVAD.c222 SNR_Q7 = silk_SMULWB( silk_LSHIFT( silk_SQRT_APPROX( speech_nrg ), 6 ), SNR_Q7 ); in silk_VAD_GetSA_Q8_c()
239 … SA_Q15 = silk_sigm_Q15( silk_SMULWB( VAD_SNR_FACTOR_Q16, pSNR_dB_Q7 ) - VAD_NEGATIVE_OFFSET_Q5 ); in silk_VAD_GetSA_Q8_c()
266 SA_Q15 = silk_SMULWB( 32768 + speech_nrg, SA_Q15 ); in silk_VAD_GetSA_Q8_c()
276 …smooth_coef_Q16 = silk_SMULWB( VAD_SNR_SMOOTH_COEF_Q18, silk_SMULWB( (opus_int32)SA_Q15, SA_Q15 ) … in silk_VAD_GetSA_Q8_c()
340 coef = silk_SMULWB( silk_SMULWW( inv_nrg, nl ), VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 << 1 ); in silk_VAD_GetNoiseLevels()
Dgain_quant.c51 ind[ k ] = silk_SMULWB( SCALE_Q16, silk_lin2log( gain_Q16[ k ] ) - OFFSET ); in silk_gains_quant()
89 …gain_Q16[ k ] = silk_log2lin( silk_min_32( silk_SMULWB( INV_SCALE_Q16, *prev_ind ) + OFFSET, 3967 … in silk_gains_quant()
123 …gain_Q16[ k ] = silk_log2lin( silk_min_32( silk_SMULWB( INV_SCALE_Q16, *prev_ind ) + OFFSET, 3967 … in silk_gains_dequant()
Dmacros.h44 #define silk_SMULWB(a32, b32) ((opus_int32)(((a32) * (opus_int64)((opus_int16)(b32))) >>… macro
46 #define silk_SMULWB(a32, b32) ((((a32) >> 16) * (opus_int32)((opus_int16)(b32))) + ((((a… macro
89 #define silk_SMULWW(a32, b32) silk_MLA(silk_SMULWB((a32), (b32)), (a32), silk_RSHIFT_ROU…
Dresampler_down2_3.c69 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ); in silk_resampler_down2_3()
77 res_Q6 = silk_SMULWB( buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); in silk_resampler_down2_3()
Dresampler_private_down_FIR.c58 interpol_ind = silk_SMULWB( index_Q16 & 0xFFFF, FIR_Fracs ); in silk_resampler_private_down_FIR_INTERPOL()
62 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], interpol_ptr[ 0 ] ); in silk_resampler_private_down_FIR_INTERPOL()
92 … res_Q6 = silk_SMULWB( silk_ADD32( buf_ptr[ 0 ], buf_ptr[ 23 ] ), FIR_Coefs[ 0 ] ); in silk_resampler_private_down_FIR_INTERPOL()
115 … res_Q6 = silk_SMULWB( silk_ADD32( buf_ptr[ 0 ], buf_ptr[ 35 ] ), FIR_Coefs[ 0 ] ); in silk_resampler_private_down_FIR_INTERPOL()
DInlines.h119 …result = silk_SMULWB(a32_nrm, b32_inv); /* Q: 29 + a_headrm - … in silk_DIV32_varQ()
165 …err_Q32 = silk_LSHIFT( ((opus_int32)1<<29) - silk_SMULWB(b32_nrm, b32_inv), 3 ); /* Q32 … in silk_INVERSE32_varQ()
Dresampler_private_AR2.c52 S[ 1 ] = silk_SMULWB( out32, A_Q14[ 1 ] ); in silk_resampler_private_AR2()
DNSQ.c255 n_LF_Q12 = silk_SMULWB( NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - 1 ], LF_shp_Q14 ); in silk_noise_shape_quantizer()
265 …n_LTP_Q13 = silk_SMULWB( silk_ADD32( shp_lag_ptr[ 0 ], shp_lag_ptr[ -2 ] ), HarmShapeFIRPacked_Q14… in silk_noise_shape_quantizer()
399 inv_gain_Q31 = silk_LSHIFT( silk_SMULWB( inv_gain_Q31, LTP_scale_Q14 ), 2 ); in silk_nsq_scale_states()
403 sLTP_Q15[ i ] = silk_SMULWB( inv_gain_Q31, sLTP[ i ] ); in silk_nsq_scale_states()
Dstereo_decode_pred.c56 step_Q13 = silk_SMULWB( silk_stereo_pred_quant_Q13[ ix[ n ][ 0 ] + 1 ] - low_Q13, in silk_stereo_decode_pred()
Dstereo_quant_pred.c49 step_Q13 = silk_SMULWB( silk_stereo_pred_quant_Q13[ i + 1 ] - low_Q13, in silk_stereo_quant_pred()
/external/libopus/silk/mips/
Dmacros_mipsr1.h34 #undef silk_SMULWB
35 static inline int silk_SMULWB(int a, int b) in silk_SMULWB() function
47 #define silk_SMLAWB(a32, b32, c32) ((a32) + silk_SMULWB(b32, c32))
/external/libopus/silk/x86/
DVQ_WMat_EC_sse4_1.c106 sum2_Q16 = silk_SMULWB( W_Q18[ 7 ], diff_Q14[ 2 ] ); in silk_VQ_WMat_EC_sse4_1()
114 sum2_Q16 = silk_SMULWB( W_Q18[ 13 ], diff_Q14[ 3 ] ); in silk_VQ_WMat_EC_sse4_1()
121 sum2_Q16 = silk_SMULWB( W_Q18[ 19 ], diff_Q14[ 4 ] ); in silk_VQ_WMat_EC_sse4_1()
127 sum2_Q16 = silk_SMULWB( W_Q18[ 24 ], diff_Q14[ 4 ] ); in silk_VQ_WMat_EC_sse4_1()
DVAD_sse4_1.c203 SNR_Q7 = silk_SMULWB( silk_LSHIFT( silk_SQRT_APPROX( speech_nrg ), 6 ), SNR_Q7 ); in silk_VAD_GetSA_Q8_sse4_1()
220 … SA_Q15 = silk_sigm_Q15( silk_SMULWB( VAD_SNR_FACTOR_Q16, pSNR_dB_Q7 ) - VAD_NEGATIVE_OFFSET_Q5 ); in silk_VAD_GetSA_Q8_sse4_1()
248 SA_Q15 = silk_SMULWB( 32768 + speech_nrg, SA_Q15 ); in silk_VAD_GetSA_Q8_sse4_1()
258 …smooth_coef_Q16 = silk_SMULWB( VAD_SNR_SMOOTH_COEF_Q18, silk_SMULWB( (opus_int32)SA_Q15, SA_Q15 ) … in silk_VAD_GetSA_Q8_sse4_1()
/external/libopus/silk/arm/
Dmacros_armv4.h37 #undef silk_SMULWB
50 #define silk_SMULWB(a, b) (silk_SMULWB_armv4(a, b)) macro
54 #define silk_SMLAWB(a, b, c) ((a) + silk_SMULWB(b, c))
Dmacros_armv5e.h38 #undef silk_SMULWB
50 #define silk_SMULWB(a, b) (silk_SMULWB_armv5e(a, b)) macro

12