Home
last modified time | relevance | path

Searched refs:silk_float (Results 1 – 25 of 37) sorted by relevance

12

/external/libopus/silk/float/
Dmain_FLP.h94silk_float xw[], /* O Weighted signal …
95 …const silk_float x[] /* I Speech signal …
105 …const silk_float *pitch_res, /* I LPC residual from pitc…
106 …const silk_float *x /* I Input signal [frame_le…
111silk_float *corr, /* O Result [order + 1] …
112 …const silk_float *input, /* I Input data to correlat…
113 …const silk_float warping, /* I Warping coefficient …
132silk_float res[], /* O Residual …
133 …const silk_float x[], /* I Speech signal …
141 …const silk_float res_pitch[], /* I Residual from pitch an…
[all …]
DSigProc_FLP.h46silk_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 …
60silk_float refl_coef[], /* O reflection coefficients (length order) …
61 …const silk_float auto_corr[], /* I autocorrelation sequence (length order+1) …
66silk_float *A, /* O prediction coefficients [order] …
67 …const silk_float *rc, /* I reflection coefficients [order] …
72 silk_float silk_levinsondurbin_FLP( /* O prediction error energy …
[all …]
Dstructs_FLP.h45 silk_float HarmBoost_smth;
46 silk_float HarmShapeGain_smth;
47 silk_float Tilt_smth;
54 silk_float sLTP_shp[ LTP_BUF_LENGTH ];
55 silk_float sAR_shp[ MAX_SHAPE_LPC_ORDER + 1 ];
57 silk_float sLF_AR_shp;
58 silk_float sLF_MA_shp;
59 silk_float sHarmHP;
73silk_float x_buf[ 2 * MAX_FRAME_LENGTH + LA_SHAPE_MAX ];/* Buffer for find pitch …
74silk_float LTPCorr; /* Normalized correlation from pit…
[all …]
Dsolve_LS_FLP.c41silk_float *A, /* I/O Pointer to Symetric Square Matrix …
43silk_float *L, /* I/O Pointer to Square Upper triangular Matrix …
44silk_float *Dinv /* I/O Pointer to vector holding the inverse diagonal elements of…
52 …const silk_float *L, /* I Pointer to Lower Triangular Matrix …
54 …const silk_float *b, /* I b Vector …
55silk_float *x /* O x Vector …
63 …const silk_float *L, /* I Pointer to Lower Triangular Matrix …
65 …const silk_float *b, /* I b Vector …
66silk_float *x /* O x Vector …
74silk_float *A, /* I/O Symmetric square matri… in silk_solve_LDL_FLP()
[all …]
DLPC_analysis_filter_FLP.c44silk_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()
82silk_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 …]
Dprefilter_FLP.c40 silk_float st_res[], /* I */
41 silk_float xw[], /* O */
42 silk_float *HarmShapeFIR, /* I */
43 silk_float Tilt, /* I */
44 silk_float LF_MA_shp, /* I */
45 silk_float LF_AR_shp, /* I */
51silk_float state[], /* I/O State [order + 1] */ in silk_warped_LPC_analysis_filter_FLP()
52silk_float res[], /* O Residual signal [length] */ in silk_warped_LPC_analysis_filter_FLP()
53 …const silk_float coef[], /* I Coefficients [order] … in silk_warped_LPC_analysis_filter_FLP()
54 …const silk_float input[], /* I Input signal [length] … in silk_warped_LPC_analysis_filter_FLP()
[all …]
DcorrMatrix_FLP.c40 …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()
44silk_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()
63silk_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 …]
Dresidual_energy_FLP.c38 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()
40silk_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()
92silk_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()
94silk_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 …]
Dnoise_shape_analysis_FLP.c39 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_syn, in warped_true2monic_coefs()
59 silk_float *coefs_ana, in warped_true2monic_coefs()
60 silk_float lambda, in warped_true2monic_coefs()
61 silk_float limit, in warped_true2monic_coefs()
65 silk_float tmp, maxabs, chirp, gain_syn, gain_ana; in warped_true2monic_coefs()
[all …]
Dpitch_analysis_core_FLP.c46silk_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 …
56silk_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()
72silk_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 …]
Dfind_LTP_FLP.c36silk_float b[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs … in silk_find_LTP_FLP()
37silk_float WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for L… in silk_find_LTP_FLP()
38silk_float *LTPredCodGain, /* O LTP coding gain … in silk_find_LTP_FLP()
39 …const silk_float r_lpc[], /* I LPC residual … in silk_find_LTP_FLP()
41 …const silk_float Wght[ MAX_NB_SUBFR ], /* I Weights … in silk_find_LTP_FLP()
48 silk_float *b_ptr, temp, *WLTP_ptr; in silk_find_LTP_FLP()
49 silk_float LPC_res_nrg, LPC_LTP_res_nrg; in silk_find_LTP_FLP()
50 silk_float d[ MAX_NB_SUBFR ], m, g, delta_b[ LTP_ORDER ]; in silk_find_LTP_FLP()
51 silk_float w[ MAX_NB_SUBFR ], nrg[ MAX_NB_SUBFR ], regu; in silk_find_LTP_FLP()
52 silk_float Rr[ LTP_ORDER ], rr[ MAX_NB_SUBFR ]; in silk_find_LTP_FLP()
[all …]
DLTP_analysis_filter_FLP.c35silk_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()
Dfind_pitch_lags_FLP.c39silk_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()
DLPC_inv_pred_gain_FLP.c40 silk_float silk_LPC_inverse_pred_gain_FLP( /* O return inverse prediction gain, energy domain … in silk_LPC_inverse_pred_gain_FLP()
41 …const silk_float *A, /* I prediction coefficients [order] … in silk_LPC_inverse_pred_gain_FLP()
47 silk_float Atmp[ 2 ][ SILK_MAX_ORDER_LPC ]; in silk_LPC_inverse_pred_gain_FLP()
48 silk_float *Aold, *Anew; in silk_LPC_inverse_pred_gain_FLP()
51 silk_memcpy( Anew, A, order * sizeof(silk_float) ); in silk_LPC_inverse_pred_gain_FLP()
66 Anew[ n ] = (silk_float)( ( Aold[ n ] - Aold[ k - n - 1 ] * rc ) * rc_mult2 ); in silk_LPC_inverse_pred_gain_FLP()
75 return (silk_float)invGain; in silk_LPC_inverse_pred_gain_FLP()
Dfind_pred_coefs_FLP.c38 …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 WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ]; in silk_find_pred_coefs_FLP()
45 silk_float invGains[ MAX_NB_SUBFR ], Wght[ MAX_NB_SUBFR ]; in silk_find_pred_coefs_FLP()
47 const silk_float *x_ptr; in silk_find_pred_coefs_FLP()
48 silk_float *x_pre_ptr, LPC_in_pre[ MAX_NB_SUBFR * MAX_LPC_ORDER + MAX_FRAME_LENGTH ]; in silk_find_pred_coefs_FLP()
49 silk_float minInvGain; in silk_find_pred_coefs_FLP()
92 … silk_memset( psEncCtrl->LTPCoef, 0, psEnc->sCmn.nb_subfr * LTP_ORDER * sizeof( silk_float ) ); in silk_find_pred_coefs_FLP()
101 … minInvGain = (silk_float)pow( 2, psEncCtrl->LTPredCodGain / 3 ) / MAX_PREDICTION_POWER_GAIN; in silk_find_pred_coefs_FLP()
Dfind_LPC_FLP.c40 …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()
Dschur_FLP.c34 silk_float silk_schur_FLP( /* O returns residual energy … in silk_schur_FLP()
35silk_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()
41 silk_float C[ SILK_MAX_ORDER_LPC + 1 ][ 2 ]; in silk_schur_FLP()
42 silk_float Ctmp1, Ctmp2, rc_tmp; in silk_schur_FLP()
Dwrappers_FLP.c39 …const silk_float *pAR, /* I LPC coefficients [ LPC… in silk_A2NLSF_FLP()
55silk_float *pAR, /* O LPC coefficients [ LPC… in silk_NLSF2A_FLP()
66 pAR[ i ] = ( silk_float )a_fix_Q12[ i ] * ( 1.0f / 4096.0f ); in silk_NLSF2A_FLP()
75silk_float PredCoef[ 2 ][ MAX_LPC_ORDER ], /* O Prediction coefficient… in silk_process_NLSFs_FLP()
87 PredCoef[ j ][ i ] = ( silk_float )PredCoef_Q12[ j ][ i ] * ( 1.0f / 4096.0f ); in silk_process_NLSFs_FLP()
101 …const silk_float x[] /* I Prefiltered input sign… in silk_NSQ_wrapper_FLP()
175silk_float B[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O (Un-)quantized LTP gai… in silk_quant_LTP_gains_FLP()
179 …const silk_float W[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* I Error weights … in silk_quant_LTP_gains_FLP()
200 B[ i ] = (silk_float)B_Q14[ i ] * ( 1.0f / 16384.0f ); in silk_quant_LTP_gains_FLP()
Dburg_modified_FLP.c39 silk_float silk_burg_modified_FLP( /* O returns residual energy … in silk_burg_modified_FLP()
40silk_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()
Dwarped_autocorrelation_FLP.c36silk_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()
Dlevinsondurbin_FLP.c35 silk_float silk_levinsondurbin_FLP( /* O prediction error energy … in silk_levinsondurbin_FLP()
36silk_float A[], /* O prediction coefficients [order] … in silk_levinsondurbin_FLP()
37 …const silk_float corr[], /* I input auto-correlations [order + 1] … in silk_levinsondurbin_FLP()
42 silk_float min_nrg, nrg, t, km, Atmp1, Atmp2; in silk_levinsondurbin_FLP()
Dregularize_correlations_FLP.c36silk_float *XX, /* I/O Correlation matrices … in silk_regularize_correlations_FLP()
37silk_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()
Dbwexpander_FLP.c36silk_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()
Dautocorrelation_FLP.c37silk_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()
Dk2a_FLP.c36silk_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 Atmp[ SILK_MAX_ORDER_LPC ]; in silk_k2a_FLP()

12