Home
last modified time | relevance | path

Searched refs:silk_DIV32 (Results 1 – 15 of 15) sorted by relevance

/external/libopus/silk/
DVAD.c64 psSilk_VAD->inv_NL[ b ] = silk_DIV32( silk_int32_MAX, psSilk_VAD->NL[ b ] ); in silk_VAD_Init()
208 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( silk_LSHIFT( Xnrg[ b ], 8 ), psSilk_VAD->NL[ b ] + 1 ); in silk_VAD_GetSA_Q8_c()
210 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( Xnrg[ b ], silk_RSHIFT( psSilk_VAD->NL[ b ], 8 ) + 1 ); in silk_VAD_GetSA_Q8_c()
331 inv_nrg = silk_DIV32( silk_int32_MAX, nrg ); in silk_VAD_GetNoiseLevels()
351 nl = silk_DIV32( silk_int32_MAX, psSilk_VAD->inv_NL[ k ] ); in silk_VAD_GetNoiseLevels()
DA2NLSF.c208 ffrac += silk_DIV32( nom, den ); in silk_A2NLSF()
212 ffrac += silk_DIV32( ylo, silk_RSHIFT( ylo - yhi, 8 - BIN_DIV_STEPS_A2NLSF_FIX ) ); in silk_A2NLSF()
DLPC_fit.c62 … chirp_Q16 = SILK_FIX_CONST( 0.999, 16 ) - silk_DIV32( silk_LSHIFT( maxabs - silk_int16_MAX, 14 ), in silk_LPC_fit()
DPLC.c140 scale_Q10 = silk_DIV32( tmp, silk_max( LTP_Gain_Q14, 1 ) ); in silk_PLC_update()
149 scale_Q14 = silk_DIV32( tmp, silk_max( LTP_Gain_Q14, 1 ) ); in silk_PLC_update()
430 frac_Q24 = silk_DIV32( psPLC->conc_energy, silk_max( energy, 1 ) ); in silk_PLC_glue_frames()
Dresampler.c163 …S->invRatio_Q16 = silk_LSHIFT32( silk_DIV32( silk_LSHIFT32( Fs_Hz_in, 14 + up2x ), Fs_Hz_out ), 2 … in silk_resampler_init()
DMacroCount.h254 #undef silk_DIV32
255 static OPUS_INLINE opus_int32 silk_DIV32(opus_int32 a32, opus_int32 b32){ in silk_DIV32() function
Ddec_API.c317 …*nSamplesOut = silk_DIV32( nSamplesOutDec * decControl->API_sampleRate, silk_SMULBB( channel_state… in silk_Decode()
DMacroDebug.h506 #undef silk_DIV32
507 #define silk_DIV32(a,b) silk_DIV32_((a), (b), __FILE__, __LINE__) macro
DSigProc_FIX.h477 #define silk_DIV32(a32, b32) ((opus_int32)((a32) / (b32))) macro
Denc_API.c199 nBlocksOf10ms = silk_DIV32( 100 * nSamplesIn, encControl->API_sampleRate ); in silk_Encode()
/external/libopus/silk/x86/
DVAD_sse4_1.c189 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( silk_LSHIFT( Xnrg[ b ], 8 ), psSilk_VAD->NL[ b ] + 1 ); in silk_VAD_GetSA_Q8_sse4_1()
191 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( Xnrg[ b ], silk_RSHIFT( psSilk_VAD->NL[ b ], 8 ) + 1 ); in silk_VAD_GetSA_Q8_sse4_1()
/external/libopus/silk/fixed/
Dfind_pred_coefs_FIX.c70 local_gains[ i ] = silk_DIV32( ( (opus_int32)1 << 16 ), invGains_Q16[ i ] ); in silk_find_pred_coefs_FIX()
Dburg_modified_FIX.c208 … rc_Q31 = silk_RSHIFT32( rc_Q31 + silk_DIV32( tmp2, rc_Q31 ), 1 ); /* Q15 */ in silk_burg_modified_c()
Dpitch_analysis_core_FIX.c428 …prev_lag_bias_Q13 = silk_DIV32( silk_MUL( prev_lag_bias_Q13, delta_lag_log2_sqr_Q7 ), delta_lag_lo… in silk_pitch_analysis_core()
/external/libopus/silk/fixed/x86/
Dburg_modified_FIX_sse4_1.c305 … rc_Q31 = silk_RSHIFT32( rc_Q31 + silk_DIV32( tmp2, rc_Q31 ), 1 ); /* Q15 */ in silk_burg_modified_sse4_1()