Home
last modified time | relevance | path

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

12

/external/libopus/silk/fixed/
Dfind_LTP_FIX.c36 …opus_int32 XXLTP_Q17[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Correla… in silk_find_LTP_FIX()
37 …opus_int32 xXLTP_Q17[ MAX_NB_SUBFR * LTP_ORDER ], /* O Correlation vector… in silk_find_LTP_FIX()
54 lag_ptr = r_ptr - ( lag[ k ] + LTP_ORDER / 2 ); in silk_find_LTP_FIX()
56 …silk_sum_sqr_shift( &xx, &xx_shifts, r_ptr, subfr_length + LTP_ORDER ); … in silk_find_LTP_FIX()
57 …silk_corrMatrix_FIX( lag_ptr, subfr_length, LTP_ORDER, XXLTP_Q17_ptr, &nrg, &XX_shifts, arch ); … in silk_find_LTP_FIX()
62 for( i = 0; i < LTP_ORDER * LTP_ORDER; i++ ) { in silk_find_LTP_FIX()
73 …silk_corrVector_FIX( lag_ptr, r_ptr, subfr_length, LTP_ORDER, xXLTP_Q17_ptr, xX_shifts, arch ); … in silk_find_LTP_FIX()
80 for( i = 0; i < LTP_ORDER * LTP_ORDER; i++ ) { in silk_find_LTP_FIX()
83 for( i = 0; i < LTP_ORDER; i++ ) { in silk_find_LTP_FIX()
87 for( i = 0; i < LTP_ORDER * LTP_ORDER; i++ ) { 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()
57 Btmp_Q14[ 0 ] = LTPCoef_Q14[ k * LTP_ORDER ]; in silk_LTP_analysis_filter_FIX()
58 Btmp_Q14[ 1 ] = LTPCoef_Q14[ k * LTP_ORDER + 1 ]; in silk_LTP_analysis_filter_FIX()
59 Btmp_Q14[ 2 ] = LTPCoef_Q14[ k * LTP_ORDER + 2 ]; in silk_LTP_analysis_filter_FIX()
60 Btmp_Q14[ 3 ] = LTPCoef_Q14[ k * LTP_ORDER + 3 ]; in silk_LTP_analysis_filter_FIX()
61 Btmp_Q14[ 4 ] = LTPCoef_Q14[ k * LTP_ORDER + 4 ]; in silk_LTP_analysis_filter_FIX()
68 LTP_est = silk_SMULBB( x_lag_ptr[ LTP_ORDER / 2 ], Btmp_Q14[ 0 ] ); in silk_LTP_analysis_filter_FIX()
Dfind_pred_coefs_FIX.c83 …Enc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + LTP_ORDER / 2 ); in silk_find_pred_coefs_FIX()
85 ALLOC( xXLTP_Q17, psEnc->sCmn.nb_subfr * LTP_ORDER, opus_int32 ); in silk_find_pred_coefs_FIX()
86 ALLOC( XXLTP_Q17, psEnc->sCmn.nb_subfr * LTP_ORDER * LTP_ORDER, opus_int32 ); in silk_find_pred_coefs_FIX()
117 … silk_memset( psEncCtrl->LTPCoef_Q14, 0, psEnc->sCmn.nb_subfr * LTP_ORDER * sizeof( opus_int16 ) ); in silk_find_pred_coefs_FIX()
Dmain_FIX.h163 …opus_int32 XXLTP_Q17[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Correla…
164 …opus_int32 xXLTP_Q17[ MAX_NB_SUBFR * LTP_ORDER ], /* O Correlation vector…
175 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I LTP_ORDER LTP coef…
Dstructs_FIX.h70 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ];
/external/libopus/silk/float/
Dfind_LTP_FLP.c36 …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()
52 lag_ptr = r_ptr - ( lag[ k ] + LTP_ORDER / 2 ); in silk_find_LTP_FLP()
53 silk_corrMatrix_FLP( lag_ptr, subfr_length, LTP_ORDER, XX_ptr ); in silk_find_LTP_FLP()
54 silk_corrVector_FLP( lag_ptr, r_ptr, subfr_length, LTP_ORDER, xX_ptr ); in silk_find_LTP_FLP()
55 xx = ( silk_float )silk_energy_FLP( r_ptr, subfr_length + LTP_ORDER ); in silk_find_LTP_FLP()
57 silk_scale_vector_FLP( XX_ptr, temp, LTP_ORDER * LTP_ORDER ); in silk_find_LTP_FLP()
58 silk_scale_vector_FLP( xX_ptr, temp, LTP_ORDER ); in silk_find_LTP_FLP()
61 XX_ptr += LTP_ORDER * LTP_ORDER; in silk_find_LTP_FLP()
62 xX_ptr += LTP_ORDER; in silk_find_LTP_FLP()
Dwrappers_FLP.c109 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ]; in silk_NSQ_wrapper_FLP()
136 for( i = 0; i < psEnc->sCmn.nb_subfr * LTP_ORDER; i++ ) { in silk_NSQ_wrapper_FLP()
176 …silk_float B[ MAX_NB_SUBFR * LTP_ORDER ], /* O Quantized LTP gains … 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()
189 opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ]; in silk_quant_LTP_gains_FLP()
190 opus_int32 XX_Q17[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ]; in silk_quant_LTP_gains_FLP()
191 opus_int32 xX_Q17[ MAX_NB_SUBFR * LTP_ORDER ]; in silk_quant_LTP_gains_FLP()
193 for( i = 0; i < nb_subfr * LTP_ORDER * LTP_ORDER; i++ ) { in silk_quant_LTP_gains_FLP()
196 for( i = 0; i < nb_subfr * LTP_ORDER; i++ ) { in silk_quant_LTP_gains_FLP()
[all …]
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.h146 …silk_float XX[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for LTP…
147 …silk_float xX[ MAX_NB_SUBFR * LTP_ORDER ], /* O Weight for LTP quantiz…
157 …const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I LTP coefficients for e…
188 …silk_float B[ MAX_NB_SUBFR * LTP_ORDER ], /* O Quantized LTP gains …
193 …const silk_float XX[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* I Correlation ma…
194 …const silk_float xX[ MAX_NB_SUBFR * LTP_ORDER ], /* I Correlation vector …
Dfind_pred_coefs_FLP.c44 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()
62 …Enc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + LTP_ORDER / 2 ); 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()
Dstructs_FLP.h68 silk_float LTPCoef[LTP_ORDER * MAX_NB_SUBFR];
/external/libopus/silk/
Dquant_LTP_gains.c36 …opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* O Quantized LTP gain… in silk_quant_LTP_gains()
41 …const opus_int32 XX_Q17[ MAX_NB_SUBFR*LTP_ORDER*LTP_ORDER ], /* I Correlation matrix… in silk_quant_LTP_gains()
42 …const opus_int32 xX_Q17[ MAX_NB_SUBFR*LTP_ORDER ], /* I Correlation vector… in silk_quant_LTP_gains()
105 XX_Q17_ptr += LTP_ORDER * LTP_ORDER; in silk_quant_LTP_gains()
106 xX_Q17_ptr += LTP_ORDER; in silk_quant_LTP_gains()
119 for( k = 0; k < LTP_ORDER; k++ ) { in silk_quant_LTP_gains()
120 … B_Q14[ j * LTP_ORDER + k ] = silk_LSHIFT( cbk_ptr_Q7[ cbk_index[ j ] * LTP_ORDER + k ], 7 ); in silk_quant_LTP_gains()
DPLC.c118 for( i = 0; i < LTP_ORDER; i++ ) { in silk_PLC_update()
119 … temp_LTP_Gain_Q14 += psDecCtrl->LTPCoef_Q14[ ( psDec->nb_subfr - 1 - j ) * LTP_ORDER + i ]; in silk_PLC_update()
124 &psDecCtrl->LTPCoef_Q14[ silk_SMULBB( psDec->nb_subfr - 1 - j, LTP_ORDER ) ], in silk_PLC_update()
125 LTP_ORDER * sizeof( opus_int16 ) ); in silk_PLC_update()
131 silk_memset( psPLC->LTPCoef_Q14, 0, LTP_ORDER * sizeof( opus_int16 ) ); in silk_PLC_update()
132 psPLC->LTPCoef_Q14[ LTP_ORDER / 2 ] = LTP_Gain_Q14; in silk_PLC_update()
141 for( i = 0; i < LTP_ORDER; i++ ) { in silk_PLC_update()
150 for( i = 0; i < LTP_ORDER; i++ ) { in silk_PLC_update()
156 silk_memset( psPLC->LTPCoef_Q14, 0, LTP_ORDER * sizeof( opus_int16 )); in silk_PLC_update()
269 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.c103 B_Q14 = &psDecCtrl->LTPCoef_Q14[ k * LTP_ORDER ]; in silk_decode_core()
129 silk_memset( B_Q14, 0, LTP_ORDER * sizeof( opus_int16 ) ); in silk_decode_core()
130 B_Q14[ LTP_ORDER/2 ] = SILK_FIX_CONST( 0.25, 14 ); in silk_decode_core()
143 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; in silk_decode_core()
158 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { in silk_decode_core()
164 for( i = 0; i < lag + LTP_ORDER/2; i++ ) { in silk_decode_core()
174 pred_lag_ptr = &sLTP_Q15[ sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_decode_core()
Dmain.h212 …opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* O Quantized LTP gain…
217 …const opus_int32 XX_Q17[ MAX_NB_SUBFR*LTP_ORDER*LTP_ORDER ], /* I Correlation matrix…
218 …const opus_int32 xX_Q17[ MAX_NB_SUBFR*LTP_ORDER ], /* I Correlation vector…
256 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
282 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
DNSQ.c84 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti… in silk_NSQ_c()
129 B_Q14 = &LTPCoef_Q14[ k * LTP_ORDER ]; in silk_NSQ_c()
145 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_c()
217 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer()
401 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_scale_states()
418 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_scale_states()
DNSQ_del_dec.c124 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti… in silk_NSQ_del_dec_c()
178 decisionDelay = silk_min_int( decisionDelay, pitchL[ k ] - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec_c()
182 decisionDelay = silk_min_int( decisionDelay, lag - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec_c()
203 B_Q14 = &LTPCoef_Q14[ k * LTP_ORDER ]; in silk_NSQ_del_dec_c()
252 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec_c()
368 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer_del_dec()
688 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_del_dec_scale_states()
705 … 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.h234 …opus_int16 LTPCoef_Q14[ LTP_ORDER ]; /* LTP coeficients to use for voic…
320 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ];
/external/libopus/silk/x86/
Dmain_sse.h95 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
122 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
149 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
176 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
Dx86_silk_map.c77 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
125 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti…
DNSQ_del_dec_sse4_1.c121 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti… in silk_NSQ_del_dec_sse4_1()
174 decisionDelay = silk_min_int( decisionDelay, pitchL[ k ] - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec_sse4_1()
178 decisionDelay = silk_min_int( decisionDelay, lag - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec_sse4_1()
200 B_Q14 = &LTPCoef_Q14[ k * LTP_ORDER ]; in silk_NSQ_del_dec_sse4_1()
249 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec_sse4_1()
360 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer_del_dec_sse4_1()
796 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_del_dec_scale_states_sse4_1()
834 … for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx - decisionDelay; i++ ) { in silk_nsq_del_dec_scale_states_sse4_1()
DNSQ_sse4_1.c80 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti… in silk_NSQ_sse4_1()
185 B_Q14 = &LTPCoef_Q14[ k * LTP_ORDER ]; in silk_NSQ_sse4_1()
201 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_sse4_1()
283 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer_10_16_sse4_1()
667 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_scale_states_sse4_1()
704 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_scale_states_sse4_1()
/external/libopus/silk/arm/
DNSQ_del_dec_arm.h38 const opus_int16 LTPCoef_Q14[LTP_ORDER * MAX_NB_SUBFR],
69 const opus_int16 LTPCoef_Q14[LTP_ORDER * MAX_NB_SUBFR],
DNSQ_del_dec_neon_intr.c224 …const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term predicti… in silk_NSQ_del_dec_neon()
310 decisionDelay = silk_min_int( decisionDelay, pitch_min - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec_neon()
313 decisionDelay = silk_min_int( decisionDelay, lag - LTP_ORDER / 2 - 1 ); in silk_NSQ_del_dec_neon()
334 B_Q14 = &LTPCoef_Q14[ k * LTP_ORDER ]; in silk_NSQ_del_dec_neon()
373 … start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec_neon()
592 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer_del_dec_neon()
1037 …+ NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2, inv_gain_Q31, sLTP_Q15 + NSQ->sLTP_buf_idx - lag - LTP_… in silk_nsq_del_dec_scale_states_neon()
1057 …for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx - decisionDelay - 7; i += … in silk_nsq_del_dec_scale_states_neon()
1094 …for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx - decisionDelay - 7; i += … in silk_nsq_del_dec_scale_states_neon()

12