/external/libopus/silk/fixed/ |
D | apply_sine_window_FIX.c | 72 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()
|
D | noise_shape_analysis_FIX.c | 116 …silk_SMULWB( maxabs_Q24 - limit_Q24, silk_SMLABB( SILK_FIX_CONST( 0.8, 10 ), SILK_FIX_CONST( 0.1, … in limit_warped_coefs() 184 b_Q8 = silk_SMULWB( silk_LSHIFT( b_Q8, 8 ), b_Q8 ); in silk_noise_shape_analysis_FIX() 187 …silk_SMULWB( SILK_FIX_CONST( 1.0, 14 ) + psEncCtrl->input_quality_Q14, psEncCtrl->coding_quality_Q… in silk_noise_shape_analysis_FIX() 226 psEncCtrl->sparseness_Q8 = silk_RSHIFT( silk_sigm_Q15( silk_SMULWB( energy_variation_Q7 - in silk_noise_shape_analysis_FIX() 244 …strength_Q16 = silk_SMULWB( psEncCtrl->predGain_Q16, SILK_FIX_CONST( FIND_PITCH_WHITE_NOISE_FRACTI… in silk_noise_shape_analysis_FIX() 247 …delta_Q16 = silk_SMULWB( SILK_FIX_CONST( 1.0, 16 ) - silk_SMULBB( 3, psEncCtrl->coding_quality_Q1… in silk_noise_shape_analysis_FIX() 289 …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() 340 pre_nrg_Q30 = silk_LSHIFT32( silk_SMULWB( pre_nrg_Q30, SILK_FIX_CONST( 0.7, 15 ) ), 1 ); in silk_noise_shape_analysis_FIX() 369 psEncCtrl->GainsPre_Q14[ k ] = silk_SMULWB( gain_mult_Q16, psEncCtrl->GainsPre_Q14[ k ] ); in silk_noise_shape_analysis_FIX() 386 …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() [all …]
|
D | process_gains_FIX.c | 58 …silk_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()
|
D | find_LTP_FIX.c | 112 …denom32 = silk_LSHIFT_SAT32( silk_SMULWB( nrg[ k ], Wght_Q15[ k ] ), 1 + extra_shifts ) + /* Q( -c… in silk_find_LTP_FIX() 113 …silk_RSHIFT( silk_SMULWB( (opus_int32)subfr_length, 655 ), corr_rshifts[ k ] - extra_shifts ); … in silk_find_LTP_FIX() 151 …LPC_res_nrg = silk_ADD32( LPC_res_nrg, silk_RSHIFT( silk_ADD32( silk_SMULWB( rr[ k ], Wgh… in silk_find_LTP_FIX() 152 …LPC_LTP_res_nrg = silk_ADD32( LPC_LTP_res_nrg, silk_RSHIFT( silk_ADD32( silk_SMULWB( nrg[ k ], Wgh… in silk_find_LTP_FIX() 228 …b_Q14_ptr[ i ] = silk_LIMIT_32( (opus_int32)b_Q14_ptr[ i ] + silk_SMULWB( silk_LSHIFT_SAT32( temp3… in silk_find_LTP_FIX()
|
D | prefilter_FIX.c | 123 …HarmShapeGain_Q12 = silk_SMULWB( (opus_int32)psEncCtrl->HarmShapeGain_Q14[ k ], 16384 - psEncCtrl-… in silk_prefilter_FIX() 139 …tmp_32 = silk_SMULWB( tmp_32, -psEncCtrl->GainsPre_Q14[ k ] ); … in silk_prefilter_FIX() 193 n_Tilt_Q10 = silk_SMULWB( sLF_AR_shp_Q12, Tilt_Q14 ); in silk_prefilt_FIX()
|
D | LTP_scale_ctrl_FIX.c | 47 …silk_SMULWB( silk_SMULBB( round_loss, psEncCtrl->LTPredCodGain_Q7 ), SILK_FIX_CONST( 0.1, 9 ) ), 0… in silk_LTP_scale_ctrl_FIX()
|
/external/libopus/silk/ |
D | VQ_WMat_EC.c | 75 sum2_Q16 = silk_SMULWB( W_Q18[ 1 ], diff_Q14[ 1 ] ); in silk_VQ_WMat_EC() 84 sum2_Q16 = silk_SMULWB( W_Q18[ 7 ], diff_Q14[ 2 ] ); in silk_VQ_WMat_EC() 92 sum2_Q16 = silk_SMULWB( W_Q18[ 13 ], diff_Q14[ 3 ] ); in silk_VQ_WMat_EC() 99 sum2_Q16 = silk_SMULWB( W_Q18[ 19 ], diff_Q14[ 4 ] ); in silk_VQ_WMat_EC() 105 sum2_Q16 = silk_SMULWB( W_Q18[ 24 ], diff_Q14[ 4 ] ); in silk_VQ_WMat_EC()
|
D | resampler_private_up2_HQ.c | 62 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()
|
D | stereo_LR_to_MS.c | 99 …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()
|
D | stereo_find_predictor.c | 58 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()
|
D | VAD.c | 220 SNR_Q7 = silk_SMULWB( silk_LSHIFT( silk_SQRT_APPROX( speech_nrg ), 6 ), SNR_Q7 ); in silk_VAD_GetSA_Q8() 237 … SA_Q15 = silk_sigm_Q15( silk_SMULWB( VAD_SNR_FACTOR_Q16, pSNR_dB_Q7 ) - VAD_NEGATIVE_OFFSET_Q5 ); in silk_VAD_GetSA_Q8() 265 SA_Q15 = silk_SMULWB( 32768 + speech_nrg, SA_Q15 ); in silk_VAD_GetSA_Q8() 275 …smooth_coef_Q16 = silk_SMULWB( VAD_SNR_SMOOTH_COEF_Q18, silk_SMULWB( (opus_int32)SA_Q15, SA_Q15 ) … in silk_VAD_GetSA_Q8() 334 coef = silk_SMULWB( silk_SMULWW( inv_nrg, nl ), VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 << 1 ); in silk_VAD_GetNoiseLevels()
|
D | gain_quant.c | 51 ind[ k ] = silk_SMULWB( SCALE_Q16, silk_lin2log( gain_Q16[ k ] ) - OFFSET ); in silk_gains_quant() 88 …gain_Q16[ k ] = silk_log2lin( silk_min_32( silk_SMULWB( INV_SCALE_Q16, *prev_ind ) + OFFSET, 3967 … in silk_gains_quant() 122 …gain_Q16[ k ] = silk_log2lin( silk_min_32( silk_SMULWB( INV_SCALE_Q16, *prev_ind ) + OFFSET, 3967 … in silk_gains_dequant()
|
D | biquad_alt.c | 67 S[ 0 ] = S[1] + silk_RSHIFT_ROUND( silk_SMULWB( out32_Q14, A0_L_Q28 ), 14 ); in silk_biquad_alt() 71 S[ 1 ] = silk_RSHIFT_ROUND( silk_SMULWB( out32_Q14, A1_L_Q28 ), 14 ); in silk_biquad_alt()
|
D | NLSF_del_dec_quant.c | 69 pred_Q10 = silk_SMULWB( pred_coef_Q16, prev_out_Q10[ j ] ); in silk_NLSF_del_dec_quant() 71 ind_tmp = silk_SMULWB( (opus_int32)inv_quant_step_size_Q6, res_Q10 ); in silk_NLSF_del_dec_quant() 89 out0_Q10 = silk_SMULWB( (opus_int32)out0_Q10, quant_step_size_Q16 ); in silk_NLSF_del_dec_quant() 90 out1_Q10 = silk_SMULWB( (opus_int32)out1_Q10, quant_step_size_Q16 ); in silk_NLSF_del_dec_quant()
|
D | resampler_down2_3.c | 69 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()
|
D | resampler_private_down_FIR.c | 58 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()
|
D | Inlines.h | 119 …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()
|
D | macros.h | 41 #define silk_SMULWB(a32, b32) ((((a32) >> 16) * (opus_int32)((opus_int16)(b32))) + ((((a… macro 68 #define silk_SMULWW(a32, b32) silk_MLA(silk_SMULWB((a32), (b32)), (a32), silk_RSHIFT_ROU…
|
D | resampler_private_AR2.c | 52 S[ 1 ] = silk_SMULWB( out32, A_Q14[ 1 ] ); in silk_resampler_private_AR2()
|
D | stereo_decode_pred.c | 56 step_Q13 = silk_SMULWB( silk_stereo_pred_quant_Q13[ ix[ n ][ 0 ] + 1 ] - low_Q13, in silk_stereo_decode_pred()
|
D | CNG.c | 104 …psCNG->CNG_smth_NLSF_Q15[ i ] += silk_SMULWB( (opus_int32)psDec->prevNLSF_Q15[ i ] - (opus_int32)p… in silk_CNG() 121 …psCNG->CNG_smth_Gain_Q16 += silk_SMULWB( psDecCtrl->Gains_Q16[ i ] - psCNG->CNG_smth_Gain_Q16, CNG… in silk_CNG()
|
D | NSQ.c | 274 n_LF_Q12 = silk_SMULWB( NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - 1 ], LF_shp_Q14 ); in silk_noise_shape_quantizer() 284 …n_LTP_Q13 = silk_SMULWB( silk_ADD32( shp_lag_ptr[ 0 ], shp_lag_ptr[ -2 ] ), HarmShapeFIRPacked_Q14… in silk_noise_shape_quantizer() 414 inv_gain_Q31 = silk_LSHIFT( silk_SMULWB( inv_gain_Q31, LTP_scale_Q14 ), 2 ); in silk_nsq_scale_states() 418 sLTP_Q15[ i ] = silk_SMULWB( inv_gain_Q31, sLTP[ i ] ); in silk_nsq_scale_states()
|
D | stereo_quant_pred.c | 49 step_Q13 = silk_SMULWB( silk_stereo_pred_quant_Q13[ i + 1 ] - low_Q13, in silk_stereo_quant_pred()
|
/external/libopus/silk/arm/ |
D | macros_armv4.h | 32 #undef silk_SMULWB 45 #define silk_SMULWB(a, b) (silk_SMULWB_armv4(a, b)) macro 49 #define silk_SMLAWB(a, b, c) ((a) + silk_SMULWB(b, c))
|
D | macros_armv5e.h | 33 #undef silk_SMULWB 45 #define silk_SMULWB(a, b) (silk_SMULWB_armv5e(a, b)) macro
|