Home
last modified time | relevance | path

Searched refs:silk_LIMIT (Results 1 – 14 of 14) sorted by relevance

/external/libopus/silk/
Dstereo_find_predictor.c57 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()
DSigProc_FIX.h482 #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
Dcontrol_SNR.c46 TargetRate_bps = silk_LIMIT( TargetRate_bps, MIN_TARGET_RATE_BPS, MAX_TARGET_RATE_BPS ); in silk_control_SNR()
Ddecode_pitch.c75 pitch_lags[ k ] = silk_LIMIT( pitch_lags[ k ], min_lag, max_lag ); in silk_decode_pitch()
DNLSF_decode.c96 pNLSF_Q15[ i ] = (opus_int16)silk_LIMIT( NLSF_Q15_tmp, 0, 32767 ); in silk_NLSF_decode()
DLP_variable_cutoff.c129 …psLP->transition_frame_no = silk_LIMIT( psLP->transition_frame_no + psLP->mode, 0, TRANSITION_FRAM… in silk_LP_variable_cutoff()
DNLSF_del_dec_quant.c72 … ind_tmp = silk_LIMIT( ind_tmp, -NLSF_QUANT_MAX_AMPLITUDE_EXT, NLSF_QUANT_MAX_AMPLITUDE_EXT-1 ); in silk_NLSF_del_dec_quant()
Dstereo_LR_to_MS.c124 width_Q14 = silk_LIMIT( width_Q14, 0, SILK_FIX_CONST( 1, 14 ) ); in silk_stereo_LR_to_MS()
Denc_API.c400 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/
DLTP_scale_ctrl_FLP.c45 …psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( round_loss * psEncCtrl->LTPredCodGain … in silk_LTP_scale_ctrl_FLP()
Dpitch_analysis_core_FLP.c461 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/
DLTP_scale_ctrl_FIX.c46 psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( in silk_LTP_scale_ctrl_FIX()
Dwarped_autocorrelation_FIX.c75 lsh = silk_LIMIT( lsh, -12 - QC, 30 - QC ); in silk_warped_autocorrelation_FIX()
Dpitch_analysis_core_FIX.c564 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()