Home
last modified time | relevance | path

Searched refs:nbSubframes (Results 1 – 4 of 4) sorted by relevance

/external/speex/libspeex/
Dsb_celp.c215 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()
[all …]
Dsb_celp.h50 int nbSubframes; /**< Number of high-band sub-frames*/ member
105 int nbSubframes; member
Dnb_celp.h55 int nbSubframes; /**< Number of sub-frames */ member
129 int nbSubframes; /**< Number of sub-frames */ member
Dnb_celp.c133 st->nbSubframes=mode->frameSize/mode->subframeSize; in nb_encoder_init()
183 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t)); in nb_encoder_init()
186 st->pitch = (int*)speex_alloc((st->nbSubframes)*sizeof(int)); in nb_encoder_init()
344 … lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, st->nbSubframes, st->nbSubframes<<1); in nb_encode()
647 for (sub=0;sub<st->nbSubframes;sub++) in nb_encode()
663 lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, sub, st->nbSubframes); in nb_encode()
664 lsp_interpolate(st->old_qlsp, qlsp, interp_qlsp, st->lpcSize, sub, st->nbSubframes); in nb_encode()
689 float fact = ((float)sub+1.0f)/st->nbSubframes; in nb_encode()
948 st->nbSubframes=mode->frameSize/mode->subframeSize; in nb_decoder_init()
966 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t)); in nb_decoder_init()
[all …]