Home
last modified time | relevance | path

Searched refs:ltp_mem_length (Results 1 – 14 of 14) sorted by relevance

/external/libopus/silk/
Ddecode_core.c57 ALLOC( sLTP, psDec->ltp_mem_length, opus_int16 ); in silk_decode_core()
58 ALLOC( sLTP_Q15, psDec->ltp_mem_length + psDec->frame_length, opus_int32 ); in silk_decode_core()
94 sLTP_buf_idx = psDec->ltp_mem_length; in silk_decode_core()
142 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; in silk_decode_core()
146 …silk_memcpy( &psDec->outBuf[ psDec->ltp_mem_length ], xq, 2 * psDec->subfr_length * sizeof( opus_i… in silk_decode_core()
150 A_Q12, psDec->ltp_mem_length - start_idx, psDec->LPC_order ); in silk_decode_core()
158 …P_Q15[ sLTP_buf_idx - i - 1 ] = silk_SMULWB( inv_gain_Q31, sLTP[ psDec->ltp_mem_length - i - 1 ] ); in silk_decode_core()
DNSQ.c115 psEncC->ltp_mem_length + psEncC->frame_length, opus_int32 ); in silk_NSQ()
116 ALLOC( sLTP, psEncC->ltp_mem_length + psEncC->frame_length, opus_int16 ); in silk_NSQ()
119 NSQ->sLTP_shp_buf_idx = psEncC->ltp_mem_length; in silk_NSQ()
120 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ()
121 pxq = &NSQ->xq[ psEncC->ltp_mem_length ]; in silk_NSQ()
140 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ()
144 A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder ); in silk_NSQ()
147 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ()
167 …Q->xq, &NSQ->xq[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ()
168 …Q->sLTP_shp_Q14, &NSQ->sLTP_shp_Q14[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ()
[all …]
DNSQ_del_dec.c156 psDD->Shape_Q14[ 0 ] = NSQ->sLTP_shp_Q14[ psEncC->ltp_mem_length - 1 ]; in silk_NSQ_del_dec()
184 psEncC->ltp_mem_length + psEncC->frame_length, opus_int32 ); in silk_NSQ_del_dec()
185 ALLOC( sLTP, psEncC->ltp_mem_length + psEncC->frame_length, opus_int16 ); in silk_NSQ_del_dec()
189 pxq = &NSQ->xq[ psEncC->ltp_mem_length ]; in silk_NSQ_del_dec()
190 NSQ->sLTP_shp_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec()
191 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec()
243 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec()
247 A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder ); in silk_NSQ_del_dec()
249 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec()
298 …Q->xq, &NSQ->xq[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ_del_dec()
[all …]
DPLC.c191 ALLOC( sLTP, psDec->ltp_mem_length, opus_int16 ); in silk_PLC_conceal()
192 ALLOC( sLTP_Q14, psDec->ltp_mem_length + psDec->frame_length, opus_int32 ); in silk_PLC_conceal()
268 sLTP_buf_idx = psDec->ltp_mem_length; in silk_PLC_conceal()
271 idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; in silk_PLC_conceal()
273 …silk_LPC_analysis_filter( &sLTP[ idx ], &psDec->outBuf[ idx ], A_Q12, psDec->ltp_mem_length - idx,… in silk_PLC_conceal()
277 for( i = idx + psDec->LPC_order; i < psDec->ltp_mem_length; i++ ) { in silk_PLC_conceal()
321 sLPC_Q14_ptr = &sLTP_Q14[ psDec->ltp_mem_length - MAX_LPC_ORDER ]; in silk_PLC_conceal()
Ddecode_frame.c105 silk_assert( psDec->ltp_mem_length >= psDec->frame_length ); in silk_decode_frame()
106 mv_len = psDec->ltp_mem_length - psDec->frame_length; in silk_decode_frame()
Dstructs.h156 …opus_int ltp_mem_length; /* Length of LTP memory … member
272 …opus_int ltp_mem_length; /* Length of LTP memory … member
Ddecoder_set_fs.c73 psDec->ltp_mem_length = silk_SMULBB( LTP_MEM_LENGTH_MS, fs_kHz ); in silk_decoder_set_fs()
Dcontrol_codec.c287 psEnc->sCmn.ltp_mem_length = silk_SMULBB( LTP_MEM_LENGTH_MS, fs_kHz ); in silk_setup_fs()
/external/libopus/silk/float/
Dfind_pitch_lags_FLP.c56 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FLP()
61 x_buf = x - psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FLP()
Dfind_pred_coefs_FLP.c62 …silk_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + … in silk_find_pred_coefs_FLP()
66 …ncCtrl->pitchL, Wght, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.ltp_mem_length ); in silk_find_pred_coefs_FLP()
Dencode_frame_FLP.c110 x_frame = psEnc->x_buf + psEnc->sCmn.ltp_mem_length; /* start of frame to encode */ in silk_encode_frame_FLP()
111 …res_pitch_frame = res_pitch + psEnc->sCmn.ltp_mem_length; /* start of pitch LPC residual fra… in silk_encode_frame_FLP()
295 ( psEnc->sCmn.ltp_mem_length + LA_SHAPE_MS * psEnc->sCmn.fs_kHz ) * sizeof( silk_float ) ); in silk_encode_frame_FLP()
/external/libopus/silk/fixed/
Dencode_frame_FIX.c108 x_frame = psEnc->x_buf + psEnc->sCmn.ltp_mem_length; in silk_encode_frame_FIX()
128 + psEnc->sCmn.ltp_mem_length, opus_int16 ); in silk_encode_frame_FIX()
130 res_pitch_frame = res_pitch + psEnc->sCmn.ltp_mem_length; in silk_encode_frame_FIX()
303 ( psEnc->sCmn.ltp_mem_length + LA_SHAPE_MS * psEnc->sCmn.fs_kHz ) * sizeof( opus_int16 ) ); in silk_encode_frame_FIX()
Dfind_pitch_lags_FIX.c59 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FIX()
64 x_buf = x - psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FIX()
Dfind_pred_coefs_FIX.c85 …silk_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + … in silk_find_pred_coefs_FIX()
92 psEnc->sCmn.nb_subfr, psEnc->sCmn.ltp_mem_length, LTP_corrs_rshift ); in silk_find_pred_coefs_FIX()