Lines Matching refs:frameSize

132    st->frameSize = mode->frameSize;  in nb_encoder_init()
133 st->nbSubframes=mode->frameSize/mode->subframeSize; in nb_encoder_init()
135 st->windowSize = st->frameSize+st->subframeSize; in nb_encoder_init()
159 st->winBuf = (spx_word16_t*)speex_alloc((st->windowSize-st->frameSize)*sizeof(spx_word16_t)); in nb_encoder_init()
161 st->excBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); in nb_encoder_init()
163 st->swBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); in nb_encoder_init()
295 SPEEX_MOVE(st->excBuf, st->excBuf+st->frameSize, st->max_pitch+2); in nb_encode()
296 SPEEX_MOVE(st->swBuf, st->swBuf+st->frameSize, st->max_pitch+2); in nb_encode()
299 …highpass(in, in, st->frameSize, (st->isWideband?HIGHPASS_WIDEBAND:HIGHPASS_NARROWBAND)|HIGHPASS_IN… in nb_encode()
307 for (i=0;i<st->windowSize-st->frameSize;i++) in nb_encode()
310 …w_sig[i] = EXTRACT16(SHR32(MULT16_16(in[i-st->windowSize+st->frameSize],st->window[i]),SIG_SHIFT)); in nb_encode()
339 int diff = st->windowSize-st->frameSize; in nb_encode()
366 SPEEX_COPY(st->sw+diff, in, st->frameSize-diff); in nb_encode()
367 …filter_mem16(st->sw, bw_lpc1, bw_lpc2, st->sw, st->frameSize, st->lpcSize, st->mem_sw_whole, stack… in nb_encode()
369 open_loop_nbest_pitch(st->sw, st->min_pitch, st->max_pitch, st->frameSize, in nb_encode()
399 SPEEX_COPY(st->exc+diff, in, st->frameSize-diff); in nb_encode()
400 fir_mem16(st->exc, interp_lpc, st->exc, st->frameSize, st->lpcSize, st->mem_exc, stack); in nb_encode()
404 spx_word16_t g = compute_rms16(st->exc, st->frameSize); in nb_encode()
414 SPEEX_MOVE(st->psy_window, st->psy_window+st->frameSize, 256-st->frameSize); in nb_encode()
415 SPEEX_COPY(&st->psy_window[256-st->frameSize], in, st->frameSize); in nb_encode()
450 …st->relative_quality = vbr_analysis(st->vbr, in, st->frameSize, ol_pitch, GAIN_SCALING_1*ol_pitch_… in nb_encode()
550 for (i=0;i<st->frameSize;i++) in nb_encode()
558 SPEEX_COPY(st->winBuf, in+2*st->frameSize-st->windowSize, st->windowSize-st->frameSize); in nb_encode()
708 speex_assert(st->windowSize-st->frameSize == st->subframeSize); in nb_encode()
914 SPEEX_COPY(st->winBuf, in+2*st->frameSize-st->windowSize, st->windowSize-st->frameSize); in nb_encode()
947 st->frameSize = mode->frameSize; in nb_decoder_init()
948 st->nbSubframes=mode->frameSize/mode->subframeSize; in nb_decoder_init()
959 …st->excBuf = (spx_word16_t*)speex_alloc((st->frameSize + 2*st->max_pitch + st->subframeSize + 12)*… in nb_decoder_init()
961 SPEEX_MEMSET(st->excBuf, 0, st->frameSize + st->max_pitch); in nb_decoder_init()
1051 innov_gain = compute_rms16(st->exc, st->frameSize); in nb_decode_lost()
1054 SPEEX_MOVE(st->excBuf, st->excBuf+st->frameSize, 2*st->max_pitch + st->subframeSize + 12); in nb_decode_lost()
1062 for (i=0;i<st->frameSize;i++) in nb_decode_lost()
1069 iir_mem16(&st->exc[-st->subframeSize], st->interp_qlpc, out, st->frameSize, in nb_decode_lost()
1071 highpass(out, out, st->frameSize, HIGHPASS_NARROWBAND|HIGHPASS_OUTPUT, st->mem_hp); in nb_decode_lost()
1201 SPEEX_MOVE(st->excBuf, st->excBuf+st->frameSize, 2*st->max_pitch + st->subframeSize + 12); in nb_decode()
1212 innov_gain = compute_rms16(st->exc, st->frameSize); in nb_decode()
1213 for (i=0;i<st->frameSize;i++) in nb_decode()
1221 iir_mem16(st->exc, lpc, out, st->frameSize, st->lpcSize, st->mem_sp, stack); in nb_decode()
1473 SPEEX_COPY(out, &st->exc[-st->subframeSize], st->frameSize); in nb_decode()
1482 exc_ener = compute_rms16 (st->exc, st->frameSize); in nb_decode()
1493 for (i=0;i<st->frameSize;i++) in nb_decode()
1542 …highpass(out, out, st->frameSize, (st->isWideband?HIGHPASS_WIDEBAND:HIGHPASS_NARROWBAND)|HIGHPASS_… in nb_decode()
1583 (*(spx_int32_t*)ptr) = st->frameSize; in nb_encoder_ctl()
1686 (*(spx_int32_t*)ptr) = st->sampling_rate*SUBMODE(bits_per_frame)/st->frameSize; in nb_encoder_ctl()
1688 (*(spx_int32_t*)ptr) = st->sampling_rate*(NB_SUBMODE_BITS+1)/st->frameSize; in nb_encoder_ctl()
1705 for (i=0;i<st->frameSize+st->max_pitch+1;i++) in nb_encoder_ctl()
1707 for (i=0;i<st->windowSize-st->frameSize;i++) in nb_encoder_ctl()
1718 (*(spx_int32_t*)ptr)=(st->windowSize-st->frameSize); in nb_encoder_ctl()
1801 (*(spx_int32_t*)ptr) = st->frameSize; in nb_decoder_ctl()
1805 (*(spx_int32_t*)ptr) = st->sampling_rate*SUBMODE(bits_per_frame)/st->frameSize; in nb_decoder_ctl()
1807 (*(spx_int32_t*)ptr) = st->sampling_rate*(NB_SUBMODE_BITS+1)/st->frameSize; in nb_decoder_ctl()
1836 for (i=0;i<st->frameSize + st->max_pitch + 1;i++) in nb_decoder_ctl()