Home
last modified time | relevance | path

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

12

/external/libopus/silk/fixed/
Dburg_modified_FIX.c51 …const opus_int subfr_length, /* I Input signal subframe length (incl. D prec… in silk_burg_modified_c() argument
68 celt_assert( subfr_length * nb_subfr <= MAX_FRAME_SIZE ); in silk_burg_modified_c()
71 C0_64 = silk_inner_prod16_aligned_64( x, x, subfr_length*nb_subfr, arch ); in silk_burg_modified_c()
87 x_ptr = x + s * subfr_length; in silk_burg_modified_c()
90 … silk_inner_prod16_aligned_64( x_ptr, x_ptr + n, subfr_length - n, arch ), rshifts ); in silk_burg_modified_c()
97 x_ptr = x + s * subfr_length; in silk_burg_modified_c()
98 celt_pitch_xcorr(x_ptr, x_ptr + 1, xcorr, subfr_length - D, D, arch ); in silk_burg_modified_c()
100 for ( i = n + subfr_length - D, d = 0; i < subfr_length; i++ ) in silk_burg_modified_c()
123 x_ptr = x + s * subfr_length; in silk_burg_modified_c()
125 …x2 = -silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], 16 - rshifts ); /* Q(16-rs… in silk_burg_modified_c()
[all …]
Dfind_LPC_FIX.c44 opus_int k, subfr_length; in silk_find_LPC_FIX() local
57 subfr_length = psEncC->subfr_length + psEncC->predictLPCOrder; in silk_find_LPC_FIX()
63 …silk_burg_modified( &res_nrg, &res_nrg_Q, a_Q16, x, minInvGain_Q30, subfr_length, psEncC->nb_subfr… in silk_find_LPC_FIX()
69 …fied( &res_tmp_nrg, &res_tmp_nrg_Q, a_tmp_Q16, x + 2 * subfr_length, minInvGain_Q30, subfr_length,… in silk_find_LPC_FIX()
87 ALLOC( LPC_res, 2 * subfr_length, opus_int16 ); in silk_find_LPC_FIX()
98 …silk_LPC_analysis_filter( LPC_res, x, a_tmp_Q12, 2 * subfr_length, psEncC->predictLPCOrder, psEncC… in silk_find_LPC_FIX()
100 …res_nrg0, &rshift0, LPC_res + psEncC->predictLPCOrder, subfr_length - psEncC->predi… in silk_find_LPC_FIX()
101 …hift( &res_nrg1, &rshift1, LPC_res + psEncC->predictLPCOrder + subfr_length, subfr_length - psEncC… in silk_find_LPC_FIX()
Dfind_pred_coefs_FIX.c90 psEncCtrl->pitchL, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.arch ); in silk_find_pred_coefs_FIX()
94 …n_Q7, &psEncCtrl->LTPredCodGain_Q7, XXLTP_Q17, xXLTP_Q17, psEnc->sCmn.subfr_length, psEnc->sCmn.nb… in silk_find_pred_coefs_FIX()
101 …psEncCtrl->pitchL, invGains_Q16, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.predi… in silk_find_pred_coefs_FIX()
112 psEnc->sCmn.subfr_length + psEnc->sCmn.predictLPCOrder ); in silk_find_pred_coefs_FIX()
113 x_pre_ptr += psEnc->sCmn.subfr_length + psEnc->sCmn.predictLPCOrder; in silk_find_pred_coefs_FIX()
114 x_ptr += psEnc->sCmn.subfr_length; in silk_find_pred_coefs_FIX()
140 … psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.predictLPCOrder, psEnc->sCmn.arch ); in silk_find_pred_coefs_FIX()
Dfind_LTP_FIX.c40 …const opus_int subfr_length, /* I Subframe length … in silk_find_LTP_FIX() argument
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()
73 …silk_corrVector_FIX( lag_ptr, r_ptr, subfr_length, LTP_ORDER, xXLTP_Q17_ptr, xX_shifts, arch ); … in silk_find_LTP_FIX()
95 r_ptr += subfr_length; in silk_find_LTP_FIX()
DLTP_analysis_filter_FIX.c40 …const opus_int subfr_length, /* I Length of each sub… in silk_LTP_analysis_filter_FIX() argument
64 for( i = 0; i < subfr_length + pre_length; i++ ) { in silk_LTP_analysis_filter_FIX()
86 LTP_res_ptr += subfr_length + pre_length; in silk_LTP_analysis_filter_FIX()
87 x_ptr += subfr_length; in silk_LTP_analysis_filter_FIX()
Dresidual_energy_FIX.c43 …const opus_int subfr_length, /* I Subframe length … in silk_residual_energy_FIX() argument
57 offset = LPC_order + subfr_length; in silk_residual_energy_FIX()
70 … silk_sum_sqr_shift( &nrgs[ i * ( MAX_NB_SUBFR >> 1 ) + j ], &rshift, LPC_res_ptr, subfr_length ); in silk_residual_energy_FIX()
Dmain_FIX.h167 …const opus_int subfr_length, /* I Subframe length …
178 …const opus_int subfr_length, /* I Length of each sub…
191 …const opus_int subfr_length, /* I Subframe length …
/external/libopus/silk/float/
Dfind_LPC_FLP.c44 opus_int k, subfr_length; in silk_find_LPC_FLP() local
53 subfr_length = psEncC->subfr_length + psEncC->predictLPCOrder; in silk_find_LPC_FLP()
59 …res_nrg = silk_burg_modified_FLP( a, x, minInvGain, subfr_length, psEncC->nb_subfr, psEncC->predic… in silk_find_LPC_FLP()
64 …ilk_burg_modified_FLP( a_tmp, x + ( MAX_NB_SUBFR / 2 ) * subfr_length, minInvGain, subfr_length, M… in silk_find_LPC_FLP()
79 … silk_LPC_analysis_filter_FLP( LPC_res, a_tmp, x, 2 * subfr_length, psEncC->predictLPCOrder ); in silk_find_LPC_FLP()
81 …silk_energy_FLP( LPC_res + psEncC->predictLPCOrder, subfr_length - psEncC->predictL… in silk_find_LPC_FLP()
82 …silk_energy_FLP( LPC_res + psEncC->predictLPCOrder + subfr_length, subfr_length - psEncC->predictL… in silk_find_LPC_FLP()
Dburg_modified_FLP.c43 …const opus_int subfr_length, /* I input signal subframe length (incl. D preceding sa… in silk_burg_modified_FLP() argument
55 celt_assert( subfr_length * nb_subfr <= MAX_FRAME_SIZE ); in silk_burg_modified_FLP()
58 C0 = silk_energy_FLP( x, nb_subfr * subfr_length ); in silk_burg_modified_FLP()
61 x_ptr = x + s * subfr_length; in silk_burg_modified_FLP()
63 C_first_row[ n - 1 ] += silk_inner_product_FLP( x_ptr, x_ptr + n, subfr_length - n ); in silk_burg_modified_FLP()
78 x_ptr = x + s * subfr_length; in silk_burg_modified_FLP()
80 tmp2 = x_ptr[ subfr_length - n - 1 ]; in silk_burg_modified_FLP()
83 C_last_row[ k ] -= x_ptr[ subfr_length - n - 1 ] * x_ptr[ subfr_length - n + k ]; in silk_burg_modified_FLP()
86 tmp2 += x_ptr[ subfr_length - n + k ] * Atmp; in silk_burg_modified_FLP()
90 CAb[ k ] -= tmp2 * x_ptr[ subfr_length - n + k - 1 ]; in silk_burg_modified_FLP()
[all …]
Dfind_LTP_FLP.c40 …const opus_int subfr_length, /* I Subframe length … in silk_find_LTP_FLP() argument
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()
60 r_ptr += subfr_length; in silk_find_LTP_FLP()
Dfind_pred_coefs_FLP.c65 …silk_find_LTP_FLP( XXLTP, xXLTP, res_pitch, psEncCtrl->pitchL, psEnc->sCmn.subfr_length, psEnc->sC… in silk_find_pred_coefs_FLP()
69 …sum_log_gain_Q7, &psEncCtrl->LTPredCodGain, XXLTP, xXLTP, psEnc->sCmn.subfr_length, psEnc->sCmn.nb… in silk_find_pred_coefs_FLP()
76 …psEncCtrl->pitchL, invGains, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.predictLP… in silk_find_pred_coefs_FLP()
86 psEnc->sCmn.subfr_length + psEnc->sCmn.predictLPCOrder ); in silk_find_pred_coefs_FLP()
87 x_pre_ptr += psEnc->sCmn.subfr_length + psEnc->sCmn.predictLPCOrder; in silk_find_pred_coefs_FLP()
88 x_ptr += psEnc->sCmn.subfr_length; in silk_find_pred_coefs_FLP()
111 psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.predictLPCOrder ); in silk_find_pred_coefs_FLP()
Dresidual_energy_FLP.c96 …const opus_int subfr_length, /* I Subframe length … in silk_residual_energy_FLP() argument
105 shift = LPC_order + subfr_length; in silk_residual_energy_FLP()
109 …silk_float )( gains[ 0 ] * gains[ 0 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, subfr_length ) ); in silk_residual_energy_FLP()
110 …silk_float )( gains[ 1 ] * gains[ 1 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, subfr_length ) ); in silk_residual_energy_FLP()
114 …silk_float )( gains[ 2 ] * gains[ 2 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, subfr_length ) ); in silk_residual_energy_FLP()
115 …silk_float )( gains[ 3 ] * gains[ 3 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, subfr_length ) ); in silk_residual_energy_FLP()
DLTP_analysis_filter_FLP.c40 …const opus_int subfr_length, /* I Length of each subfram… in silk_LTP_analysis_filter_FLP() argument
61 for( i = 0; i < subfr_length + pre_length; i++ ) { in silk_LTP_analysis_filter_FLP()
72 LTP_res_ptr += subfr_length + pre_length; in silk_LTP_analysis_filter_FLP()
73 x_ptr += subfr_length; in silk_LTP_analysis_filter_FLP()
Dmain_FLP.h150 …const opus_int subfr_length, /* I Subframe length …
160 …const opus_int subfr_length, /* I Length of each subfram…
172 …const opus_int subfr_length, /* I Subframe length …
/external/libopus/silk/fixed/x86/
Dburg_modified_FIX_sse4_1.c56 …const opus_int subfr_length, /* I Input signal subframe length (incl. D prec… in silk_burg_modified_sse4_1() argument
75 celt_assert( subfr_length * nb_subfr <= MAX_FRAME_SIZE ); in silk_burg_modified_sse4_1()
78 silk_sum_sqr_shift( &C0, &rshifts, x, nb_subfr * subfr_length ); in silk_burg_modified_sse4_1()
99 x_ptr = x + s * subfr_length; in silk_burg_modified_sse4_1()
102 … silk_inner_prod16_aligned_64( x_ptr, x_ptr + n, subfr_length - n, arch ), rshifts ); in silk_burg_modified_sse4_1()
109 x_ptr = x + s * subfr_length; in silk_burg_modified_sse4_1()
110 celt_pitch_xcorr(x_ptr, x_ptr + 1, xcorr, subfr_length - D, D, arch ); in silk_burg_modified_sse4_1()
112 for ( i = n + subfr_length - D, d = 0; i < subfr_length; i++ ) in silk_burg_modified_sse4_1()
135 x_ptr = x + s * subfr_length; in silk_burg_modified_sse4_1()
137 …x2 = -silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], 16 - rshifts ); /* Q(16-rs… in silk_burg_modified_sse4_1()
[all …]
/external/libopus/silk/x86/
DSigProc_FIX_sse.h42 …const opus_int subfr_length, /* I Input signal subframe length (incl. D prec…
49 #define silk_burg_modified(res_nrg, res_nrg_Q, A_Q16, x, minInvGain_Q30, subfr_length, nb_subfr, D,… argument
50 …lk_burg_modified_sse4_1(res_nrg, res_nrg_Q, A_Q16, x, minInvGain_Q30, subfr_length, nb_subfr, D, a…
60 …const opus_int subfr_length, /* I Input signal subframe length (incl. D prec…
65 # define silk_burg_modified(res_nrg, res_nrg_Q, A_Q16, x, minInvGain_Q30, subfr_length, nb_subfr, … argument
66 …arch) & OPUS_ARCHMASK])(res_nrg, res_nrg_Q, A_Q16, x, minInvGain_Q30, subfr_length, nb_subfr, D, a…
DNSQ_sse4_1.c178 ALLOC( x_sc_Q10, psEncC->subfr_length, opus_int32 ); in silk_NSQ_sse4_1()
204 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_sse4_1()
218 offset_Q10, psEncC->subfr_length, &(table[32]) ); in silk_NSQ_sse4_1()
224 …offset_Q10, psEncC->subfr_length, psEncC->shapingLPCOrder, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_sse4_1()
227 x_Q3 += psEncC->subfr_length; in silk_NSQ_sse4_1()
228 pulses += psEncC->subfr_length; in silk_NSQ_sse4_1()
229 pxq += psEncC->subfr_length; in silk_NSQ_sse4_1()
637 for( i = 0; i < psEncC->subfr_length - 3; i += 4 ) { in silk_nsq_scale_states_sse4_1()
654 for( ; i < psEncC->subfr_length; i++ ) { in silk_nsq_scale_states_sse4_1()
DNSQ_del_dec_sse4_1.c169 decisionDelay = silk_min_int( DECISION_DELAY, psEncC->subfr_length ); in silk_NSQ_del_dec_sse4_1()
191 ALLOC( x_sc_Q10, psEncC->subfr_length, opus_int32 ); in silk_NSQ_del_dec_sse4_1()
252 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_del_dec_sse4_1()
265 … Gains_Q16[ k ], Lambda_Q10, offset_Q10, psEncC->subfr_length, subfr++, psEncC->shapingLPCOrder, in silk_NSQ_del_dec_sse4_1()
268 x_Q3 += psEncC->subfr_length; in silk_NSQ_del_dec_sse4_1()
269 pulses += psEncC->subfr_length; in silk_NSQ_del_dec_sse4_1()
270 pxq += psEncC->subfr_length; in silk_NSQ_del_dec_sse4_1()
296 …silk_memcpy( NSQ->sLPC_Q14, &psDD->sLPC_Q14[ psEncC->subfr_length ], NSQ_LPC_BUF_LENGTH * sizeof( … in silk_NSQ_del_dec_sse4_1()
767 for( i = 0; i < psEncC->subfr_length - 3; i += 4 ) { in silk_nsq_del_dec_scale_states_sse4_1()
783 for( ; i < psEncC->subfr_length; i++ ) { in silk_nsq_del_dec_scale_states_sse4_1()
/external/libopus/silk/
DPLC.c61 psDec->sPLC.subfr_length = 20; in silk_PLC_Reset()
113 for( j = 0; j * psDec->subfr_length < psDecCtrl->pitchL[ psDec->nb_subfr - 1 ]; j++ ) { in silk_PLC_update()
166 psPLC->subfr_length = psDec->subfr_length; in silk_PLC_update()
171 const opus_int32 *exc_Q14, const opus_int32 *prevGain_Q10, int subfr_length, int nb_subfr) in silk_PLC_energy() argument
177 ALLOC( exc_buf, 2*subfr_length, opus_int16 ); in silk_PLC_energy()
182 for( i = 0; i < subfr_length; i++ ) { in silk_PLC_energy()
184 … silk_SMULWW( exc_Q14[ i + ( k + nb_subfr - 2 ) * subfr_length ], prevGain_Q10[ k ] ), 8 ) ); in silk_PLC_energy()
186 exc_buf_ptr += subfr_length; in silk_PLC_energy()
189 silk_sum_sqr_shift( energy1, shift1, exc_buf, subfr_length ); in silk_PLC_energy()
190 silk_sum_sqr_shift( energy2, shift2, &exc_buf[ subfr_length ], subfr_length ); in silk_PLC_energy()
[all …]
Ddecode_core.c60 ALLOC( res_Q14, psDec->subfr_length, opus_int32 ); in silk_decode_core()
61 ALLOC( sLPC_Q14, psDec->subfr_length + MAX_LPC_ORDER, opus_int32 ); in silk_decode_core()
147 …silk_memcpy( &psDec->outBuf[ psDec->ltp_mem_length ], xq, 2 * psDec->subfr_length * sizeof( opus_i… in silk_decode_core()
150 …ilk_LPC_analysis_filter( &sLTP[ start_idx ], &psDec->outBuf[ start_idx + k * psDec->subfr_length ], in silk_decode_core()
175 for( i = 0; i < psDec->subfr_length; i++ ) { in silk_decode_core()
197 for( i = 0; i < psDec->subfr_length; i++ ) { in silk_decode_core()
229 … silk_memcpy( sLPC_Q14, &sLPC_Q14[ psDec->subfr_length ], MAX_LPC_ORDER * sizeof( opus_int32 ) ); in silk_decode_core()
230 pexc_Q14 += psDec->subfr_length; in silk_decode_core()
231 pxq += psDec->subfr_length; in silk_decode_core()
DNSQ.c122 ALLOC( x_sc_Q10, psEncC->subfr_length, opus_int32 ); in silk_NSQ_c()
148 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_c()
160 …offset_Q10, psEncC->subfr_length, psEncC->shapingLPCOrder, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_c()
162 x16 += psEncC->subfr_length; in silk_NSQ_c()
163 pulses += psEncC->subfr_length; in silk_NSQ_c()
164 pxq += psEncC->subfr_length; in silk_NSQ_c()
391 for( i = 0; i < psEncC->subfr_length; i++ ) { in silk_nsq_scale_states()
DCNG.c115 …( &psCNG->CNG_exc_buf_Q14[ psDec->subfr_length ], psCNG->CNG_exc_buf_Q14, ( psDec->nb_subfr - 1 ) … in silk_CNG()
116 … psCNG->CNG_exc_buf_Q14, &psDec->exc_Q14[ subfr * psDec->subfr_length ], psDec->subfr_length * s… in silk_CNG()
Ddecoder_set_fs.c47 psDec->subfr_length = silk_SMULBB( SUB_FRAME_LENGTH_MS, fs_kHz ); in silk_decoder_set_fs()
48 frame_length = silk_SMULBB( psDec->nb_subfr, psDec->subfr_length ); in silk_decoder_set_fs()
DNSQ_del_dec.c173 decisionDelay = silk_min_int( DECISION_DELAY, psEncC->subfr_length ); in silk_NSQ_del_dec_c()
194 ALLOC( x_sc_Q10, psEncC->subfr_length, opus_int32 ); in silk_NSQ_del_dec_c()
255 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_del_dec_c()
268 … Gains_Q16[ k ], Lambda_Q10, offset_Q10, psEncC->subfr_length, subfr++, psEncC->shapingLPCOrder, in silk_NSQ_del_dec_c()
271 x16 += psEncC->subfr_length; in silk_NSQ_del_dec_c()
272 pulses += psEncC->subfr_length; in silk_NSQ_del_dec_c()
273 pxq += psEncC->subfr_length; in silk_NSQ_del_dec_c()
300 …silk_memcpy( NSQ->sLPC_Q14, &psDD->sLPC_Q14[ psEncC->subfr_length ], NSQ_LPC_BUF_LENGTH * sizeof( … in silk_NSQ_del_dec_c()
678 for( i = 0; i < psEncC->subfr_length; i++ ) { in silk_nsq_del_dec_scale_states()
Dstructs.h158 …opus_int subfr_length; /* Subframe length (samples) … member
245 opus_int subfr_length; member
272 …opus_int subfr_length; /* Subframe length (samples) … member

12