Home
last modified time | relevance | path

Searched refs:silk_int32_MAX (Results 1 – 22 of 22) sorted by relevance

/external/libopus/silk/fixed/
Dprocess_gains_FIX.c67 if( ResNrgPart >= silk_RSHIFT( silk_int32_MAX, -psEncCtrl->ResNrgQ[ k ] ) ) { in silk_process_gains_FIX()
68 ResNrgPart = silk_int32_MAX; in silk_process_gains_FIX()
80 gain = silk_min( gain, silk_int32_MAX >> 8 ); in silk_process_gains_FIX()
84 gain = silk_min( gain, silk_int32_MAX >> 16 ); in silk_process_gains_FIX()
Dresidual_energy16_FIX.c96 } else if( nrg > silk_RSHIFT( silk_int32_MAX, lshifts + 2 ) ) { in silk_residual_energy16_covar_FIX()
97 nrg = silk_int32_MAX >> 1; in silk_residual_energy16_covar_FIX()
Dfind_pred_coefs_FIX.c54 min_gain_Q16 = silk_int32_MAX >> 6; in silk_find_pred_coefs_FIX()
Dnoise_shape_analysis_FIX.c318 …( silk_RSHIFT_ROUND( psEncCtrl->Gains_Q16[ k ], 1 ), gain_mult_Q16 ) >= ( silk_int32_MAX >> 1 ) ) { in silk_noise_shape_analysis_FIX()
319 psEncCtrl->Gains_Q16[ k ] = silk_int32_MAX; in silk_noise_shape_analysis_FIX()
Dfind_LTP_FIX.c115 …silk_assert( ((opus_int64)Wght_Q15[ k ] << 16 ) < silk_int32_MAX ); /* Wght … in silk_find_LTP_FIX()
Dburg_modified_FIX.c197 rc_Q31 = ( num > 0 ) ? silk_int32_MAX : silk_int32_MIN; in silk_burg_modified()
/external/libopus/silk/
Dquant_LTP_gains.c60 min_rate_dist_Q14 = silk_int32_MAX; in silk_quant_LTP_gains()
105 rate_dist_Q14 = silk_min( silk_int32_MAX - 1, rate_dist_Q14 ); in silk_quant_LTP_gains()
DSigProc_FIX.h443 #define silk_SAT32(a) ((a) > silk_int32_MAX ? silk_int32_MAX : \
461 #define silk_POS_SAT32(a) ((a) > silk_int32_MAX ? silk_int32_MAX : (a))
466 #define silk_ADD_POS_SAT32(a, b) ((((a)+(b)) & 0x80000000) ? silk_int32_MAX : …
483 … silk_RSHIFT32( silk_int32_MAX, (shift) ) ), (shift) ))
DInlines.h116 …b32_inv = silk_DIV32_16( silk_int32_MAX >> 2, silk_RSHIFT(b32_nrm, 16) ); /* Q: 29 + 16 - b_head… in silk_DIV32_varQ()
159 …b32_inv = silk_DIV32_16( silk_int32_MAX >> 2, silk_RSHIFT(b32_nrm, 16) ); /* Q: 29 + 16 - b_head… in silk_INVERSE32_varQ()
Dmacros.h76 … ((((a) | (b)) & 0x80000000) == 0 ? silk_int32_MAX : (a)+(b)) )
80 … ((((a)^0x80000000) & (b) & 0x80000000) ? silk_int32_MAX : (a)-(b)) )
DNLSF_del_dec_quant.c155 min_max_Q25 = silk_int32_MAX; in silk_NLSF_del_dec_quant()
177 RD_max_Q25[ ind_min_max ] = silk_int32_MAX; in silk_NLSF_del_dec_quant()
191 min_Q25 = silk_int32_MAX; in silk_NLSF_del_dec_quant()
DMacroCount.h287 tmp = (opus_int32)((a) > silk_int32_MAX ? silk_int32_MAX : \ in silk_SAT32()
295 tmp = (opus_int32)((a) > silk_int32_MAX ? silk_int32_MAX : (a)); in silk_POS_SAT32()
318 tmp = (opus_int32)((((a)+(b)) & 0x80000000) ? silk_int32_MAX : ((a)+(b))); in silk_ADD_POS_SAT32()
562 ((((a32) | (b32)) & 0x80000000) == 0 ? silk_int32_MAX : (a32)+(b32)) ); in silk_ADD_SAT32()
591 ((((a32)^0x80000000) & (b32) & 0x80000000) ? silk_int32_MAX : (a32)-(b32)) ); in silk_SUB_SAT32()
DVAD.c62 psSilk_VAD->inv_NL[ b ] = silk_DIV32( silk_int32_MAX, psSilk_VAD->NL[ b ] ); in silk_VAD_Init()
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()
Dlog2lin.c45 return silk_int32_MAX; in silk_log2lin()
Dtypedef.h42 #define silk_int32_MAX 0x7FFFFFFF /* 2^31 - 1 = 2147483647 */ macro
Dstereo_quant_pred.c46 err_min_Q13 = silk_int32_MAX; in silk_stereo_quant_pred()
DVQ_WMat_EC.c55 *rate_dist_Q14 = silk_int32_MAX; in silk_VQ_WMat_EC()
Dencode_pulses.c139 minSumBits_Q5 = silk_int32_MAX; in silk_encode_pulses()
DNSQ_del_dec.c223 psDelDec[ i ].RD_Q10 += ( silk_int32_MAX >> 4 ); in silk_NSQ_del_dec()
566 …psSampleState[ k ][ 0 ].RD_Q10 = silk_ADD32( psSampleState[ k ][ 0 ].RD_Q10, silk_int32_MAX >> 4 ); in silk_noise_shape_quantizer_del_dec()
567 …psSampleState[ k ][ 1 ].RD_Q10 = silk_ADD32( psSampleState[ k ][ 1 ].RD_Q10, silk_int32_MAX >> 4 ); in silk_noise_shape_quantizer_del_dec()
DPLC.c276 inv_gain_Q30 = silk_min( inv_gain_Q30, silk_int32_MAX >> 1 ); in silk_PLC_conceal()
DMacroDebug.h154 ((((a32) | (b32)) & 0x80000000) == 0 ? silk_int32_MAX : (a32)+(b32)) ); in silk_ADD_SAT32_()
215 ((((a32)^0x80000000) & (b32) & 0x80000000) ? silk_int32_MAX : (a32)-(b32)) ); in silk_SUB_SAT32_()
/external/libopus/src/
Dopus_encoder.c325 silk_assert( cutoff_Hz <= silk_int32_MAX / SILK_FIX_CONST( 1.5 * 3.14159 / 1000, 19 ) ); in hp_cutoff()