/external/libopus/silk/float/ |
D | main_FLP.h | 95 …const silk_float *pitch_res, /* I LPC residual from pitc… 96 …const silk_float *x /* I Input signal [frame_le… 101 …silk_float *corr, /* O Result [order + 1] … 102 …const silk_float *input, /* I Input data to correlat… 103 …const silk_float warping, /* I Warping coefficient … 122 …silk_float res[], /* O Residual … 123 …const silk_float x[], /* I Speech signal … 131 …const silk_float res_pitch[], /* I Residual from pitch an… 132 …const silk_float x[], /* I Speech signal … 140 …const silk_float x[], /* I Input signal … [all …]
|
D | SigProc_FLP.h | 46 …silk_float *ar, /* I/O AR filter to be expanded (without leading 1) … 48 …const silk_float chirp /* I chirp factor (typically in range (0..1) ) … 54 silk_float silk_LPC_inverse_pred_gain_FLP( /* O return inverse prediction gain, energy domain … 55 …const silk_float *A, /* I prediction coefficients [order] … 59 silk_float silk_schur_FLP( /* O returns residual energy … 60 …silk_float refl_coef[], /* O reflection coefficients (length order) … 61 …const silk_float auto_corr[], /* I autocorrelation sequence (length order+1) … 66 …silk_float *A, /* O prediction coefficients [order] … 67 …const silk_float *rc, /* I reflection coefficients [order] … 73 …silk_float *results, /* O result (length correlationCount) … [all …]
|
D | LPC_analysis_filter_FLP.c | 44 … silk_float r_LPC[], /* O LPC residual signal */ in silk_LPC_analysis_filter16_FLP() 45 …const silk_float PredCoef[], /* I LPC coefficients … in silk_LPC_analysis_filter16_FLP() 46 …const silk_float s[], /* I Input signal … in silk_LPC_analysis_filter16_FLP() 51 silk_float LPC_pred; in silk_LPC_analysis_filter16_FLP() 52 const silk_float *s_ptr; in silk_LPC_analysis_filter16_FLP() 82 … silk_float r_LPC[], /* O LPC residual signal */ in silk_LPC_analysis_filter12_FLP() 83 …const silk_float PredCoef[], /* I LPC coefficients … in silk_LPC_analysis_filter12_FLP() 84 …const silk_float s[], /* I Input signal … in silk_LPC_analysis_filter12_FLP() 89 silk_float LPC_pred; in silk_LPC_analysis_filter12_FLP() 90 const silk_float *s_ptr; in silk_LPC_analysis_filter12_FLP() [all …]
|
D | structs_FLP.h | 45 silk_float HarmShapeGain_smth; 46 silk_float Tilt_smth; 57 …silk_float x_buf[ 2 * MAX_FRAME_LENGTH + LA_SHAPE_MAX ];/* Buffer for find pitch … 58 …silk_float LTPCorr; /* Normalized correlation from pit… 66 silk_float Gains[ MAX_NB_SUBFR ]; 67 …silk_float PredCoef[ 2 ][ MAX_LPC_ORDER ]; /* holds interpolated and final co… 68 silk_float LTPCoef[LTP_ORDER * MAX_NB_SUBFR]; 69 silk_float LTP_scale; 73 silk_float AR[ MAX_NB_SUBFR * MAX_SHAPE_LPC_ORDER ]; 74 silk_float LF_MA_shp[ MAX_NB_SUBFR ]; [all …]
|
D | corrMatrix_FLP.c | 40 …const silk_float *x, /* I x vector [L+order-1] u… in silk_corrVector_FLP() 41 …const silk_float *t, /* I Target vector [L] … in silk_corrVector_FLP() 44 …silk_float *Xt /* O X'*t correlation vecto… in silk_corrVector_FLP() 48 const silk_float *ptr1; in silk_corrVector_FLP() 53 Xt[ lag ] = (silk_float)silk_inner_product_FLP( ptr1, t, L ); in silk_corrVector_FLP() 60 …const silk_float *x, /* I x vector [ L+order-1 ]… in silk_corrMatrix_FLP() 63 …silk_float *XX /* O X'*X correlation matri… in silk_corrMatrix_FLP() 68 const silk_float *ptr1, *ptr2; in silk_corrMatrix_FLP() 72 matrix_ptr( XX, 0, 0, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP() 76 matrix_ptr( XX, j, j, Order ) = ( silk_float )energy; in silk_corrMatrix_FLP() [all …]
|
D | residual_energy_FLP.c | 38 silk_float silk_residual_energy_covar_FLP( /* O Weighted residual e… in silk_residual_energy_covar_FLP() 39 …const silk_float *c, /* I Filter coefficients … in silk_residual_energy_covar_FLP() 40 …silk_float *wXX, /* I/O Weighted correlation m… in silk_residual_energy_covar_FLP() 41 …const silk_float *wXx, /* I Weighted correlation v… in silk_residual_energy_covar_FLP() 42 …const silk_float wxx, /* I Weighted correlation v… in silk_residual_energy_covar_FLP() 47 silk_float tmp, nrg = 0.0f, regularization; in silk_residual_energy_covar_FLP() 92 …silk_float nrgs[ MAX_NB_SUBFR ], /* O Residual energy per su… in silk_residual_energy_FLP() 93 …const silk_float x[], /* I Input signal … in silk_residual_energy_FLP() 94 …silk_float a[ 2 ][ MAX_LPC_ORDER ], /* I AR coefs for each fram… in silk_residual_energy_FLP() 95 …const silk_float gains[], /* I Quantization gains … in silk_residual_energy_FLP() [all …]
|
D | noise_shape_analysis_FLP.c | 39 static OPUS_INLINE silk_float warped_gain( in warped_gain() 40 const silk_float *coefs, in warped_gain() 41 silk_float lambda, in warped_gain() 45 silk_float gain; in warped_gain() 52 return (silk_float)( 1.0f / ( 1.0f - lambda * gain ) ); in warped_gain() 58 silk_float *coefs, in warped_true2monic_coefs() 59 silk_float lambda, in warped_true2monic_coefs() 60 silk_float limit, in warped_true2monic_coefs() 64 silk_float tmp, maxabs, chirp, gain; in warped_true2monic_coefs() 117 silk_float *coefs, in limit_coefs() [all …]
|
D | pitch_analysis_core_FLP.c | 46 …silk_float cross_corr_st3[ PE_MAX_NB_SUBFR ][ PE_NB_CBKS_STAGE3_MAX ][ PE_NB_STAGE3_LAGS ], /* O 3… 47 …const silk_float frame[], /* I vector to correlate … 56 …silk_float energies_st3[ PE_MAX_NB_SUBFR ][ PE_NB_CBKS_STAGE3_MAX ][ PE_NB_STAGE3_LAGS ], /* O 3 D… 57 …const silk_float frame[], /* I vector to correlate … 68 …const silk_float *frame, /* I Signal of length PE_FRAME_LENGTH_MS*Fs_kHz … in silk_pitch_analysis_core_FLP() 72 …silk_float *LTPCorr, /* I/O Normalized correlation; input: value from previous… in silk_pitch_analysis_core_FLP() 74 …const silk_float search_thres1, /* I First stage threshold for lag candidates 0 - 1 … in silk_pitch_analysis_core_FLP() 75 …const silk_float search_thres2, /* I Final threshold for lag candidates 0 - 1 … in silk_pitch_analysis_core_FLP() 83 silk_float frame_8kHz[ PE_MAX_FRAME_LENGTH_MS * 8 ]; in silk_pitch_analysis_core_FLP() 84 silk_float frame_4kHz[ PE_MAX_FRAME_LENGTH_MS * 4 ]; in silk_pitch_analysis_core_FLP() [all …]
|
D | LTP_analysis_filter_FLP.c | 35 …silk_float *LTP_res, /* O LTP res MAX_NB_SUBFR*(… in silk_LTP_analysis_filter_FLP() 36 …const silk_float *x, /* I Input signal, with pre… in silk_LTP_analysis_filter_FLP() 37 …const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I LTP coefficients for e… in silk_LTP_analysis_filter_FLP() 39 …const silk_float invGains[ MAX_NB_SUBFR ], /* I Inverse quantization g… in silk_LTP_analysis_filter_FLP() 45 const silk_float *x_ptr, *x_lag_ptr; in silk_LTP_analysis_filter_FLP() 46 silk_float Btmp[ LTP_ORDER ]; in silk_LTP_analysis_filter_FLP() 47 silk_float *LTP_res_ptr; in silk_LTP_analysis_filter_FLP() 48 silk_float inv_gain; in silk_LTP_analysis_filter_FLP()
|
D | find_pitch_lags_FLP.c | 39 …silk_float res[], /* O Residual … in silk_find_pitch_lags_FLP() 40 …const silk_float x[], /* I Speech signal … in silk_find_pitch_lags_FLP() 45 silk_float thrhld, res_nrg; in silk_find_pitch_lags_FLP() 46 const silk_float *x_buf_ptr, *x_buf; in silk_find_pitch_lags_FLP() 47 silk_float auto_corr[ MAX_FIND_PITCH_LPC_ORDER + 1 ]; in silk_find_pitch_lags_FLP() 48 silk_float A[ MAX_FIND_PITCH_LPC_ORDER ]; in silk_find_pitch_lags_FLP() 49 silk_float refl_coef[ MAX_FIND_PITCH_LPC_ORDER ]; in silk_find_pitch_lags_FLP() 50 silk_float Wsig[ FIND_PITCH_LPC_WIN_MAX ]; in silk_find_pitch_lags_FLP() 51 silk_float *Wsig_ptr; in silk_find_pitch_lags_FLP() 77 …ptr, ( psEnc->sCmn.pitch_LPC_win_length - ( psEnc->sCmn.la_pitch << 1 ) ) * sizeof( silk_float ) ); in silk_find_pitch_lags_FLP()
|
D | LPC_inv_pred_gain_FLP.c | 39 silk_float silk_LPC_inverse_pred_gain_FLP( /* O return inverse prediction gain, energy domain … in silk_LPC_inverse_pred_gain_FLP() 40 …const silk_float *A, /* I prediction coefficients [order] … in silk_LPC_inverse_pred_gain_FLP() 46 silk_float Atmp[ SILK_MAX_ORDER_LPC ]; in silk_LPC_inverse_pred_gain_FLP() 48 silk_memcpy( Atmp, A, order * sizeof(silk_float) ); in silk_LPC_inverse_pred_gain_FLP() 62 Atmp[ n ] = (silk_float)( ( tmp1 - tmp2 * rc ) * rc_mult2 ); in silk_LPC_inverse_pred_gain_FLP() 63 Atmp[ k - n - 1 ] = (silk_float)( ( tmp2 - tmp1 * rc ) * rc_mult2 ); in silk_LPC_inverse_pred_gain_FLP() 72 return (silk_float)invGain; in silk_LPC_inverse_pred_gain_FLP()
|
D | find_pred_coefs_FLP.c | 38 …const silk_float res_pitch[], /* I Residual from pitch an… in silk_find_pred_coefs_FLP() 39 …const silk_float x[], /* I Speech signal … in silk_find_pred_coefs_FLP() 44 silk_float XXLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ]; in silk_find_pred_coefs_FLP() 45 silk_float xXLTP[ MAX_NB_SUBFR * LTP_ORDER ]; in silk_find_pred_coefs_FLP() 46 silk_float invGains[ MAX_NB_SUBFR ]; in silk_find_pred_coefs_FLP() 48 const silk_float *x_ptr; in silk_find_pred_coefs_FLP() 49 silk_float *x_pre_ptr, LPC_in_pre[ MAX_NB_SUBFR * MAX_LPC_ORDER + MAX_FRAME_LENGTH ]; in silk_find_pred_coefs_FLP() 50 silk_float minInvGain; in silk_find_pred_coefs_FLP() 90 … silk_memset( psEncCtrl->LTPCoef, 0, psEnc->sCmn.nb_subfr * LTP_ORDER * sizeof( silk_float ) ); in silk_find_pred_coefs_FLP() 99 … minInvGain = (silk_float)pow( 2, psEncCtrl->LTPredCodGain / 3 ) / MAX_PREDICTION_POWER_GAIN; in silk_find_pred_coefs_FLP()
|
D | find_LTP_FLP.c | 36 …silk_float XX[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for LTP… in silk_find_LTP_FLP() 37 …silk_float xX[ MAX_NB_SUBFR * LTP_ORDER ], /* O Weight for LTP quantiz… in silk_find_LTP_FLP() 38 …const silk_float r_ptr[], /* I LPC residual … in silk_find_LTP_FLP() 45 silk_float *xX_ptr, *XX_ptr; in silk_find_LTP_FLP() 46 const silk_float *lag_ptr; in silk_find_LTP_FLP() 47 silk_float xx, temp; in silk_find_LTP_FLP() 55 xx = ( silk_float )silk_energy_FLP( r_ptr, subfr_length + LTP_ORDER ); in silk_find_LTP_FLP()
|
D | wrappers_FLP.c | 39 …const silk_float *pAR, /* I LPC coefficients [ LPC… in silk_A2NLSF_FLP() 55 …silk_float *pAR, /* O LPC coefficients [ LPC… in silk_NLSF2A_FLP() 67 pAR[ i ] = ( silk_float )a_fix_Q12[ i ] * ( 1.0f / 4096.0f ); in silk_NLSF2A_FLP() 76 …silk_float PredCoef[ 2 ][ MAX_LPC_ORDER ], /* O Prediction coefficient… in silk_process_NLSFs_FLP() 88 PredCoef[ j ][ i ] = ( silk_float )PredCoef_Q12[ j ][ i ] * ( 1.0f / 4096.0f ); in silk_process_NLSFs_FLP() 102 …const silk_float x[] /* I Prefiltered input sign… in silk_NSQ_wrapper_FLP() 176 …silk_float B[ MAX_NB_SUBFR * LTP_ORDER ], /* O Quantized LTP gains … in silk_quant_LTP_gains_FLP() 180 …silk_float *pred_gain_dB, /* O LTP prediction gain … in silk_quant_LTP_gains_FLP() 181 …const silk_float XX[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* I Correlation ma… in silk_quant_LTP_gains_FLP() 182 …const silk_float xX[ MAX_NB_SUBFR * LTP_ORDER ], /* I Correlation vector … in silk_quant_LTP_gains_FLP() [all …]
|
D | find_LPC_FLP.c | 40 …const silk_float x[], /* I Input signal … in silk_find_LPC_FLP() 41 …const silk_float minInvGain /* I Inverse of max predict… in silk_find_LPC_FLP() 45 silk_float a[ MAX_LPC_ORDER ]; in silk_find_LPC_FLP() 48 silk_float res_nrg, res_nrg_2nd, res_nrg_interp; in silk_find_LPC_FLP() 50 silk_float a_tmp[ MAX_LPC_ORDER ]; in silk_find_LPC_FLP() 51 silk_float LPC_res[ MAX_FRAME_LENGTH + MAX_NB_SUBFR * MAX_LPC_ORDER ]; in silk_find_LPC_FLP() 80 res_nrg_interp = (silk_float)( in silk_find_LPC_FLP()
|
D | schur_FLP.c | 34 silk_float silk_schur_FLP( /* O returns residual energy … in silk_schur_FLP() 35 …silk_float refl_coef[], /* O reflection coefficients (length order) … in silk_schur_FLP() 36 …const silk_float auto_corr[], /* I autocorrelation sequence (length order+1) … in silk_schur_FLP() 57 refl_coef[ k ] = (silk_float)rc_tmp; in silk_schur_FLP() 69 return (silk_float)C[ 0 ][ 1 ]; in silk_schur_FLP()
|
D | burg_modified_FLP.c | 39 silk_float silk_burg_modified_FLP( /* O returns residual energy … in silk_burg_modified_FLP() 40 …silk_float A[], /* O prediction coefficients (length order) … in silk_burg_modified_FLP() 41 …const silk_float x[], /* I input signal, length: nb_subfr*(D+L_sub) … in silk_burg_modified_FLP() 42 …const silk_float minInvGain, /* I minimum inverse prediction gain … in silk_burg_modified_FLP() 50 const silk_float *x_ptr; in silk_burg_modified_FLP() 163 A[ k ] = (silk_float)( -Af[ k ] ); in silk_burg_modified_FLP() 179 A[ k ] = (silk_float)(-Atmp); in silk_burg_modified_FLP() 185 return (silk_float)nrg_f; in silk_burg_modified_FLP()
|
D | warped_autocorrelation_FLP.c | 36 …silk_float *corr, /* O Result [order + 1] … in silk_warped_autocorrelation_FLP() 37 …const silk_float *input, /* I Input data to correlat… in silk_warped_autocorrelation_FLP() 38 …const silk_float warping, /* I Warping coefficient … in silk_warped_autocorrelation_FLP() 71 corr[ i ] = ( silk_float )C[ i ]; in silk_warped_autocorrelation_FLP()
|
D | regularize_correlations_FLP.c | 36 …silk_float *XX, /* I/O Correlation matrices … in silk_regularize_correlations_FLP() 37 …silk_float *xx, /* I/O Correlation values … in silk_regularize_correlations_FLP() 38 …const silk_float noise, /* I Noise energy to add … in silk_regularize_correlations_FLP()
|
D | bwexpander_FLP.c | 36 …silk_float *ar, /* I/O AR filter to be expanded (without leading 1) … in silk_bwexpander_FLP() 38 …const silk_float chirp /* I chirp factor (typically in range (0..1) ) … in silk_bwexpander_FLP() 42 silk_float cfac = chirp; in silk_bwexpander_FLP()
|
D | autocorrelation_FLP.c | 37 …silk_float *results, /* O result (length correlationCount) … in silk_autocorrelation_FLP() 38 …const silk_float *inputData, /* I input data to correlate … in silk_autocorrelation_FLP() 50 … results[ i ] = (silk_float)silk_inner_product_FLP( inputData, inputData + i, inputDataSize - i ); in silk_autocorrelation_FLP()
|
D | k2a_FLP.c | 36 …silk_float *A, /* O prediction coefficients [order] … in silk_k2a_FLP() 37 …const silk_float *rc, /* I reflection coefficients [order] … in silk_k2a_FLP() 42 silk_float rck, tmp1, tmp2; in silk_k2a_FLP()
|
D | scale_copy_vector_FLP.c | 36 silk_float *data_out, in silk_scale_copy_vector_FLP() 37 const silk_float *data_in, in silk_scale_copy_vector_FLP() 38 silk_float gain, in silk_scale_copy_vector_FLP()
|
D | apply_sine_window_FLP.c | 39 …silk_float px_win[], /* O Pointer to windowed si… in silk_apply_sine_window_FLP() 40 …const silk_float px[], /* I Pointer to input signa… in silk_apply_sine_window_FLP() 46 silk_float freq, c, S0, S1; in silk_apply_sine_window_FLP()
|
D | encode_frame_FLP.c | 40 …const silk_float xfw[], /* I Input signal … 95 silk_float *x_frame, *res_pitch_frame; in silk_encode_frame_FLP() 96 silk_float res_pitch[ 2 * MAX_FRAME_LENGTH + LA_PITCH_MAX ]; in silk_encode_frame_FLP() 358 ( psEnc->sCmn.ltp_mem_length + LA_SHAPE_MS * psEnc->sCmn.fs_kHz ) * sizeof( silk_float ) ); in silk_encode_frame_FLP() 385 …const silk_float xfw[], /* I Input signal … in silk_LBRR_encode_FLP() 391 silk_float TempGains[ MAX_NB_SUBFR ]; in silk_LBRR_encode_FLP() 406 silk_memcpy( TempGains, psEncCtrl->Gains, psEnc->sCmn.nb_subfr * sizeof( silk_float ) ); in silk_LBRR_encode_FLP() 433 silk_memcpy( psEncCtrl->Gains, TempGains, psEnc->sCmn.nb_subfr * sizeof( silk_float ) ); in silk_LBRR_encode_FLP()
|