/external/speex/libspeex/ |
H A D | cb_search.c | 107 int nsf, /* number of samples in subframe */ 147 ALLOC(t, nsf, spx_word16_t); 148 ALLOC(e, nsf, spx_sig_t); 151 SPEEX_COPY(t, target, nsf); 218 target_update(t+subvect_size*(i+1), g, r+q, nsf-subvect_size*(i+1)); 224 for (j=0;j<nsf;j++) 231 ALLOC(r2, nsf, spx_word16_t); 232 for (j=0;j<nsf;j++) 234 syn_percep_zero16(r2, ak, awk1, awk2, r2, nsf,p, stack); 235 for (j=0;j<nsf; 100 split_cb_search_shape_sign_N1( spx_word16_t target[], spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], const void *par, int p, int nsf, spx_sig_t *exc, spx_word16_t *r, SpeexBits *bits, char *stack, int update_target ) argument 242 split_cb_search_shape_sign( spx_word16_t target[], spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], const void *par, int p, int nsf, spx_sig_t *exc, spx_word16_t *r, SpeexBits *bits, char *stack, int complexity, int update_target ) argument 514 split_cb_shape_sign_unquant( spx_sig_t *exc, const void *par, int nsf, SpeexBits *bits, char *stack, spx_int32_t *seed ) argument 572 noise_codebook_quant( spx_word16_t target[], spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], const void *par, int p, int nsf, spx_sig_t *exc, spx_word16_t *r, SpeexBits *bits, char *stack, int complexity, int update_target ) argument 599 noise_codebook_unquant( spx_sig_t *exc, const void *par, int nsf, SpeexBits *bits, char *stack, spx_int32_t *seed ) argument [all...] |
H A D | filters.c | 658 int nsf, /*sub-frame size*/ 685 open_loop_nbest_pitch(exc, 20, 120, nsf, 707 ALLOC(iexc, 2*nsf, spx_word16_t); 711 interp_pitch(exc, iexc+nsf, 2*corr_pitch, 80); 713 interp_pitch(exc, iexc+nsf, -corr_pitch, 80); 716 for (i=0;i<nsf;i++) 726 for (i=0;i<nsf;i++) 728 for (i=0;i<2*nsf;i++) 732 /*interp_pitch(exc, iexc+2*nsf, 2*corr_pitch, 80);*/ 735 iexc0_mag = spx_sqrt(1000+inner_prod(iexc,iexc,nsf)); 653 multicomb( spx_word16_t *exc, spx_word16_t *new_exc, spx_coef_t *ak, int p, int nsf, int pitch, int max_pitch, spx_word16_t comb_gain, char *stack ) argument [all...] |
H A D | ltp.c | 358 int nsf, /* Number of samples in subframe */ 381 ALLOC(tmp1, 3*nsf, spx_word16_t); 382 ALLOC(e, nsf, spx_word16_t); 388 x[1]=tmp1+nsf; 389 x[2]=tmp1+2*nsf; 391 for (j=0;j<nsf;j++) 398 for (j=0;j<nsf;j++) 411 for (j=0;j<nsf;j++) 413 for (j=0;j<nsf;j++) 419 iir_mem16(e, ak, e, nsf, 348 pitch_gain_search_3tap( const spx_word16_t target[], const spx_coef_t ak[], const spx_coef_t awk1[], const spx_coef_t awk2[], spx_sig_t exc[], const signed char *gain_cdbk, int gain_cdbk_size, int pitch, int p, int nsf, SpeexBits *bits, char *stack, const spx_word16_t *exc2, const spx_word16_t *r, spx_word16_t *new_target, int *cdbk_index, int plc_tuning, spx_word32_t cumul_gain, int scaledown ) argument 528 pitch_search_3tap( spx_word16_t target[], spx_word16_t *sw, spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], spx_sig_t exc[], const void *par, int start, int end, spx_word16_t pitch_coef, int p, int nsf, SpeexBits *bits, char *stack, spx_word16_t *exc2, spx_word16_t *r, int complexity, int cdbk_offset, int plc_tuning, spx_word32_t *cumul_gain ) argument 655 pitch_unquant_3tap( spx_word16_t exc[], spx_word32_t exc_out[], int start, int end, spx_word16_t pitch_coef, const void *par, int nsf, int *pitch_val, spx_word16_t *gain_val, SpeexBits *bits, char *stack, int count_lost, int subframe_offset, spx_word16_t last_pitch_gain, int cdbk_offset ) argument 755 forced_pitch_quant( spx_word16_t target[], spx_word16_t *sw, spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], spx_sig_t exc[], const void *par, int start, int end, spx_word16_t pitch_coef, int p, int nsf, SpeexBits *bits, char *stack, spx_word16_t *exc2, spx_word16_t *r, int complexity, int cdbk_offset, int plc_tuning, spx_word32_t *cumul_gain ) argument 805 forced_pitch_unquant( spx_word16_t exc[], spx_word32_t exc_out[], int start, int end, spx_word16_t pitch_coef, const void *par, int nsf, int *pitch_val, spx_word16_t *gain_val, SpeexBits *bits, char *stack, int count_lost, int subframe_offset, spx_word16_t last_pitch_gain, int cdbk_offset ) argument [all...] |