Home
last modified time | relevance | path

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

12

/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.c323 …( silk_RSHIFT_ROUND( psEncCtrl->Gains_Q16[ k ], 1 ), gain_mult_Q16 ) >= ( silk_int32_MAX >> 1 ) ) { in silk_noise_shape_analysis_FIX()
324 psEncCtrl->Gains_Q16[ k ] = silk_int32_MAX; in silk_noise_shape_analysis_FIX()
Dfind_LTP_FIX.c116 …silk_assert( ((opus_int64)Wght_Q15[ k ] << 16 ) < silk_int32_MAX ); /* Wght … in silk_find_LTP_FIX()
Dburg_modified_FIX.c196 rc_Q31 = ( num > 0 ) ? silk_int32_MAX : silk_int32_MIN; in silk_burg_modified_c()
/external/libopus/silk/
Dquant_LTP_gains.c61 min_rate_dist_Q14 = silk_int32_MAX; in silk_quant_LTP_gains()
107 rate_dist_Q14 = silk_min( silk_int32_MAX - 1, rate_dist_Q14 ); in silk_quant_LTP_gains()
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()
DSigProc_FIX.h451 #define silk_SAT32(a) ((a) > silk_int32_MAX ? silk_int32_MAX : \
469 #define silk_POS_SAT32(a) ((a) > silk_int32_MAX ? silk_int32_MAX : (a))
474 #define silk_ADD_POS_SAT32(a, b) ((((a)+(b)) & 0x80000000) ? silk_int32_MAX : …
491 … silk_RSHIFT32( silk_int32_MAX, (shift) ) ), (shift) ))
DNLSF_del_dec_quant.c165 min_max_Q25 = silk_int32_MAX; in silk_NLSF_del_dec_quant()
187 RD_max_Q25[ ind_min_max ] = silk_int32_MAX; in silk_NLSF_del_dec_quant()
201 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()
Dmacros.h109 … ((((a) | (b)) & 0x80000000) == 0 ? silk_int32_MAX : (a)+(b)) )
113 … ((((a)^0x80000000) & (b) & 0x80000000) ? silk_int32_MAX : (a)-(b)) )
DVAD.c64 psSilk_VAD->inv_NL[ b ] = silk_DIV32( silk_int32_MAX, psSilk_VAD->NL[ b ] ); in silk_VAD_Init()
330 inv_nrg = silk_DIV32( silk_int32_MAX, nrg ); in silk_VAD_GetNoiseLevels()
350 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_c()
Dencode_pulses.c139 minSumBits_Q5 = silk_int32_MAX; in silk_encode_pulses()
DNSQ_del_dec.c229 psDelDec[ i ].RD_Q10 += ( silk_int32_MAX >> 4 ); in silk_NSQ_del_dec_c()
562 …psSampleState[ k ][ 0 ].RD_Q10 = silk_ADD32( psSampleState[ k ][ 0 ].RD_Q10, silk_int32_MAX >> 4 ); in silk_noise_shape_quantizer_del_dec()
563 …psSampleState[ k ][ 1 ].RD_Q10 = silk_ADD32( psSampleState[ k ][ 1 ].RD_Q10, silk_int32_MAX >> 4 ); in silk_noise_shape_quantizer_del_dec()
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_()
DPLC.c298 inv_gain_Q30 = silk_min( inv_gain_Q30, silk_int32_MAX >> 1 ); in silk_PLC_conceal()
/external/libopus/silk/fixed/mips/
Dnoise_shape_analysis_FIX_mipsr1.h203 silk_RSHIFT32( silk_int32_MAX, (16 - Qnrg) ) ), (16 - Qnrg) )); in silk_noise_shape_analysis_FIX()
209 …( silk_RSHIFT_ROUND( psEncCtrl->Gains_Q16[ k ], 1 ), gain_mult_Q16 ) >= ( silk_int32_MAX >> 1 ) ) { in silk_noise_shape_analysis_FIX()
210 psEncCtrl->Gains_Q16[ k ] = silk_int32_MAX; in silk_noise_shape_analysis_FIX()
/external/libopus/silk/x86/
DVQ_WMat_EC_sse.c60 *rate_dist_Q14 = silk_int32_MAX; in silk_VQ_WMat_EC_sse4_1()
DNSQ_del_dec_sse.c228 psDelDec[ i ].RD_Q10 += ( silk_int32_MAX >> 4 ); in silk_NSQ_del_dec_sse4_1()
658 …psSampleState[ k ][ 0 ].RD_Q10 = silk_ADD32( psSampleState[ k ][ 0 ].RD_Q10, silk_int32_MAX >> 4 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
659 …psSampleState[ k ][ 1 ].RD_Q10 = silk_ADD32( psSampleState[ k ][ 1 ].RD_Q10, silk_int32_MAX >> 4 ); in silk_noise_shape_quantizer_del_dec_sse4_1()
/external/libopus/silk/mips/
DNSQ_del_dec_mipsr1.h343 …psSampleState[ k ][ 0 ].RD_Q10 = silk_ADD32( psSampleState[ k ][ 0 ].RD_Q10, silk_int32_MAX >> 4 ); in silk_noise_shape_quantizer_del_dec()
344 …psSampleState[ k ][ 1 ].RD_Q10 = silk_ADD32( psSampleState[ k ][ 1 ].RD_Q10, silk_int32_MAX >> 4 ); in silk_noise_shape_quantizer_del_dec()

12