/external/libopus/silk/ |
D | NSQ.c | 120 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 …]
|
D | decode_core.c | 58 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()
|
D | PLC.c | 220 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() 343 sLPC_Q14_ptr = &sLTP_Q14[ psDec->ltp_mem_length - MAX_LPC_ORDER ]; in silk_PLC_conceal()
|
D | NSQ_del_dec.c | 165 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 …]
|
D | decode_frame.c | 106 celt_assert( psDec->ltp_mem_length >= psDec->frame_length ); in silk_decode_frame() 107 mv_len = psDec->ltp_mem_length - psDec->frame_length; in silk_decode_frame()
|
D | structs.h | 159 …opus_int ltp_mem_length; /* Length of LTP memory … member 273 …opus_int ltp_mem_length; /* Length of LTP memory … member
|
D | decoder_set_fs.c | 73 psDec->ltp_mem_length = silk_SMULBB( LTP_MEM_LENGTH_MS, fs_kHz ); in silk_decoder_set_fs()
|
D | control_codec.c | 284 psEnc->sCmn.ltp_mem_length = silk_SMULBB( LTP_MEM_LENGTH_MS, fs_kHz ); in silk_setup_fs()
|
/external/libopus/silk/x86/ |
D | NSQ_sse4_1.c | 176 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 …]
|
D | NSQ_del_dec_sse4_1.c | 161 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/ |
D | find_pitch_lags_FLP.c | 56 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()
|
D | encode_frame_FLP.c | 120 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()
|
D | find_pred_coefs_FLP.c | 62 …celt_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + … in silk_find_pred_coefs_FLP()
|
/external/libopus/silk/fixed/ |
D | encode_frame_FIX.c | 119 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()
|
D | find_pitch_lags_FIX.c | 59 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FIX()
|
D | find_pred_coefs_FIX.c | 83 …celt_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + … in silk_find_pred_coefs_FIX()
|
/external/libopus/silk/arm/ |
D | NSQ_del_dec_neon_intr.c | 291 …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 …]
|