Searched refs:silk_LIMIT (Results 1 – 14 of 14) sorted by relevance
/external/libopus/silk/ |
D | stereo_find_predictor.c | 57 pred_Q13 = silk_LIMIT( pred_Q13, -(1 << 14), 1 << 14 ); in silk_stereo_find_predictor() 76 *ratio_Q14 = silk_LIMIT( *ratio_Q14, 0, 32767 ); in silk_stereo_find_predictor()
|
D | SigProc_FIX.h | 482 #define silk_LSHIFT_SAT32(a, shift) (silk_LSHIFT32( silk_LIMIT( (a), silk_RSHIFT32( silk_in… 549 #define silk_LIMIT( a, limit1, limit2) ((limit1) > (limit2) ? ((a) > (limit1) ? (limit1) : ((a… macro 552 #define silk_LIMIT_int silk_LIMIT 553 #define silk_LIMIT_16 silk_LIMIT 554 #define silk_LIMIT_32 silk_LIMIT
|
D | control_SNR.c | 46 TargetRate_bps = silk_LIMIT( TargetRate_bps, MIN_TARGET_RATE_BPS, MAX_TARGET_RATE_BPS ); in silk_control_SNR()
|
D | decode_pitch.c | 75 pitch_lags[ k ] = silk_LIMIT( pitch_lags[ k ], min_lag, max_lag ); in silk_decode_pitch()
|
D | NLSF_decode.c | 96 pNLSF_Q15[ i ] = (opus_int16)silk_LIMIT( NLSF_Q15_tmp, 0, 32767 ); in silk_NLSF_decode()
|
D | LP_variable_cutoff.c | 129 …psLP->transition_frame_no = silk_LIMIT( psLP->transition_frame_no + psLP->mode, 0, TRANSITION_FRAM… in silk_LP_variable_cutoff()
|
D | NLSF_del_dec_quant.c | 72 … ind_tmp = silk_LIMIT( ind_tmp, -NLSF_QUANT_MAX_AMPLITUDE_EXT, NLSF_QUANT_MAX_AMPLITUDE_EXT-1 ); in silk_NLSF_del_dec_quant()
|
D | stereo_LR_to_MS.c | 124 width_Q14 = silk_LIMIT( width_Q14, 0, SILK_FIX_CONST( 1, 14 ) ); in silk_stereo_LR_to_MS()
|
D | enc_API.c | 400 TargetRate_bps = silk_LIMIT( TargetRate_bps, encControl->bitRate, 5000 ); in silk_Encode() 515 psEnc->nBitsExceeded = silk_LIMIT( psEnc->nBitsExceeded, 0, 10000 ); in silk_Encode()
|
/external/libopus/silk/float/ |
D | LTP_scale_ctrl_FLP.c | 45 …psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( round_loss * psEncCtrl->LTPredCodGain … in silk_LTP_scale_ctrl_FLP()
|
D | pitch_analysis_core_FLP.c | 461 pitch_out[ k ] = silk_LIMIT( pitch_out[ k ], min_lag, PE_MAX_LAG_MS * Fs_kHz ); in silk_pitch_analysis_core_FLP() 469 pitch_out[ k ] = silk_LIMIT( pitch_out[ k ], min_lag_8kHz, PE_MAX_LAG_MS * 8 ); in silk_pitch_analysis_core_FLP()
|
/external/libopus/silk/fixed/ |
D | LTP_scale_ctrl_FIX.c | 46 psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( in silk_LTP_scale_ctrl_FIX()
|
D | warped_autocorrelation_FIX.c | 75 lsh = silk_LIMIT( lsh, -12 - QC, 30 - QC ); in silk_warped_autocorrelation_FIX()
|
D | pitch_analysis_core_FIX.c | 564 pitch_out[ k ] = silk_LIMIT( pitch_out[ k ], min_lag, PE_MAX_LAG_MS * Fs_kHz ); in silk_pitch_analysis_core() 572 pitch_out[ k ] = silk_LIMIT( pitch_out[ k ], MIN_LAG_8KHZ, PE_MAX_LAG_MS * 8 ); in silk_pitch_analysis_core()
|