Lines Matching defs:mtab

182     const TwinVQModeTab *mtab = tctx->mtab;
185 int min_period = ROUNDED_DIV(40 * 2 * mtab->size, isampf);
186 int max_period = ROUNDED_DIV(40 * 2 * mtab->size * 6, isampf);
188 float pgain_step = 25000.0 / ((1 << mtab->pgain_bit) - 1);
198 (1 << mtab->ppc_period_bit) - 1);
203 width = ROUNDED_DIV((period + 800) * mtab->peak_per2wid,
204 400 * mtab->size);
206 width = period * mtab->peak_per2wid / (400 * mtab->size);
208 add_peak(period, width, shape, ppc_gain, speech, mtab->ppc_shape_len);
215 const TwinVQModeTab *mtab = tctx->mtab;
219 int bark_n_coef = mtab->fmode[ftype].bark_n_coef;
220 int fw_cb_len = mtab->fmode[ftype].bark_env_size / bark_n_coef;
225 float tmp2 = mtab->fmode[ftype].bark_cb[fw_cb_len * in[j] + i] *
234 twinvq_memset_float(out, st * gain, mtab->fmode[ftype].bark_tab[idx]);
235 out += mtab->fmode[ftype].bark_tab[idx];
256 const TwinVQModeTab *mtab = tctx->mtab;
275 sub = mtab->fmode[bits->ftype].sub;
281 for (k = 0; k < mtab->fmode[bits->ftype].bark_n_coef; k++)
283 get_bits(&gb, mtab->fmode[bits->ftype].bark_n_bit);
302 bits->lpc_hist_idx[i] = get_bits(&gb, mtab->lsp_bit0);
303 bits->lpc_idx1[i] = get_bits(&gb, mtab->lsp_bit1);
305 for (j = 0; j < mtab->lsp_split; j++)
306 bits->lpc_idx2[i][j] = get_bits(&gb, mtab->lsp_bit2);
312 bits->p_coef[i] = get_bits(&gb, mtab->ppc_period_bit);
313 bits->g_coef[i] = get_bits(&gb, mtab->pgain_bit);
368 tctx->mtab = &mode_08_08;
371 tctx->mtab = &mode_11_08;
374 tctx->mtab = &mode_11_10;
377 tctx->mtab = &mode_16_16;
380 tctx->mtab = &mode_22_20;
383 tctx->mtab = &mode_22_24;
386 tctx->mtab = &mode_22_32;
389 tctx->mtab = &mode_44_40;
392 tctx->mtab = &mode_44_48;
405 tctx->frame_size = avctx->bit_rate * tctx->mtab->size