Lines Matching refs:cba_idx
269 * @param cba_idx index of the best entry of the adaptive codebook
276 int cba_idx, int *cb1_idx, int *cb2_idx)
287 if (cba_idx)
290 find_best_vect(work, coefs, ff_cb1_vects, cba_idx ? cba_vect : NULL, NULL,
301 if (cba_idx)
310 find_best_vect(work, coefs, ff_cb2_vects, cba_idx ? cba_vect : NULL,
332 int cba_idx, cb1_idx, cb2_idx, gain;
361 cba_idx = adaptive_cb_search(ractx->adapt_cb, work + LPC_ORDER, coefs,
363 if (cba_idx) {
370 ff_copy_and_dup(ractx->buffer_a, ractx->adapt_cb, cba_idx + BLOCKSIZE / 2 - 1);
373 fixed_cb_search(work + LPC_ORDER, coefs, data, cba_idx, &cb1_idx, &cb2_idx);
394 if (cba_idx) {
415 put_bits(pb, 7, cba_idx);
419 ff_subblock_synthesis(ractx, lpc_coefs, cba_idx, cb1_idx, cb2_idx, rms,