Lines Matching defs:exp_strategy

484         uint8_t *exp_strategy = s->exp_strategy[ch];
490 exp_strategy[0] = EXP_NEW;
495 exp_strategy[blk] = EXP_NEW;
498 exp_strategy[blk] = EXP_REUSE;
502 exp_strategy[blk] = EXP_NEW;
506 exp_strategy[blk] = EXP_REUSE;
508 exp_strategy[blk] = EXP_NEW;
510 exp_strategy[blk] = EXP_NEW;
518 while (blk1 < s->num_blocks && exp_strategy[blk1] == EXP_REUSE)
520 exp_strategy[blk] = exp_strategy_reuse_tab[s->num_blks_code][blk1-blk-1];
526 s->exp_strategy[ch][0] = EXP_D15;
528 s->exp_strategy[ch][blk] = EXP_REUSE;
542 * @param exp_strategy exponent strategy for the block
545 static void encode_exponents_blk_ch(uint8_t *exp, int nb_exps, int exp_strategy,
550 nb_groups = exponent_group_tab[cpl][exp_strategy-1][nb_exps] * 3;
553 switch(exp_strategy) {
594 switch (exp_strategy) {
621 uint8_t *exp, *exp_strategy;
626 exp_strategy = s->exp_strategy[ch];
643 while (blk1 < s->num_blocks && exp_strategy[blk1] == EXP_REUSE) {
653 encode_exponents_blk_ch(exp, nb_coefs, exp_strategy[blk], cpl);
677 int exp_strategy = s->exp_strategy[ch][blk];
681 if (exp_strategy == EXP_REUSE)
684 nb_groups = exponent_group_tab[cpl][exp_strategy-1][nb_coefs];
711 int exp_strategy = s->exp_strategy[ch][blk];
712 if (exp_strategy == EXP_REUSE)
715 group_size = exp_strategy + (exp_strategy == EXP_D45);
716 nb_groups = exponent_group_tab[cpl][exp_strategy-1][block->end_freq[ch]-s->start_freq[ch]];
1028 if (s->exp_strategy[ch][blk] != EXP_REUSE) {
1072 if (s->exp_strategy[ch][blk] != EXP_REUSE) {
1200 if (s->exp_strategy[ch][blk] != EXP_REUSE) {
1592 put_bits(&s->pb, 2, s->exp_strategy[ch][blk]);
1594 put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]);
1599 if (s->exp_strategy[ch][blk] != EXP_REUSE && !block->channel_in_cpl[ch])
1608 if (s->exp_strategy[ch][blk] == EXP_REUSE)
1615 nb_groups = exponent_group_tab[cpl][s->exp_strategy[ch][blk]-1][block->end_freq[ch]-s->start_freq[ch]];