Home
last modified time | relevance | path

Searched refs:silk_int16_MAX (Results 1 – 12 of 12) sorted by relevance

/external/libopus/silk/
DNLSF_VQ_weights_laroia.c59 pNLSFW_Q_OUT[ 0 ] = (opus_int16)silk_min_int( tmp1_int + tmp2_int, silk_int16_MAX ); in silk_NLSF_VQ_weights_laroia()
66 pNLSFW_Q_OUT[ k ] = (opus_int16)silk_min_int( tmp1_int + tmp2_int, silk_int16_MAX ); in silk_NLSF_VQ_weights_laroia()
71 pNLSFW_Q_OUT[ k + 1 ] = (opus_int16)silk_min_int( tmp1_int + tmp2_int, silk_int16_MAX ); in silk_NLSF_VQ_weights_laroia()
78 pNLSFW_Q_OUT[ D - 1 ] = (opus_int16)silk_min_int( tmp1_int + tmp2_int, silk_int16_MAX ); in silk_NLSF_VQ_weights_laroia()
DLPC_fit.c59 if( maxabs > silk_int16_MAX ) { in silk_LPC_fit()
62 … chirp_Q16 = SILK_FIX_CONST( 0.999, 16 ) - silk_DIV32( silk_LSHIFT( maxabs - silk_int16_MAX, 14 ), in silk_LPC_fit()
Dtypedef.h44 #define silk_int16_MAX 0x7FFF /* 2^15 - 1 = 32767 */ macro
DSigProc_FIX.h490 #define silk_SAT16(a) ((a) > silk_int16_MAX ? silk_int16_MAX : \
514 #define silk_ADD_POS_SAT16(a, b) ((((a)+(b)) & 0x8000) ? silk_int16_MAX : …
DMacroCount.h279 tmp = (opus_int16)((a) > silk_int16_MAX ? silk_int16_MAX : \ in silk_SAT16()
310 tmp = (opus_int16)((((a)+(b)) & 0x8000) ? silk_int16_MAX : ((a)+(b))); in silk_ADD_POS_SAT16()
DA2NLSF.c214 …SF[ root_ix ] = (opus_int16)silk_min_32( silk_LSHIFT( (opus_int32)k, 8 ) + ffrac, silk_int16_MAX ); in silk_A2NLSF()
DCNG.c68 NLSF_step_Q15 = silk_DIV32_16( silk_int16_MAX, psDec->LPC_order + 1 ); in silk_CNG_Reset()
DVAD.c314 min_coef = silk_DIV32_16( silk_int16_MAX, silk_RSHIFT( psSilk_VAD->counter, 4 ) + 1 ); in silk_VAD_GetNoiseLevels()
DMacroDebug.h524 fail |= b32 > silk_int16_MAX; in silk_DIV32_16_()
/external/libopus/silk/fixed/
Dresidual_energy16_FIX.c69 … silk_assert( silk_abs(cn[i]) <= ( silk_int16_MAX + 1 ) ); /* Check that silk_SMLAWB can be used */ in silk_residual_energy16_covar_FIX()
Dprocess_gains_FIX.c75 if( gain_squared < silk_int16_MAX ) { in silk_process_gains_FIX()
Dpitch_analysis_core_FIX.c522 diff = silk_int16_MAX - silk_MUL( contour_bias_Q15, j ); /* Q15 */ in silk_pitch_analysis_core()