Lines Matching refs:nbSubframes

215    st->nbSubframes = mode->frameSize/mode->subframeSize;  in sb_encoder_init()
245 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t)); in sb_encoder_init()
246 st->exc_rms = (spx_word16_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word16_t)); in sb_encoder_init()
351 ALLOC(low_innov_rms, st->nbSubframes, spx_word16_t); in sb_encode()
361 ALLOC(low_pi_gain, st->nbSubframes, spx_word32_t); in sb_encode()
362 ALLOC(low_exc_rms, st->nbSubframes, spx_word16_t); in sb_encode()
548 for (sub=0;sub<st->nbSubframes;sub++) in sb_encode()
566 lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, sub, st->nbSubframes); in sb_encode()
567 lsp_interpolate(st->old_qlsp, qlsp, interp_qlsp, st->lpcSize, sub, st->nbSubframes); in sb_encode()
778 st->nbSubframes = mode->frameSize/mode->subframeSize; in sb_decoder_init()
798 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t)); in sb_decoder_init()
799 st->exc_rms = (spx_word16_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word16_t)); in sb_decoder_init()
962 ALLOC(low_pi_gain, st->nbSubframes, spx_word32_t); in sb_decode()
963 ALLOC(low_exc_rms, st->nbSubframes, spx_word16_t); in sb_decode()
979 for (sub=0;sub<st->nbSubframes;sub++) in sb_decode()
1000 lsp_interpolate(st->old_qlsp, qlsp, interp_qlsp, st->lpcSize, sub, st->nbSubframes); in sb_decode()
1087 …er_sum = ADD32(exc_ener_sum, DIV32(MULT16_16(st->exc_rms[sub],st->exc_rms[sub]), st->nbSubframes)); in sb_decode()
1328 for (i=0;i<st->nbSubframes;i++) in sb_encoder_ctl()
1335 for (i=0;i<st->nbSubframes;i++) in sb_encoder_ctl()
1457 for (i=0;i<st->nbSubframes;i++) in sb_decoder_ctl()
1464 for (i=0;i<st->nbSubframes;i++) in sb_decoder_ctl()