Lines Matching refs:ftype
116 enum TwinVQFrameType ftype)
120 float *hist = tctx->bark_hist[ftype][ch];
121 float val = ((const float []) { 0.4, 0.35, 0.28 })[ftype];
122 int bark_n_coef = mtab->fmode[ftype].bark_n_coef;
123 int fw_cb_len = mtab->fmode[ftype].bark_env_size / bark_n_coef;
130 float tmp2 = mtab->fmode[ftype].bark_cb[fw_cb_len * in[j] + i] *
146 mtab->fmode[ftype].bark_tab[idx]);
147 out += mtab->fmode[ftype].bark_tab[idx];
152 uint8_t *dst, enum TwinVQFrameType ftype)
156 for (i = 0; i < tctx->n_div[ftype]; i++) {
157 int bs_second_part = (i >= tctx->bits_main_spec_change[ftype]);
159 *dst++ = get_bits(gb, tctx->bits_main_spec[0][ftype][bs_second_part]);
160 *dst++ = get_bits(gb, tctx->bits_main_spec[1][ftype][bs_second_part]);
187 bits->ftype = ff_twinvq_wtype_to_ftype_table[tctx->bits[tctx->cur_frame].window_type];
189 sub = mtab->fmode[bits->ftype].sub;
191 if (bits->ftype != TWINVQ_FT_SHORT && !tctx->is_6kbps)
194 read_cb_data(tctx, &gb, bits->main_coeffs, bits->ftype);
198 for (k = 0; k < mtab->fmode[bits->ftype].bark_n_coef; k++)
200 get_bits(&gb, mtab->fmode[bits->ftype].bark_n_bit);
206 if (bits->ftype == TWINVQ_FT_LONG) {
226 if (bits->ftype == TWINVQ_FT_LONG) {