Home
last modified time | relevance | path

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

/external/libopus/silk/
DNSQ.c120 ALLOC( sLTP_Q15, psEncC->ltp_mem_length + psEncC->frame_length, opus_int32 ); in silk_NSQ_c()
121 ALLOC( sLTP, psEncC->ltp_mem_length + psEncC->frame_length, opus_int16 ); in silk_NSQ_c()
124 NSQ->sLTP_shp_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_c()
125 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_c()
126 pxq = &NSQ->xq[ psEncC->ltp_mem_length ]; in silk_NSQ_c()
145 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_c()
149 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_c()
152 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_c()
171 …Q->xq, &NSQ->xq[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ_c()
172 …Q->sLTP_shp_Q14, &NSQ->sLTP_shp_Q14[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ_c()
[all …]
Ddecode_core.c58 ALLOC( sLTP, psDec->ltp_mem_length, opus_int16 ); in silk_decode_core()
59 ALLOC( sLTP_Q15, psDec->ltp_mem_length + psDec->frame_length, opus_int32 ); in silk_decode_core()
95 sLTP_buf_idx = psDec->ltp_mem_length; in silk_decode_core()
143 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; 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()
151 A_Q12, psDec->ltp_mem_length - start_idx, psDec->LPC_order, arch ); in silk_decode_core()
159 …P_Q15[ sLTP_buf_idx - i - 1 ] = silk_SMULWB( inv_gain_Q31, sLTP[ psDec->ltp_mem_length - i - 1 ] ); in silk_decode_core()
DPLC.c220 ALLOC( sLTP_Q14, psDec->ltp_mem_length + psDec->frame_length, opus_int32 ); in silk_PLC_conceal()
223 …sLTP = ((opus_int16*)&sLTP_Q14[psDec->ltp_mem_length + psDec->frame_length])-psDec->ltp_mem_length; in silk_PLC_conceal()
225 ALLOC( sLTP, psDec->ltp_mem_length, opus_int16 ); in silk_PLC_conceal()
290 sLTP_buf_idx = psDec->ltp_mem_length; in silk_PLC_conceal()
293 idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; in silk_PLC_conceal()
295 …silk_LPC_analysis_filter( &sLTP[ idx ], &psDec->outBuf[ idx ], A_Q12, psDec->ltp_mem_length - idx,… in silk_PLC_conceal()
299 for( i = idx + psDec->LPC_order; i < psDec->ltp_mem_length; i++ ) { in silk_PLC_conceal()
345 sLPC_Q14_ptr = &sLTP_Q14[ psDec->ltp_mem_length - MAX_LPC_ORDER ]; in silk_PLC_conceal()
DNSQ_del_dec.c165 psDD->Shape_Q14[ 0 ] = NSQ->sLTP_shp_Q14[ psEncC->ltp_mem_length - 1 ]; in silk_NSQ_del_dec_c()
192 ALLOC( sLTP_Q15, psEncC->ltp_mem_length + psEncC->frame_length, opus_int32 ); in silk_NSQ_del_dec_c()
193 ALLOC( sLTP, psEncC->ltp_mem_length + psEncC->frame_length, opus_int16 ); in silk_NSQ_del_dec_c()
197 pxq = &NSQ->xq[ psEncC->ltp_mem_length ]; in silk_NSQ_del_dec_c()
198 NSQ->sLTP_shp_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec_c()
199 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; 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()
256 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_del_dec_c()
258 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec_c()
309 …Q->xq, &NSQ->xq[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ_del_dec_c()
[all …]
Ddecode_frame.c107 celt_assert( psDec->ltp_mem_length >= psDec->frame_length ); in silk_decode_frame()
108 mv_len = psDec->ltp_mem_length - psDec->frame_length; in silk_decode_frame()
Dstructs.h159 …opus_int ltp_mem_length; /* Length of LTP memory … member
273 …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.c284 psEnc->sCmn.ltp_mem_length = silk_SMULBB( LTP_MEM_LENGTH_MS, fs_kHz ); in silk_setup_fs()
/external/libopus/silk/x86/
DNSQ_sse4_1.c176 psEncC->ltp_mem_length + psEncC->frame_length, opus_int32 ); in silk_NSQ_sse4_1()
177 ALLOC( sLTP, psEncC->ltp_mem_length + psEncC->frame_length, opus_int16 ); in silk_NSQ_sse4_1()
180 NSQ->sLTP_shp_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_sse4_1()
181 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_sse4_1()
182 pxq = &NSQ->xq[ psEncC->ltp_mem_length ]; in silk_NSQ_sse4_1()
201 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_sse4_1()
205 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_sse4_1()
208 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_sse4_1()
236 …Q->xq, &NSQ->xq[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ_sse4_1()
237 …Q->sLTP_shp_Q14, &NSQ->sLTP_shp_Q14[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ_sse4_1()
[all …]
DNSQ_del_dec_sse4_1.c161 psDD->Shape_Q14[ 0 ] = NSQ->sLTP_shp_Q14[ psEncC->ltp_mem_length - 1 ]; in silk_NSQ_del_dec_sse4_1()
189 psEncC->ltp_mem_length + psEncC->frame_length, opus_int32 ); in silk_NSQ_del_dec_sse4_1()
190 ALLOC( sLTP, psEncC->ltp_mem_length + psEncC->frame_length, opus_int16 ); in silk_NSQ_del_dec_sse4_1()
194 pxq = &NSQ->xq[ psEncC->ltp_mem_length ]; in silk_NSQ_del_dec_sse4_1()
195 NSQ->sLTP_shp_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec_sse4_1()
196 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; 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()
253 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_del_dec_sse4_1()
255 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec_sse4_1()
304 …Q->xq, &NSQ->xq[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ_del_dec_sse4_1()
[all …]
/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()
Dencode_frame_FLP.c120 x_frame = psEnc->x_buf + psEnc->sCmn.ltp_mem_length; /* start of frame to encode */ in silk_encode_frame_FLP()
121 …res_pitch_frame = res_pitch + psEnc->sCmn.ltp_mem_length; /* start of pitch LPC residual fra… in silk_encode_frame_FLP()
358 ( psEnc->sCmn.ltp_mem_length + LA_SHAPE_MS * psEnc->sCmn.fs_kHz ) * sizeof( silk_float ) ); in silk_encode_frame_FLP()
Dfind_pred_coefs_FLP.c62 …celt_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + … in silk_find_pred_coefs_FLP()
/external/libopus/silk/fixed/
Dencode_frame_FIX.c119 x_frame = psEnc->x_buf + psEnc->sCmn.ltp_mem_length; in silk_encode_frame_FIX()
138 + psEnc->sCmn.ltp_mem_length, opus_int16 ); in silk_encode_frame_FIX()
140 res_pitch_frame = res_pitch + psEnc->sCmn.ltp_mem_length; in silk_encode_frame_FIX()
145 …silk_find_pitch_lags_FIX( psEnc, &sEncCtrl, res_pitch, x_frame - psEnc->sCmn.ltp_mem_length, psEnc… in silk_encode_frame_FIX()
366 ( 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()
Dfind_pred_coefs_FIX.c83 …celt_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + … in silk_find_pred_coefs_FIX()
/external/libopus/silk/arm/
DNSQ_del_dec_neon_intr.c291 …s32( psDelDec->Shape_Q14[ 0 ], vld1q_dup_s32( &NSQ->sLTP_shp_Q14[ psEncC->ltp_mem_length - 1 ] ) ); in silk_NSQ_del_dec_neon()
323 ALLOC( sLTP_Q15, psEncC->ltp_mem_length + psEncC->frame_length, opus_int32 ); in silk_NSQ_del_dec_neon()
324 ALLOC( sLTP, psEncC->ltp_mem_length + psEncC->frame_length, opus_int16 ); in silk_NSQ_del_dec_neon()
328 pxq = &NSQ->xq[ psEncC->ltp_mem_length ]; in silk_NSQ_del_dec_neon()
329 NSQ->sLTP_shp_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec_neon()
330 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; 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()
377 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_del_dec_neon()
379 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_del_dec_neon()
443 …Q->xq, &NSQ->xq[ psEncC->frame_length ], psEncC->ltp_mem_length * sizeof( opus… in silk_NSQ_del_dec_neon()
[all …]