Home
last modified time | relevance | path

Searched refs:silk_LIMIT (Results 1 – 16 of 16) 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.h535 #define silk_LSHIFT_SAT32(a, shift) (silk_LSHIFT32( silk_LIMIT( (a), silk_RSHIFT32( silk_in…
602 #define silk_LIMIT( a, limit1, limit2) ((limit1) > (limit2) ? ((a) > (limit1) ? (limit1) : ((a… macro
605 #define silk_LIMIT_int silk_LIMIT
606 #define silk_LIMIT_16 silk_LIMIT
607 #define silk_LIMIT_32 silk_LIMIT
Ddecode_pitch.c75 pitch_lags[ k ] = silk_LIMIT( pitch_lags[ k ], min_lag, max_lag ); in silk_decode_pitch()
DNLSF_decode.c88 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.c94 … 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.c417 TargetRate_bps = silk_LIMIT( TargetRate_bps, encControl->bitRate, 5000 ); in silk_Encode()
531 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.c77 lsh = silk_LIMIT( lsh, -12 - QC, 30 - QC ); in silk_warped_autocorrelation_FIX_c()
Dpitch_analysis_core_FIX.c540 pitch_out[ k ] = silk_LIMIT( pitch_out[ k ], min_lag, PE_MAX_LAG_MS * Fs_kHz ); in silk_pitch_analysis_core()
548 pitch_out[ k ] = silk_LIMIT( pitch_out[ k ], MIN_LAG_8KHZ, PE_MAX_LAG_MS * 8 ); in silk_pitch_analysis_core()
/external/libopus/silk/fixed/mips/
Dwarped_autocorrelation_FIX_mipsr1.h143 lsh = silk_LIMIT( lsh, -12 - QC, 30 - QC ); in silk_warped_autocorrelation_FIX()
Dnoise_shape_analysis_FIX_mipsr1.h202 …psEncCtrl->Gains_Q16[ k ] = (silk_LSHIFT32( silk_LIMIT( (tmp32), silk_RSHIFT32( silk_int32_MIN, (1… in silk_noise_shape_analysis_FIX()
/external/libopus/silk/fixed/arm/
Dwarped_autocorrelation_FIX_neon_intr.c223 lsh = silk_LIMIT( lsh, -12 - QC, 30 - QC ); in silk_warped_autocorrelation_FIX_neon()