Home
last modified time | relevance | path

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

/external/chromium_org/third_party/opus/src/silk/
DVAD.c62 psSilk_VAD->inv_NL[ b ] = silk_DIV32( silk_int32_MAX, psSilk_VAD->NL[ b ] ); in silk_VAD_Init()
206 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( silk_LSHIFT( Xnrg[ b ], 8 ), psSilk_VAD->NL[ b ] + 1 ); in silk_VAD_GetSA_Q8()
208 … NrgToNoiseRatio_Q8[ b ] = silk_DIV32( Xnrg[ b ], silk_RSHIFT( psSilk_VAD->NL[ b ], 8 ) + 1 ); in silk_VAD_GetSA_Q8()
325 inv_nrg = silk_DIV32( silk_int32_MAX, nrg ); in silk_VAD_GetNoiseLevels()
345 nl = silk_DIV32( silk_int32_MAX, psSilk_VAD->inv_NL[ k ] ); in silk_VAD_GetNoiseLevels()
DA2NLSF.c193 ffrac += silk_DIV32( nom, den ); in silk_A2NLSF()
197 ffrac += silk_DIV32( ylo, silk_RSHIFT( ylo - yhi, 8 - BIN_DIV_STEPS_A2NLSF_FIX ) ); in silk_A2NLSF()
Dcontrol_SNR.c67 frac_Q6 = silk_DIV32( silk_LSHIFT( TargetRate_bps - rateTable[ k - 1 ], 6 ), in silk_control_SNR()
DPLC.c138 scale_Q10 = silk_DIV32( tmp, silk_max( LTP_Gain_Q14, 1 ) ); in silk_PLC_update()
147 scale_Q14 = silk_DIV32( tmp, silk_max( LTP_Gain_Q14, 1 ) ); in silk_PLC_update()
405 frac_Q24 = silk_DIV32( psPLC->conc_energy, silk_max( energy, 1 ) ); in silk_PLC_glue_frames()
DNLSF2A.c145 … sc_Q16 = SILK_FIX_CONST( 0.999, 16 ) - silk_DIV32( silk_LSHIFT( maxabs - silk_int16_MAX, 14 ), in silk_NLSF2A()
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 inline opus_int32 silk_DIV32(opus_int32 a32, opus_int32 b32){ in silk_DIV32() function
Ddec_API.c304 …*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.h425 #define silk_DIV32(a32, b32) ((opus_int32)((a32) / (b32))) macro
Denc_API.c192 nBlocksOf10ms = silk_DIV32( 100 * nSamplesIn, encControl->API_sampleRate ); in silk_Encode()
/external/chromium_org/third_party/opus/src/silk/fixed/
Dfind_LTP_FIX.c116 …temp32 = silk_DIV32( silk_LSHIFT( (opus_int32)Wght_Q15[ k ], 16 ), denom32 ); /* Q( 15… in silk_find_LTP_FIX()
216 silk_DIV32( in silk_find_LTP_FIX()
226 temp32 = silk_DIV32( g_Q26, temp32 ); /* Q14 -> Q12 */ in silk_find_LTP_FIX()
Dfind_pred_coefs_FIX.c73 local_gains[ i ] = silk_DIV32( ( (opus_int32)1 << 16 ), invGains_Q16[ i ] ); in silk_find_pred_coefs_FIX()
Dburg_modified_FIX.c207 … rc_Q31 = silk_RSHIFT32( rc_Q31 + silk_DIV32( tmp2, rc_Q31 ), 1 ); /* Q15 */ in silk_burg_modified()
Dpitch_analysis_core_FIX.c432 …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()