• Home
  • Raw
  • Download

Lines Matching refs:exp_strategy

430         uint8_t *exp_strategy = s->exp_strategy[ch];  in compute_exp_strategy()  local
436 exp_strategy[0] = EXP_NEW; in compute_exp_strategy()
441 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
444 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
448 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
452 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
454 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
456 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
464 while (blk1 < s->num_blocks && exp_strategy[blk1] == EXP_REUSE) in compute_exp_strategy()
466 exp_strategy[blk] = exp_strategy_reuse_tab[s->num_blks_code][blk1-blk-1]; in compute_exp_strategy()
472 s->exp_strategy[ch][0] = EXP_D15; in compute_exp_strategy()
474 s->exp_strategy[ch][blk] = EXP_REUSE; in compute_exp_strategy()
491 static void encode_exponents_blk_ch(uint8_t *exp, int nb_exps, int exp_strategy, in encode_exponents_blk_ch() argument
496 nb_groups = exponent_group_tab[cpl][exp_strategy-1][nb_exps] * 3; in encode_exponents_blk_ch()
499 switch(exp_strategy) { in encode_exponents_blk_ch()
540 switch (exp_strategy) { in encode_exponents_blk_ch()
567 uint8_t *exp, *exp_strategy; in encode_exponents() local
572 exp_strategy = s->exp_strategy[ch]; in encode_exponents()
589 while (blk1 < s->num_blocks && exp_strategy[blk1] == EXP_REUSE) { in encode_exponents()
599 encode_exponents_blk_ch(exp, nb_coefs, exp_strategy[blk], cpl); in encode_exponents()
623 int exp_strategy = s->exp_strategy[ch][blk]; in count_exponent_bits() local
627 if (exp_strategy == EXP_REUSE) in count_exponent_bits()
630 nb_groups = exponent_group_tab[cpl][exp_strategy-1][nb_coefs]; in count_exponent_bits()
657 int exp_strategy = s->exp_strategy[ch][blk]; in ac3_group_exponents() local
658 if (exp_strategy == EXP_REUSE) in ac3_group_exponents()
661 group_size = exp_strategy + (exp_strategy == EXP_D45); in ac3_group_exponents()
662 … nb_groups = exponent_group_tab[cpl][exp_strategy-1][block->end_freq[ch]-s->start_freq[ch]]; in ac3_group_exponents()
973 if (s->exp_strategy[ch][blk] != EXP_REUSE) { in count_frame_bits()
1018 if (s->exp_strategy[ch][blk] != EXP_REUSE) { in bit_alloc_masking()
1146 if (s->exp_strategy[ch][blk] != EXP_REUSE) { in bit_alloc()
1537 put_bits(&s->pb, 2, s->exp_strategy[ch][blk]); in output_audio_block()
1539 put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]); in output_audio_block()
1544 if (s->exp_strategy[ch][blk] != EXP_REUSE && !block->channel_in_cpl[ch]) in output_audio_block()
1553 if (s->exp_strategy[ch][blk] == EXP_REUSE) in output_audio_block()
1560 …nb_groups = exponent_group_tab[cpl][s->exp_strategy[ch][blk]-1][block->end_freq[ch]-s->start_freq[… in output_audio_block()