Home
last modified time | relevance | path

Searched refs:LTP_ORDER (Results 1 – 21 of 21) sorted by relevance

/external/libopus/silk/float/
Dfind_LTP_FLP.c36 …silk_float b[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs … in silk_find_LTP_FLP()
37 …silk_float WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for L… in silk_find_LTP_FLP()
50 silk_float d[ MAX_NB_SUBFR ], m, g, delta_b[ LTP_ORDER ]; in silk_find_LTP_FLP()
52 silk_float Rr[ LTP_ORDER ], rr[ MAX_NB_SUBFR ]; in silk_find_LTP_FLP()
59 lag_ptr = r_ptr - ( lag[ k ] + LTP_ORDER / 2 ); in silk_find_LTP_FLP()
61 silk_corrMatrix_FLP( lag_ptr, subfr_length, LTP_ORDER, WLTP_ptr ); in silk_find_LTP_FLP()
62 silk_corrVector_FLP( lag_ptr, r_ptr, subfr_length, LTP_ORDER, Rr ); in silk_find_LTP_FLP()
66 matrix_ptr( WLTP_ptr, 0, 0, LTP_ORDER ) + in silk_find_LTP_FLP()
67 matrix_ptr( WLTP_ptr, LTP_ORDER-1, LTP_ORDER-1, LTP_ORDER ); in silk_find_LTP_FLP()
69 silk_regularize_correlations_FLP( WLTP_ptr, &rr[ k ], regu, LTP_ORDER ); in silk_find_LTP_FLP()
[all …]
Dwrappers_FLP.c108 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ]; in silk_NSQ_wrapper_FLP()
135 for( i = 0; i < psEnc->sCmn.nb_subfr * LTP_ORDER; i++ ) { in silk_NSQ_wrapper_FLP()
175 …silk_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()
186 opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ]; in silk_quant_LTP_gains_FLP()
187 opus_int32 W_Q18[ MAX_NB_SUBFR*LTP_ORDER*LTP_ORDER ]; in silk_quant_LTP_gains_FLP()
189 for( i = 0; i < nb_subfr * LTP_ORDER; i++ ) { in silk_quant_LTP_gains_FLP()
192 for( i = 0; i < nb_subfr * LTP_ORDER * LTP_ORDER; i++ ) { in silk_quant_LTP_gains_FLP()
198 for( i = 0; i < nb_subfr * LTP_ORDER; i++ ) { in silk_quant_LTP_gains_FLP()
DLTP_analysis_filter_FLP.c37 …const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I LTP coefficients for e… in silk_LTP_analysis_filter_FLP()
46 silk_float Btmp[ LTP_ORDER ]; in silk_LTP_analysis_filter_FLP()
56 for( i = 0; i < LTP_ORDER; i++ ) { in silk_LTP_analysis_filter_FLP()
57 Btmp[ i ] = B[ k * LTP_ORDER + i ]; in silk_LTP_analysis_filter_FLP()
64 for( j = 0; j < LTP_ORDER; j++ ) { in silk_LTP_analysis_filter_FLP()
65 LTP_res_ptr[ i ] -= Btmp[ j ] * x_lag_ptr[ LTP_ORDER / 2 - j ]; in silk_LTP_analysis_filter_FLP()
Dmain_FLP.h156 …silk_float b[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs …
157 …silk_float WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for L…
170 …const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I LTP coefficients for e…
201 …silk_float B[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O (Un-)quantized LTP gai…
205 …const silk_float W[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* I Error weights …
Dfind_pred_coefs_FLP.c44 silk_float WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ]; in silk_find_pred_coefs_FLP()
62 …Enc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + LTP_ORDER / 2 ); in silk_find_pred_coefs_FLP()
91 … silk_memset( psEncCtrl->LTPCoef, 0, psEnc->sCmn.nb_subfr * LTP_ORDER * sizeof( silk_float ) ); in silk_find_pred_coefs_FLP()
Dstructs_FLP.h84 silk_float LTPCoef[LTP_ORDER * MAX_NB_SUBFR];
/external/libopus/silk/fixed/
Dfind_LTP_FIX.c39 opus_int32 LTP_coefs_Q16[ LTP_ORDER ],
40 opus_int16 LTP_coefs_Q14[ LTP_ORDER ]
44 …opus_int16 b_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs … in silk_find_LTP_FIX()
45 …opus_int32 WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for L… in silk_find_LTP_FIX()
62 …opus_int32 b_Q16[ LTP_ORDER ], delta_b_Q14[ LTP_ORDER ], d_Q14[ MAX_NB_SUBFR ], nrg[ MAX_NB_SUBFR … in silk_find_LTP_FIX()
69 opus_int32 Rr[ LTP_ORDER ], rr[ MAX_NB_SUBFR ]; in silk_find_LTP_FIX()
76 lag_ptr = r_ptr - ( lag[ k ] + LTP_ORDER / 2 ); in silk_find_LTP_FIX()
87 …silk_corrMatrix_FIX( lag_ptr, subfr_length, LTP_ORDER, LTP_CORRS_HEAD_ROOM, WLTP_ptr, &corr_rshift… in silk_find_LTP_FIX()
90 …silk_corrVector_FIX( lag_ptr, r_ptr, subfr_length, LTP_ORDER, Rr, corr_rshifts[ k ] ); /* Rr_fix_… in silk_find_LTP_FIX()
98 …regu = silk_SMLAWB( regu, matrix_ptr( WLTP_ptr, 0, 0, LTP_ORDER ), SILK_FIX_CONST( LTP_DAMPING/3, … in silk_find_LTP_FIX()
[all …]
DLTP_analysis_filter_FIX.c37 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I LTP_ORDER LTP coef… in silk_LTP_analysis_filter_FIX()
46 opus_int16 Btmp_Q14[ LTP_ORDER ]; in silk_LTP_analysis_filter_FIX()
56 for( i = 0; i < LTP_ORDER; i++ ) { in silk_LTP_analysis_filter_FIX()
57 Btmp_Q14[ i ] = LTPCoef_Q14[ k * LTP_ORDER + i ]; in silk_LTP_analysis_filter_FIX()
65 LTP_est = silk_SMULBB( x_lag_ptr[ LTP_ORDER / 2 ], Btmp_Q14[ 0 ] ); in silk_LTP_analysis_filter_FIX()
66 for( j = 1; j < LTP_ORDER; j++ ) { in silk_LTP_analysis_filter_FIX()
67 … LTP_est = silk_SMLABB_ovflw( LTP_est, x_lag_ptr[ LTP_ORDER / 2 - j ], Btmp_Q14[ j ] ); in silk_LTP_analysis_filter_FIX()
Dmain_FIX.h160 …opus_int16 b_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs …
161 …opus_int32 WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for L…
175 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I LTP_ORDER LTP coef…
Dfind_pred_coefs_FIX.c85 …Enc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + LTP_ORDER / 2 ); in silk_find_pred_coefs_FIX()
87 ALLOC( WLTP, psEnc->sCmn.nb_subfr * LTP_ORDER * LTP_ORDER, opus_int32 ); in silk_find_pred_coefs_FIX()
119 … silk_memset( psEncCtrl->LTPCoef_Q14, 0, psEnc->sCmn.nb_subfr * LTP_ORDER * sizeof( opus_int16 ) ); in silk_find_pred_coefs_FIX()
Dstructs_FIX.h84 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ];
/external/libopus/silk/
Dquant_LTP_gains.c36 …opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O (un)quantized LTP … in silk_quant_LTP_gains()
40 …const opus_int32 W_Q18[ MAX_NB_SUBFR*LTP_ORDER*LTP_ORDER ], /* I Error Weights in Q… in silk_quant_LTP_gains()
100 b_Q14_ptr += LTP_ORDER; in silk_quant_LTP_gains()
101 W_Q18_ptr += LTP_ORDER * LTP_ORDER; in silk_quant_LTP_gains()
122 for( k = 0; k < LTP_ORDER; k++ ) { in silk_quant_LTP_gains()
123 … B_Q14[ j * LTP_ORDER + k ] = silk_LSHIFT( cbk_ptr_Q7[ cbk_index[ j ] * LTP_ORDER + k ], 7 ); in silk_quant_LTP_gains()
DPLC.c116 for( i = 0; i < LTP_ORDER; i++ ) { in silk_PLC_update()
117 … temp_LTP_Gain_Q14 += psDecCtrl->LTPCoef_Q14[ ( psDec->nb_subfr - 1 - j ) * LTP_ORDER + i ]; in silk_PLC_update()
122 &psDecCtrl->LTPCoef_Q14[ silk_SMULBB( psDec->nb_subfr - 1 - j, LTP_ORDER ) ], in silk_PLC_update()
123 LTP_ORDER * sizeof( opus_int16 ) ); in silk_PLC_update()
129 silk_memset( psPLC->LTPCoef_Q14, 0, LTP_ORDER * sizeof( opus_int16 ) ); in silk_PLC_update()
130 psPLC->LTPCoef_Q14[ LTP_ORDER / 2 ] = LTP_Gain_Q14; in silk_PLC_update()
139 for( i = 0; i < LTP_ORDER; i++ ) { in silk_PLC_update()
148 for( i = 0; i < LTP_ORDER; i++ ) { in silk_PLC_update()
154 silk_memset( psPLC->LTPCoef_Q14, 0, LTP_ORDER * sizeof( opus_int16 )); in silk_PLC_update()
247 for( i = 0; i < LTP_ORDER; i++ ) { in silk_PLC_conceal()
[all …]
Ddecode_parameters.c99 for( i = 0; i < LTP_ORDER; i++ ) { in silk_decode_parameters()
100 … psDecCtrl->LTPCoef_Q14[ k * LTP_ORDER + i ] = silk_LSHIFT( cbk_ptr_Q7[ Ix * LTP_ORDER + i ], 7 ); in silk_decode_parameters()
111 … silk_memset( psDecCtrl->LTPCoef_Q14, 0, LTP_ORDER * psDec->nb_subfr * sizeof( opus_int16 ) ); in silk_decode_parameters()
Ddecode_core.c102 B_Q14 = &psDecCtrl->LTPCoef_Q14[ k * LTP_ORDER ]; in silk_decode_core()
128 silk_memset( B_Q14, 0, LTP_ORDER * sizeof( opus_int16 ) ); in silk_decode_core()
129 B_Q14[ LTP_ORDER/2 ] = SILK_FIX_CONST( 0.25, 14 ); in silk_decode_core()
142 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; in silk_decode_core()
157 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { in silk_decode_core()
163 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { in silk_decode_core()
173 pred_lag_ptr = &sLTP_Q15[ sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_decode_core()
Dmain.h204 …opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O (un)quantized LTP …
208 …const opus_int32 W_Q18[ MAX_NB_SUBFR*LTP_ORDER*LTP_ORDER ], /* I Error Weights in Q…
239 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
258 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
DNSQ.c78 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti… in silk_NSQ()
124 B_Q14 = &LTPCoef_Q14[ k * LTP_ORDER ]; in silk_NSQ()
140 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ()
205 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer()
416 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_scale_states()
431 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_scale_states()
DNSQ_del_dec.c116 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti… in silk_NSQ_del_dec()
169 decisionDelay = silk_min_int( decisionDelay, pitchL[ k ] - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec()
173 decisionDelay = silk_min_int( decisionDelay, lag - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec()
195 B_Q14 = &LTPCoef_Q14[ k * LTP_ORDER ]; in silk_NSQ_del_dec()
243 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec()
351 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer_del_dec()
680 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_del_dec_scale_states()
695 … for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx - decisionDelay; i++ ) { in silk_nsq_del_dec_scale_states()
Dstructs.h233 …opus_int16 LTPCoef_Q14[ LTP_ORDER ]; /* LTP coeficients to use for voic…
318 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ];
Ddefine.h141 #define LTP_ORDER 5 macro
DVQ_WMat_EC.c118 cb_row_Q7 += LTP_ORDER; in silk_VQ_WMat_EC()