Home
last modified time | relevance | path

Searched refs:silk_SMULBB (Results 1 – 25 of 46) sorted by relevance

12

/external/libopus/silk/fixed/
DcorrMatrix_FIX.c60 inner_prod += silk_RSHIFT32( silk_SMULBB( ptr1[ i ], ptr2[i] ), rshifts ); in silk_corrVector_FIX()
99 energy -= silk_RSHIFT32( silk_SMULBB( x[ i ], x[ i ] ), rshifts_local ); in silk_corrMatrix_FIX()
112 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr1[ L - j ] ), rshifts_l… in silk_corrMatrix_FIX()
113 …energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr1[ -j ] ), rshifts_local )… in silk_corrMatrix_FIX()
125 energy += silk_RSHIFT32( silk_SMULBB( ptr1[ i ], ptr2[i] ), rshifts_local ); in silk_corrMatrix_FIX()
131 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr2[ L - j ] ), rshifts_l… in silk_corrMatrix_FIX()
132 …energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr2[ -j ] ), rshifts_local )… in silk_corrMatrix_FIX()
146 energy = silk_SUB32( energy, silk_SMULBB( ptr1[ L - j ], ptr2[ L - j ] ) ); in silk_corrMatrix_FIX()
Dpitch_analysis_core_FIX.c200 normalizer = silk_ADD32( normalizer, silk_SMULBB( SF_LENGTH_8KHZ, 4000 ) ); in silk_pitch_analysis_core()
217 silk_SMULBB( basis_ptr[ 0 ], basis_ptr[ 0 ] ) - in silk_pitch_analysis_core()
218 silk_SMULBB( basis_ptr[ SF_LENGTH_8KHZ ], basis_ptr[ SF_LENGTH_8KHZ ] ) ); in silk_pitch_analysis_core()
425 …CCmax_new_b = CCmax_new - silk_RSHIFT( silk_SMULBB( nb_subfr * SILK_FIX_CONST( PE_SHORTLAG_BIAS, 1… in silk_pitch_analysis_core()
432 …delta_lag_log2_sqr_Q7 = silk_RSHIFT( silk_SMULBB( delta_lag_log2_sqr_Q7, delta_lag_log2_sqr_Q7 ), … in silk_pitch_analysis_core()
433 …prev_lag_bias_Q13 = silk_RSHIFT( silk_SMULBB( nb_subfr * SILK_FIX_CONST( PE_PREVLAG_BIAS, 13 ), *L… in silk_pitch_analysis_core()
439 …CCmax_new > silk_SMULBB( nb_subfr, search_thres2_Q13 ) && /* Correlation needs to be high enough… in silk_pitch_analysis_core()
488 lag = silk_RSHIFT( silk_SMULBB( lag, 3 ), 1 ); in silk_pitch_analysis_core()
492 lag = silk_SMULBB( lag, 3 ); in silk_pitch_analysis_core()
716 energy -= silk_SMULBB( basis_ptr[ sf_length - i ], basis_ptr[ sf_length - i ] ); in silk_P_Ana_calc_energy_st3()
[all …]
Dsolve_LS_FIX.c132 …diag_min_value = silk_max_32( silk_SMMUL( silk_ADD_SAT32( A[ 0 ], A[ silk_SMULBB( M, M ) - 1 ] ), … in silk_LDL_factorize_FIX()
145 tmp_32 = silk_SUB32( silk_SMULBB( loop_count + 1, diag_min_value ), tmp_32 ); in silk_LDL_factorize_FIX()
245 tmp_32 = silk_SMLAWW( tmp_32, ptr32[ silk_SMULBB( j, M ) ], x_Q16[ j ] ); in silk_LS_SolveLast_FIX()
DLTP_scale_ctrl_FIX.c47 …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/
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()
146 pred_Q13[ 0 ] = silk_RSHIFT( silk_SMULBB( state->smth_width_Q14, pred_Q13[ 0 ] ), 14 ); in silk_stereo_LR_to_MS()
147 pred_Q13[ 1 ] = silk_RSHIFT( silk_SMULBB( state->smth_width_Q14, pred_Q13[ 1 ] ), 14 ); in silk_stereo_LR_to_MS()
161 pred_Q13[ 0 ] = silk_RSHIFT( silk_SMULBB( state->smth_width_Q14, pred_Q13[ 0 ] ), 14 ); in silk_stereo_LR_to_MS()
162 pred_Q13[ 1 ] = silk_RSHIFT( silk_SMULBB( state->smth_width_Q14, pred_Q13[ 1 ] ), 14 ); in silk_stereo_LR_to_MS()
174 pred_Q13[ 0 ] = silk_RSHIFT( silk_SMULBB( state->smth_width_Q14, pred_Q13[ 0 ] ), 14 ); in silk_stereo_LR_to_MS()
175 pred_Q13[ 1 ] = silk_RSHIFT( silk_SMULBB( state->smth_width_Q14, pred_Q13[ 1 ] ), 14 ); in silk_stereo_LR_to_MS()
203 …delta0_Q13 = -silk_RSHIFT_ROUND( silk_SMULBB( pred_Q13[ 0 ] - state->pred_prev_Q13[ 0 ], denom_Q16… in silk_stereo_LR_to_MS()
204 …delta1_Q13 = -silk_RSHIFT_ROUND( silk_SMULBB( pred_Q13[ 1 ] - state->pred_prev_Q13[ 1 ], denom_Q16… in silk_stereo_LR_to_MS()
Dcontrol_codec.c173 …ret += silk_resampler_init( temp_resampler_state, silk_SMULBB( psEnc->sCmn.fs_kHz, 1000 ), psEnc->… in silk_setup_resamplers()
183 …k_resampler_init( &psEnc->sCmn.resampler_state, psEnc->sCmn.API_fs_Hz, silk_SMULBB( fs_kHz, 1000 )… in silk_setup_resamplers()
219 psEnc->sCmn.frame_length = silk_SMULBB( PacketSize_ms, fs_kHz ); in silk_setup_fs()
220 psEnc->sCmn.pitch_LPC_win_length = silk_SMULBB( FIND_PITCH_LPC_WIN_MS_2_SF, fs_kHz ); in silk_setup_fs()
229 psEnc->sCmn.frame_length = silk_SMULBB( 20, fs_kHz ); in silk_setup_fs()
230 psEnc->sCmn.pitch_LPC_win_length = silk_SMULBB( FIND_PITCH_LPC_WIN_MS, fs_kHz ); in silk_setup_fs()
286 psEnc->sCmn.frame_length = silk_SMULBB( psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr ); in silk_setup_fs()
287 psEnc->sCmn.ltp_mem_length = silk_SMULBB( LTP_MEM_LENGTH_MS, fs_kHz ); in silk_setup_fs()
288 psEnc->sCmn.la_pitch = silk_SMULBB( LA_PITCH_MS, fs_kHz ); in silk_setup_fs()
289 psEnc->sCmn.max_pitch_lag = silk_SMULBB( 18, fs_kHz ); in silk_setup_fs()
[all …]
Ddecoder_set_fs.c47 psDec->subfr_length = silk_SMULBB( SUB_FRAME_LENGTH_MS, fs_kHz ); in silk_decoder_set_fs()
48 frame_length = silk_SMULBB( psDec->nb_subfr, psDec->subfr_length ); in silk_decoder_set_fs()
53 … ret += silk_resampler_init( &psDec->resampler_state, silk_SMULBB( fs_kHz, 1000 ), fs_API_Hz, 0 ); in silk_decoder_set_fs()
73 psDec->ltp_mem_length = silk_SMULBB( LTP_MEM_LENGTH_MS, fs_kHz ); in silk_decoder_set_fs()
Ddecode_pulses.c85 …silk_shell_decoder( &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ], psRangeDec, sum_pulses[… in silk_decode_pulses()
87 …silk_memset( &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ], 0, SHELL_CODEC_FRAME_LENGTH * … in silk_decode_pulses()
97 pulses_ptr = &pulses[ silk_SMULBB( i, SHELL_CODEC_FRAME_LENGTH ) ]; in silk_decode_pulses()
Dcontrol_audio_bandwidth.c45 fs_Hz = silk_SMULBB( fs_kHz, 1000 ); in silk_control_audio_bandwidth()
64 if( silk_SMULBB( psEncC->fs_kHz, 1000 ) > psEncC->desiredInternal_fs_Hz ) in silk_control_audio_bandwidth()
93 if( silk_SMULBB( psEncC->fs_kHz, 1000 ) < psEncC->desiredInternal_fs_Hz ) in silk_control_audio_bandwidth()
Dsigm_Q15.c63 … return( sigm_LUT_neg_Q15[ ind ] - silk_SMULBB( sigm_LUT_slope_Q10[ ind ], in_Q5 & 0x1F ) ); in silk_sigm_Q15()
72 … return( sigm_LUT_pos_Q15[ ind ] + silk_SMULBB( sigm_LUT_slope_Q10[ ind ], in_Q5 & 0x1F ) ); in silk_sigm_Q15()
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()
DPLC.c122 &psDecCtrl->LTPCoef_Q14[ silk_SMULBB( psDec->nb_subfr - 1 - j, LTP_ORDER ) ], in silk_PLC_update()
140 … psPLC->LTPCoef_Q14[ i ] = silk_RSHIFT( silk_SMULBB( psPLC->LTPCoef_Q14[ i ], scale_Q10 ), 10 ); in silk_PLC_update()
149 … psPLC->LTPCoef_Q14[ i ] = silk_RSHIFT( silk_SMULBB( psPLC->LTPCoef_Q14[ i ], scale_Q14 ), 14 ); in silk_PLC_update()
153 psPLC->pitchL_Q8 = silk_LSHIFT( silk_SMULBB( psDec->fs_kHz, 18 ), 8 ); in silk_PLC_update()
251 …rand_scale_Q14 = (opus_int16)silk_RSHIFT( silk_SMULBB( rand_scale_Q14, psPLC->prevLTP_scale_Q14 ),… in silk_PLC_conceal()
307 B_Q14[ j ] = silk_RSHIFT( silk_SMULBB( harm_Gain_Q15, B_Q14[ j ] ), 15 ); in silk_PLC_conceal()
310 rand_scale_Q14 = silk_RSHIFT( silk_SMULBB( rand_scale_Q14, rand_Gain_Q15 ), 15 ); in silk_PLC_conceal()
314 …psPLC->pitchL_Q8 = silk_min_32( psPLC->pitchL_Q8, silk_LSHIFT( silk_SMULBB( MAX_PITCH_LAG_MS, psDe… in silk_PLC_conceal()
DNLSF_unpack.c49 … ec_ix [ i ] = silk_SMULBB( silk_RSHIFT( entry, 1 ) & 7, 2 * NLSF_QUANT_MAX_AMPLITUDE + 1 ); in silk_NLSF_unpack()
51 … ec_ix [ i + 1 ] = silk_SMULBB( silk_RSHIFT( entry, 5 ) & 7, 2 * NLSF_QUANT_MAX_AMPLITUDE + 1 ); in silk_NLSF_unpack()
DNSQ.c311 rd1_Q20 = silk_SMULBB( q1_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer()
312 rd2_Q20 = silk_SMULBB( q2_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer()
316 rd1_Q20 = silk_SMULBB( q1_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer()
317 rd2_Q20 = silk_SMULBB( q2_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer()
321 rd1_Q20 = silk_SMULBB( -q1_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer()
322 rd2_Q20 = silk_SMULBB( q2_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer()
327 rd1_Q20 = silk_SMULBB( -q1_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer()
328 rd2_Q20 = silk_SMULBB( -q2_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer()
Ddecode_pitch.c69 min_lag = silk_SMULBB( PE_MIN_LAG_MS, Fs_kHz ); in silk_decode_pitch()
70 max_lag = silk_SMULBB( PE_MAX_LAG_MS, Fs_kHz ); in silk_decode_pitch()
Dsum_sqr_shift.c60 nrg_tmp = silk_SMULBB( x[ i ], x[ i ] ); in silk_sum_sqr_shift()
71 nrg_tmp = silk_SMULBB( x[ i ], x[ i ] ); in silk_sum_sqr_shift()
Dcode_signs.c57 i = silk_SMULBB( 7, silk_ADD_LSHIFT( quantOffsetType, signalType, 1 ) ); in silk_encode_signs()
91 i = silk_SMULBB( 7, silk_ADD_LSHIFT( quantOffsetType, signalType, 1 ) ); in silk_decode_signs()
Dstereo_MS_to_LR.c57 …delta0_Q13 = silk_RSHIFT_ROUND( silk_SMULBB( pred_Q13[ 0 ] - state->pred_prev_Q13[ 0 ], denom_Q16 … in silk_stereo_MS_to_LR()
58 …delta1_Q13 = silk_RSHIFT_ROUND( silk_SMULBB( pred_Q13[ 1 ] - state->pred_prev_Q13[ 1 ], denom_Q16 … in silk_stereo_MS_to_LR()
DNSQ_del_dec.c473 rd1_Q10 = silk_SMULBB( q1_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer_del_dec()
474 rd2_Q10 = silk_SMULBB( q2_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer_del_dec()
478 rd1_Q10 = silk_SMULBB( q1_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer_del_dec()
479 rd2_Q10 = silk_SMULBB( q2_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer_del_dec()
483 rd1_Q10 = silk_SMULBB( -q1_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer_del_dec()
484 rd2_Q10 = silk_SMULBB( q2_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer_del_dec()
489 rd1_Q10 = silk_SMULBB( -q1_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer_del_dec()
490 rd2_Q10 = silk_SMULBB( -q2_Q10, Lambda_Q10 ); in silk_noise_shape_quantizer_del_dec()
Dinner_prod_aligned.c44 sum = silk_ADD_RSHIFT32( sum, silk_SMULBB( inVec1[ i ], inVec2[ i ] ), scale ); in silk_inner_prod_aligned_scale()
DA2NLSF.c227 NLSF[ k ] = (opus_int16)silk_SMULBB( k + 1, NLSF[ 0 ] ); in silk_A2NLSF()
233 … silk_bwexpander_32( a_Q16, d, 65536 - silk_SMULBB( 10 + i, i ) ); /* 10_Q16 = 0.00015*/ in silk_A2NLSF()
Dinterpolate.c49 … xi[ i ] = (opus_int16)silk_ADD_RSHIFT( x0[ i ], silk_SMULBB( x1[ i ] - x0[ i ], ifact_Q2 ), 2 ); in silk_interpolate()
DNLSF_VQ.c55 sum_error_Q30 = silk_SMULBB( diff_Q15, diff_Q15 ); in silk_NLSF_VQ()
DHP_variable_cutoff.c70silk_SMULBB( psEncC1->speech_activity_Q8, delta_freq_Q7 ), SILK_FIX_CONST( VARIABLE_HP_SMTH_COEF1,… in silk_HP_variable_cutoff()
/external/libopus/silk/arm/
Dmacros_armv5e.h95 #undef silk_SMULBB
107 #define silk_SMULBB(a, b) (silk_SMULBB_armv5e(a, b)) macro

12