Home
last modified time | relevance | path

Searched refs:silk_SMLAWB (Results 1 – 25 of 55) sorted by relevance

123

/external/libopus/silk/
Dresampler_private_down_FIR.c63 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], interpol_ptr[ 1 ] ); in silk_resampler_private_down_FIR_INTERPOL()
64 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], interpol_ptr[ 2 ] ); in silk_resampler_private_down_FIR_INTERPOL()
65 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], interpol_ptr[ 3 ] ); in silk_resampler_private_down_FIR_INTERPOL()
66 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], interpol_ptr[ 4 ] ); in silk_resampler_private_down_FIR_INTERPOL()
67 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 5 ], interpol_ptr[ 5 ] ); in silk_resampler_private_down_FIR_INTERPOL()
68 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 6 ], interpol_ptr[ 6 ] ); in silk_resampler_private_down_FIR_INTERPOL()
69 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 7 ], interpol_ptr[ 7 ] ); in silk_resampler_private_down_FIR_INTERPOL()
70 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 8 ], interpol_ptr[ 8 ] ); in silk_resampler_private_down_FIR_INTERPOL()
72 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 17 ], interpol_ptr[ 0 ] ); in silk_resampler_private_down_FIR_INTERPOL()
73 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 16 ], interpol_ptr[ 1 ] ); in silk_resampler_private_down_FIR_INTERPOL()
[all …]
DNSQ.h42 out = silk_SMLAWB( out, buf32[ 0 ], coef16[ 0 ] ); in silk_noise_shape_quantizer_short_prediction_c()
43 out = silk_SMLAWB( out, buf32[ -1 ], coef16[ 1 ] ); in silk_noise_shape_quantizer_short_prediction_c()
44 out = silk_SMLAWB( out, buf32[ -2 ], coef16[ 2 ] ); in silk_noise_shape_quantizer_short_prediction_c()
45 out = silk_SMLAWB( out, buf32[ -3 ], coef16[ 3 ] ); in silk_noise_shape_quantizer_short_prediction_c()
46 out = silk_SMLAWB( out, buf32[ -4 ], coef16[ 4 ] ); in silk_noise_shape_quantizer_short_prediction_c()
47 out = silk_SMLAWB( out, buf32[ -5 ], coef16[ 5 ] ); in silk_noise_shape_quantizer_short_prediction_c()
48 out = silk_SMLAWB( out, buf32[ -6 ], coef16[ 6 ] ); in silk_noise_shape_quantizer_short_prediction_c()
49 out = silk_SMLAWB( out, buf32[ -7 ], coef16[ 7 ] ); in silk_noise_shape_quantizer_short_prediction_c()
50 out = silk_SMLAWB( out, buf32[ -8 ], coef16[ 8 ] ); in silk_noise_shape_quantizer_short_prediction_c()
51 out = silk_SMLAWB( out, buf32[ -9 ], coef16[ 9 ] ); in silk_noise_shape_quantizer_short_prediction_c()
[all …]
Dbiquad_alt.c64 out32_Q14 = silk_LSHIFT( silk_SMLAWB( S[ 0 ], B_Q28[ 0 ], inval ), 2 ); in silk_biquad_alt_stride1()
67 S[ 0 ] = silk_SMLAWB( S[ 0 ], out32_Q14, A0_U_Q28 ); in silk_biquad_alt_stride1()
68 S[ 0 ] = silk_SMLAWB( S[ 0 ], B_Q28[ 1 ], inval); in silk_biquad_alt_stride1()
71 S[ 1 ] = silk_SMLAWB( S[ 1 ], out32_Q14, A1_U_Q28 ); in silk_biquad_alt_stride1()
72 S[ 1 ] = silk_SMLAWB( S[ 1 ], B_Q28[ 2 ], inval ); in silk_biquad_alt_stride1()
100 out32_Q14[ 0 ] = silk_LSHIFT( silk_SMLAWB( S[ 0 ], B_Q28[ 0 ], in[ 2 * k + 0 ] ), 2 ); in silk_biquad_alt_stride2_c()
101 out32_Q14[ 1 ] = silk_LSHIFT( silk_SMLAWB( S[ 2 ], B_Q28[ 0 ], in[ 2 * k + 1 ] ), 2 ); in silk_biquad_alt_stride2_c()
105 S[ 0 ] = silk_SMLAWB( S[ 0 ], out32_Q14[ 0 ], A0_U_Q28 ); in silk_biquad_alt_stride2_c()
106 S[ 2 ] = silk_SMLAWB( S[ 2 ], out32_Q14[ 1 ], A0_U_Q28 ); in silk_biquad_alt_stride2_c()
107 S[ 0 ] = silk_SMLAWB( S[ 0 ], B_Q28[ 1 ], in[ 2 * k + 0 ] ); in silk_biquad_alt_stride2_c()
[all …]
Ddecode_core.c179 LTP_pred_Q13 = silk_SMLAWB( LTP_pred_Q13, pred_lag_ptr[ 0 ], B_Q14[ 0 ] ); in silk_decode_core()
180 LTP_pred_Q13 = silk_SMLAWB( LTP_pred_Q13, pred_lag_ptr[ -1 ], B_Q14[ 1 ] ); in silk_decode_core()
181 LTP_pred_Q13 = silk_SMLAWB( LTP_pred_Q13, pred_lag_ptr[ -2 ], B_Q14[ 2 ] ); in silk_decode_core()
182 LTP_pred_Q13 = silk_SMLAWB( LTP_pred_Q13, pred_lag_ptr[ -3 ], B_Q14[ 3 ] ); in silk_decode_core()
183 LTP_pred_Q13 = silk_SMLAWB( LTP_pred_Q13, pred_lag_ptr[ -4 ], B_Q14[ 4 ] ); in silk_decode_core()
202 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14[ MAX_LPC_ORDER + i - 1 ], A_Q12_tmp[ 0 ] ); in silk_decode_core()
203 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14[ MAX_LPC_ORDER + i - 2 ], A_Q12_tmp[ 1 ] ); in silk_decode_core()
204 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14[ MAX_LPC_ORDER + i - 3 ], A_Q12_tmp[ 2 ] ); in silk_decode_core()
205 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14[ MAX_LPC_ORDER + i - 4 ], A_Q12_tmp[ 3 ] ); in silk_decode_core()
206 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14[ MAX_LPC_ORDER + i - 5 ], A_Q12_tmp[ 4 ] ); in silk_decode_core()
[all …]
DCNG.c157 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 1 ], A_Q12[ 0 ] ); in silk_CNG()
158 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 2 ], A_Q12[ 1 ] ); in silk_CNG()
159 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 3 ], A_Q12[ 2 ] ); in silk_CNG()
160 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 4 ], A_Q12[ 3 ] ); in silk_CNG()
161 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 5 ], A_Q12[ 4 ] ); in silk_CNG()
162 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 6 ], A_Q12[ 5 ] ); in silk_CNG()
163 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 7 ], A_Q12[ 6 ] ); in silk_CNG()
164 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 8 ], A_Q12[ 7 ] ); in silk_CNG()
165 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 9 ], A_Q12[ 8 ] ); in silk_CNG()
166 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 10 ], A_Q12[ 9 ] ); in silk_CNG()
[all …]
Dresampler_down2_3.c70 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); in silk_resampler_down2_3()
71 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); in silk_resampler_down2_3()
72 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); in silk_resampler_down2_3()
78 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); in silk_resampler_down2_3()
79 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); in silk_resampler_down2_3()
80 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ); in silk_resampler_down2_3()
DPLC.c313 LTP_pred_Q12 = silk_SMLAWB( LTP_pred_Q12, pred_lag_ptr[ 0 ], B_Q14[ 0 ] ); in silk_PLC_conceal()
314 LTP_pred_Q12 = silk_SMLAWB( LTP_pred_Q12, pred_lag_ptr[ -1 ], B_Q14[ 1 ] ); in silk_PLC_conceal()
315 LTP_pred_Q12 = silk_SMLAWB( LTP_pred_Q12, pred_lag_ptr[ -2 ], B_Q14[ 2 ] ); in silk_PLC_conceal()
316 LTP_pred_Q12 = silk_SMLAWB( LTP_pred_Q12, pred_lag_ptr[ -3 ], B_Q14[ 3 ] ); in silk_PLC_conceal()
317 LTP_pred_Q12 = silk_SMLAWB( LTP_pred_Q12, pred_lag_ptr[ -4 ], B_Q14[ 4 ] ); in silk_PLC_conceal()
323 …sLTP_Q14[ sLTP_buf_idx ] = silk_LSHIFT32( silk_SMLAWB( LTP_pred_Q12, rand_ptr[ idx ], rand_scale_Q… in silk_PLC_conceal()
335 psPLC->pitchL_Q8 = silk_SMLAWB( psPLC->pitchL_Q8, psPLC->pitchL_Q8, PITCH_DRIFT_FAC_Q16 ); in silk_PLC_conceal()
353 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 1 ], A_Q12[ 0 ] ); in silk_PLC_conceal()
354 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 2 ], A_Q12[ 1 ] ); in silk_PLC_conceal()
355 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 3 ], A_Q12[ 2 ] ); in silk_PLC_conceal()
[all …]
DVQ_WMat_EC.c86 sum1_Q15 = silk_SMLAWB( sum1_Q15, sum2_Q24, cb_row_Q7[ 0 ] ); in silk_VQ_WMat_EC_c()
94 sum1_Q15 = silk_SMLAWB( sum1_Q15, sum2_Q24, cb_row_Q7[ 1 ] ); in silk_VQ_WMat_EC_c()
101 sum1_Q15 = silk_SMLAWB( sum1_Q15, sum2_Q24, cb_row_Q7[ 2 ] ); in silk_VQ_WMat_EC_c()
107 sum1_Q15 = silk_SMLAWB( sum1_Q15, sum2_Q24, cb_row_Q7[ 3 ] ); in silk_VQ_WMat_EC_c()
112 sum1_Q15 = silk_SMLAWB( sum1_Q15, sum2_Q24, cb_row_Q7[ 4 ] ); in silk_VQ_WMat_EC_c()
Dstereo_MS_to_LR.c63 … sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR()
64 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)x1[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR()
71 … sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR()
72 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)x1[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_MS_to_LR()
DLP_variable_cutoff.c55 B_Q28[ nb ] = silk_SMLAWB( in silk_LP_interpolate_filter_taps()
62 A_Q28[ na ] = silk_SMLAWB( in silk_LP_interpolate_filter_taps()
72 B_Q28[ nb ] = silk_SMLAWB( in silk_LP_interpolate_filter_taps()
79 A_Q28[ na ] = silk_SMLAWB( in silk_LP_interpolate_filter_taps()
Dlog2lin.c52 …out = silk_ADD_RSHIFT32( out, silk_MUL( out, silk_SMLAWB( frac_Q7, silk_SMULBB( frac_Q7, 128 - fra… in silk_log2lin()
55 …out = silk_MLA( out, silk_RSHIFT( out, 7 ), silk_SMLAWB( frac_Q7, silk_SMULBB( frac_Q7, 128 - frac… in silk_log2lin()
DNSQ_del_dec.c383 LTP_pred_Q14 = silk_SMLAWB( LTP_pred_Q14, pred_lag_ptr[ 0 ], b_Q14[ 0 ] ); in silk_noise_shape_quantizer_del_dec()
384 LTP_pred_Q14 = silk_SMLAWB( LTP_pred_Q14, pred_lag_ptr[ -1 ], b_Q14[ 1 ] ); in silk_noise_shape_quantizer_del_dec()
385 LTP_pred_Q14 = silk_SMLAWB( LTP_pred_Q14, pred_lag_ptr[ -2 ], b_Q14[ 2 ] ); in silk_noise_shape_quantizer_del_dec()
386 LTP_pred_Q14 = silk_SMLAWB( LTP_pred_Q14, pred_lag_ptr[ -3 ], b_Q14[ 3 ] ); in silk_noise_shape_quantizer_del_dec()
387 LTP_pred_Q14 = silk_SMLAWB( LTP_pred_Q14, pred_lag_ptr[ -4 ], b_Q14[ 4 ] ); in silk_noise_shape_quantizer_del_dec()
424 tmp2 = silk_SMLAWB( psDD->Diff_Q14, psDD->sAR2_Q14[ 0 ], warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
426 tmp1 = silk_SMLAWB( psDD->sAR2_Q14[ 0 ], psDD->sAR2_Q14[ 1 ] - tmp2, warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
429 n_AR_Q14 = silk_SMLAWB( n_AR_Q14, tmp2, AR_shp_Q13[ 0 ] ); in silk_noise_shape_quantizer_del_dec()
433 … tmp2 = silk_SMLAWB( psDD->sAR2_Q14[ j - 1 ], psDD->sAR2_Q14[ j + 0 ] - tmp1, warping_Q16 ); in silk_noise_shape_quantizer_del_dec()
435 n_AR_Q14 = silk_SMLAWB( n_AR_Q14, tmp1, AR_shp_Q13[ j - 1 ] ); in silk_noise_shape_quantizer_del_dec()
[all …]
Dstereo_LR_to_MS.c131 …state->smth_width_Q14 = (opus_int16)silk_SMLAWB( state->smth_width_Q14, width_Q14 - state->smth_wi… 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()
212 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)mid[ n + 1 ], 11 ), pred1_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()
222 … sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)mid[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ in silk_stereo_LR_to_MS()
DHP_variable_cutoff.c55 …pitch_freq_log_Q7 = silk_SMLAWB( pitch_freq_log_Q7, silk_SMULWB( silk_LSHIFT( -quality_Q15, 2 ), q… in silk_HP_variable_cutoff()
69 psEncC1->variable_HP_smth1_Q15 = silk_SMLAWB( psEncC1->variable_HP_smth1_Q15, in silk_HP_variable_cutoff()
Dmacros.h51 #define silk_SMLAWB(a32, b32, c32) ((opus_int32)((a32) + (((b32) * (opus_int64)((opus_int16)(… macro
53 #define silk_SMLAWB(a32, b32, c32) ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))… macro
96 #define silk_SMLAWW(a32, b32, c32) silk_MLA(silk_SMLAWB((a32), (b32), (c32)), (b32), silk_RSH…
/external/libopus/silk/fixed/mips/
Dprefilter_FIX_mipsr1.h64 tmp2 = silk_SMLAWB( state[ 0 ], state[ 1 ], lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX()
67 tmp1 = silk_SMLAWB( state[ 1 ], state[ 2 ] - tmp2, lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX()
70 acc_Q11 = silk_SMLAWB( acc_Q11, tmp2, coef_Q13[ 0 ] ); in silk_warped_LPC_analysis_filter_FIX()
74 tmp4 = silk_SMLAWB( state_cur, state_next, lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX()
77 tmp3 = silk_SMLAWB( state_next, tmp1 - tmp4, lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX()
80 acc_Q22 = silk_SMLAWB( acc_Q22, tmp4, coef_Q13[ 0 ] ); in silk_warped_LPC_analysis_filter_FIX()
85 tmp2 = silk_SMLAWB( state[ i ], state[ i + 1 ] - tmp1, lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX()
87 acc_Q11 = silk_SMLAWB( acc_Q11, tmp1, coef_Q13[ i - 1 ] ); in silk_warped_LPC_analysis_filter_FIX()
89 tmp1 = silk_SMLAWB( state[ i + 1 ], state[ i + 2 ] - tmp2, lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX()
91 acc_Q11 = silk_SMLAWB( acc_Q11, tmp2, coef_Q13[ i ] ); in silk_warped_LPC_analysis_filter_FIX()
[all …]
Dwarped_autocorrelation_FIX_mipsr1.h81 tmp2_QS = silk_SMLAWB( state_QS[ i ], state_QS[ i + 1 ] - tmp1_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
84 tmp4_QS = silk_SMLAWB( tmp1_QS, tmp2_QS - tmp3_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
87 tmp6_QS = silk_SMLAWB( tmp3_QS, tmp4_QS - tmp5_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
90 tmp8_QS = silk_SMLAWB( tmp5_QS, tmp6_QS - tmp7_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
95 tmp1_QS = silk_SMLAWB( state_QS[ i + 1 ], state_QS[ i + 2 ] - tmp2_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
98 tmp3_QS = silk_SMLAWB( tmp2_QS, tmp1_QS - tmp4_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
101 tmp5_QS = silk_SMLAWB( tmp4_QS, tmp3_QS - tmp6_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
104 tmp7_QS = silk_SMLAWB( tmp6_QS, tmp5_QS - tmp8_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
125 tmp2_QS = silk_SMLAWB( state_QS[ i ], state_QS[ i + 1 ] - tmp1_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
130 tmp1_QS = silk_SMLAWB( state_QS[ i + 1 ], state_QS[ i + 2 ] - tmp2_QS, warping_Q16 ); in silk_warped_autocorrelation_FIX_c()
Dnoise_shape_analysis_FIX_mipsr1.h75 SNR_adj_dB_Q7 = silk_SMLAWB( SNR_adj_dB_Q7, in silk_noise_shape_analysis_FIX()
82 …SNR_adj_dB_Q7 = silk_SMLAWB( SNR_adj_dB_Q7, SILK_FIX_CONST( HARM_SNR_INCR_dB, 8 ), psEnc->LTPCorr_… in silk_noise_shape_analysis_FIX()
85 SNR_adj_dB_Q7 = silk_SMLAWB( SNR_adj_dB_Q7, in silk_noise_shape_analysis_FIX()
86silk_SMLAWB( SILK_FIX_CONST( 6.0, 9 ), -SILK_FIX_CONST( 0.4, 18 ), psEnc->sCmn.SNR_dB_Q7 ), in silk_noise_shape_analysis_FIX()
127 …SNR_adj_dB_Q7 = silk_SMLAWB( SNR_adj_dB_Q7, SILK_FIX_CONST( SPARSE_SNR_INCR_dB, 15 ), psEncCtrl->s… in silk_noise_shape_analysis_FIX()
146 …warping_Q16 = silk_SMLAWB( psEnc->sCmn.warping_Q16, (opus_int32)psEncCtrl->coding_quality_Q14, SIL… in silk_noise_shape_analysis_FIX()
248 …gain_mult_Q16 = silk_log2lin( -silk_SMLAWB( -SILK_FIX_CONST( 16.0, 7 ), SNR_adj_dB_Q7, SILK_FIX_CO… in silk_noise_shape_analysis_FIX()
249 …gain_add_Q16 = silk_log2lin( silk_SMLAWB( SILK_FIX_CONST( 16.0, 7 ), SILK_FIX_CONST( MIN_QGAIN_… in silk_noise_shape_analysis_FIX()
267 …strength_Q16 = silk_MUL( SILK_FIX_CONST( LOW_FREQ_SHAPING, 4 ), silk_SMLAWB( SILK_FIX_CONST( 1.0, … in silk_noise_shape_analysis_FIX()
304 HarmBoost_Q16 = silk_SMLAWB( HarmBoost_Q16, in silk_noise_shape_analysis_FIX()
[all …]
/external/libopus/silk/x86/
DVQ_WMat_EC_sse4_1.c102 sum2_Q16 = silk_SMLAWB( sum2_Q16, W_Q18[ 0 ], diff_Q14[ 0 ] ); in silk_VQ_WMat_EC_sse4_1()
103 sum1_Q14 = silk_SMLAWB( sum1_Q14, sum2_Q16, diff_Q14[ 0 ] ); in silk_VQ_WMat_EC_sse4_1()
107 sum2_Q16 = silk_SMLAWB( sum2_Q16, W_Q18[ 8 ], diff_Q14[ 3 ] ); in silk_VQ_WMat_EC_sse4_1()
108 sum2_Q16 = silk_SMLAWB( sum2_Q16, W_Q18[ 9 ], diff_Q14[ 4 ] ); in silk_VQ_WMat_EC_sse4_1()
110 sum2_Q16 = silk_SMLAWB( sum2_Q16, W_Q18[ 6 ], diff_Q14[ 1 ] ); in silk_VQ_WMat_EC_sse4_1()
111 sum1_Q14 = silk_SMLAWB( sum1_Q14, sum2_Q16, diff_Q14[ 1 ] ); in silk_VQ_WMat_EC_sse4_1()
115 sum2_Q16 = silk_SMLAWB( sum2_Q16, W_Q18[ 14 ], diff_Q14[ 4 ] ); in silk_VQ_WMat_EC_sse4_1()
117 sum2_Q16 = silk_SMLAWB( sum2_Q16, W_Q18[ 12 ], diff_Q14[ 2 ] ); in silk_VQ_WMat_EC_sse4_1()
118 sum1_Q14 = silk_SMLAWB( sum1_Q14, sum2_Q16, diff_Q14[ 2 ] ); in silk_VQ_WMat_EC_sse4_1()
123 sum2_Q16 = silk_SMLAWB( sum2_Q16, W_Q18[ 18 ], diff_Q14[ 3 ] ); in silk_VQ_WMat_EC_sse4_1()
[all …]
/external/libopus/silk/fixed/
Dnoise_shape_analysis_FIX.c51 gain_Q24 = silk_SMLAWB( coefs_Q24[ i ], gain_Q24, lambda_Q16 ); in warped_gain()
53 gain_Q24 = silk_SMLAWB( SILK_FIX_CONST( 1.0, 24 ), gain_Q24, -lambda_Q16 ); in warped_gain()
73 coefs_Q24[ i - 1 ] = silk_SMLAWB( coefs_Q24[ i - 1 ], coefs_Q24[ i ], lambda_Q16 ); in limit_warped_coefs()
76 nom_Q16 = silk_SMLAWB( SILK_FIX_CONST( 1.0, 16 ), -(opus_int32)lambda_Q16, lambda_Q16 ); in limit_warped_coefs()
77 den_Q24 = silk_SMLAWB( SILK_FIX_CONST( 1.0, 24 ), coefs_Q24[ 0 ], lambda_Q16 ); in limit_warped_coefs()
102 coefs_Q24[ i - 1 ] = silk_SMLAWB( coefs_Q24[ i - 1 ], coefs_Q24[ i ], lambda_Q16 ); in limit_warped_coefs()
118 coefs_Q24[ i - 1 ] = silk_SMLAWB( coefs_Q24[ i - 1 ], coefs_Q24[ i ], lambda_Q16 ); in limit_warped_coefs()
121 … nom_Q16 = silk_SMLAWB( SILK_FIX_CONST( 1.0, 16 ), -(opus_int32)lambda_Q16, lambda_Q16 ); in limit_warped_coefs()
122 den_Q24 = silk_SMLAWB( SILK_FIX_CONST( 1.0, 24 ), coefs_Q24[ 0 ], lambda_Q16 ); in limit_warped_coefs()
180 SNR_adj_dB_Q7 = silk_SMLAWB( SNR_adj_dB_Q7, in silk_noise_shape_analysis_FIX()
[all …]
Dresidual_energy16_FIX.c76 tmp = silk_SMLAWB( tmp, wXx[ i ], cn[ i ] ); in silk_residual_energy16_covar_FIX()
86 tmp = silk_SMLAWB( tmp, pRow[ j ], cn[ j ] ); in silk_residual_energy16_covar_FIX()
88 tmp = silk_SMLAWB( tmp, silk_RSHIFT( pRow[ i ], 1 ), cn[ i ] ); in silk_residual_energy16_covar_FIX()
89 tmp2 = silk_SMLAWB( tmp2, tmp, cn[ i ] ); in silk_residual_energy16_covar_FIX()
Dk2a_FIX.c49 A_Q24[ n ] = silk_SMLAWB( tmp1, silk_LSHIFT( tmp2, 1 ), rc ); in silk_k2a()
50 A_Q24[ k - n - 1 ] = silk_SMLAWB( tmp2, silk_LSHIFT( tmp1, 1 ), rc ); in silk_k2a()
Dburg_modified_FIX.c129 …C_first_row[ k ] = silk_SMLAWB( C_first_row[ k ], x1, x_ptr[ n - k - 1 ] ); /* Q( -rshi… in silk_burg_modified_c()
130 …C_last_row[ k ] = silk_SMLAWB( C_last_row[ k ], x2, x_ptr[ subfr_length - n + k ] ); /* Q( -rshi… in silk_burg_modified_c()
132 … tmp1 = silk_SMLAWB( tmp1, Atmp_QA, x_ptr[ n - k - 1 ] ); /* Q(QA-16) */ in silk_burg_modified_c()
133 … tmp2 = silk_SMLAWB( tmp2, Atmp_QA, x_ptr[ subfr_length - n + k ] ); /* Q(QA-16) */ in silk_burg_modified_c()
138 …CAf[ k ] = silk_SMLAWB( CAf[ k ], tmp1, x_ptr[ n - k ] ); /* Q( -rshift … in silk_burg_modified_c()
139 …CAb[ k ] = silk_SMLAWB( CAb[ k ], tmp2, x_ptr[ subfr_length - n + k - 1 ] ); /* Q( -rshift … in silk_burg_modified_c()
/external/libopus/silk/fixed/x86/
Dprefilter_FIX_sse.c138 tmp2 = silk_SMLAWB( state[ 0 ], state[ 1 ], lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX_sse4_1()
141 tmp1 = silk_SMLAWB( state[ 1 ], state[ 2 ] - tmp2, lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX_sse4_1()
144 acc_Q11 = silk_SMLAWB( acc_Q11, tmp2, coef_Q13[ 0 ] ); in silk_warped_LPC_analysis_filter_FIX_sse4_1()
148 tmp2 = silk_SMLAWB( state[ i ], state[ i + 1 ] - tmp1, lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX_sse4_1()
150 acc_Q11 = silk_SMLAWB( acc_Q11, tmp1, coef_Q13[ i - 1 ] ); in silk_warped_LPC_analysis_filter_FIX_sse4_1()
152 tmp1 = silk_SMLAWB( state[ i + 1 ], state[ i + 2 ] - tmp2, lambda_Q16 ); in silk_warped_LPC_analysis_filter_FIX_sse4_1()
154 acc_Q11 = silk_SMLAWB( acc_Q11, tmp2, coef_Q13[ i ] ); in silk_warped_LPC_analysis_filter_FIX_sse4_1()
157 acc_Q11 = silk_SMLAWB( acc_Q11, tmp1, coef_Q13[ order - 1 ] ); in silk_warped_LPC_analysis_filter_FIX_sse4_1()
/external/libopus/silk/mips/
Dmacros_mipsr1.h46 #undef silk_SMLAWB
47 #define silk_SMLAWB(a32, b32, c32) ((a32) + silk_SMULWB(b32, c32)) macro

123