Lines Matching refs:SUBMODE
65 #define SUBMODE(x) st->submodes[st->submodeID]->x macro
353 …s[st->submodeID] || (st->complexity>2 && SUBMODE(have_subframe_gain)<3) || SUBMODE(forced_pitch_ga… in nb_encode()
577 SUBMODE(lsp_quant)(lsp, qlsp, st->lpcSize, bits); in nb_encode()
584 if (SUBMODE(lbr_pitch)!=-1) in nb_encode()
589 if (SUBMODE(forced_pitch_gain)) in nb_encode()
760 speex_assert (SUBMODE(ltp_quant)); in nb_encode()
764 if (SUBMODE(lbr_pitch) != -1) in nb_encode()
768 margin = SUBMODE(lbr_pitch); in nb_encode()
790 pitch = SUBMODE(ltp_quant)(target, sw, interp_qlpc, bw_lpc1, bw_lpc2, in nb_encode()
791 exc32, SUBMODE(ltp_params), pit_min, pit_max, ol_pitch_coef, in nb_encode()
819 if (SUBMODE(have_subframe_gain)) in nb_encode()
822 if (SUBMODE(have_subframe_gain)==3) in nb_encode()
842 speex_assert (SUBMODE(innovation_quant)); in nb_encode()
845 SUBMODE(innovation_quant)(target, interp_qlpc, bw_lpc1, bw_lpc2, in nb_encode()
846 SUBMODE(innovation_params), st->lpcSize, st->subframeSize, in nb_encode()
847 innov, syn_resp, bits, stack, st->complexity, SUBMODE(double_codebook)); in nb_encode()
856 if (SUBMODE(double_codebook)) { in nb_encode()
863 SUBMODE(innovation_quant)(target, interp_qlpc, bw_lpc1, bw_lpc2, in nb_encode()
864 SUBMODE(innovation_params), st->lpcSize, st->subframeSize, in nb_encode()
916 if (SUBMODE(innovation_quant) == noise_codebook_quant || st->submodeID==0) in nb_encode()
1230 SUBMODE(lsp_unquant)(qlsp, st->lpcSize, bits); in nb_decode()
1257 if (SUBMODE(lbr_pitch)!=-1) in nb_decode()
1262 if (SUBMODE(forced_pitch_gain)) in nb_decode()
1321 speex_assert (SUBMODE(ltp_unquant)); in nb_decode()
1325 if (SUBMODE(lbr_pitch) != -1) in nb_decode()
1328 margin = SUBMODE(lbr_pitch); in nb_decode()
1355 SUBMODE(ltp_unquant)(exc, exc32, pit_min, pit_max, ol_pitch_coef, SUBMODE(ltp_params), in nb_decode()
1385 if (SUBMODE(have_subframe_gain)==3) in nb_decode()
1389 } else if (SUBMODE(have_subframe_gain)==1) in nb_decode()
1397 speex_assert (SUBMODE(innovation_unquant)); in nb_decode()
1400 …SUBMODE(innovation_unquant)(innov, SUBMODE(innovation_params), st->subframeSize, bits, stack, &st-… in nb_decode()
1406 if (SUBMODE(double_codebook)) in nb_decode()
1412 …SUBMODE(innovation_unquant)(innov2, SUBMODE(innovation_params), st->subframeSize, bits, stack, &st… in nb_decode()
1468 if (st->lpc_enh_enabled && SUBMODE(comb_gain)>0 && !st->count_lost) in nb_decode()
1470 …, out, st->interp_qlpc, st->lpcSize, 2*st->subframeSize, best_pitch, 40, SUBMODE(comb_gain), stack… in nb_decode()
1471 …eSize, st->interp_qlpc, st->lpcSize, 2*st->subframeSize, best_pitch, 40, SUBMODE(comb_gain), stack… in nb_decode()
1686 (*(spx_int32_t*)ptr) = st->sampling_rate*SUBMODE(bits_per_frame)/st->frameSize; in nb_encoder_ctl()
1805 (*(spx_int32_t*)ptr) = st->sampling_rate*SUBMODE(bits_per_frame)/st->frameSize; in nb_decoder_ctl()