Lines Matching refs:ftype
212 enum TwinVQFrameType ftype)
216 float *hist = tctx->bark_hist[ftype][ch];
217 float val = ((const float []) { 0.4, 0.35, 0.28 })[ftype];
218 int bark_n_coef = mtab->fmode[ftype].bark_n_coef;
219 int fw_cb_len = mtab->fmode[ftype].bark_env_size / bark_n_coef;
224 float tmp2 = mtab->fmode[ftype].bark_cb[fw_cb_len * in[j] + i] *
233 twinvq_memset_float(out, st * gain, mtab->fmode[ftype].bark_tab[idx]);
234 out += mtab->fmode[ftype].bark_tab[idx];
239 uint8_t *dst, enum TwinVQFrameType ftype)
243 for (i = 0; i < tctx->n_div[ftype]; i++) {
244 int bs_second_part = (i >= tctx->bits_main_spec_change[ftype]);
246 *dst++ = get_bits(gb, tctx->bits_main_spec[0][ftype][bs_second_part]);
247 *dst++ = get_bits(gb, tctx->bits_main_spec[1][ftype][bs_second_part]);
271 bits->ftype = ff_twinvq_wtype_to_ftype_table[tctx->bits[0].window_type];
273 sub = mtab->fmode[bits->ftype].sub;
275 read_cb_data(tctx, &gb, bits->main_coeffs, bits->ftype);
279 for (k = 0; k < mtab->fmode[bits->ftype].bark_n_coef; k++)
281 get_bits(&gb, mtab->fmode[bits->ftype].bark_n_bit);
287 if (bits->ftype == TWINVQ_FT_LONG) {
307 if (bits->ftype == TWINVQ_FT_LONG) {