Home
last modified time | relevance | path

Searched refs:exp_strategy (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Deac3enc.c76 int expstr = eac3_frame_expstr_index_tab[s->exp_strategy[ch][0]-1] in ff_eac3_get_frame_exp_strategy()
77 [s->exp_strategy[ch][1]] in ff_eac3_get_frame_exp_strategy()
78 [s->exp_strategy[ch][2]] in ff_eac3_get_frame_exp_strategy()
79 [s->exp_strategy[ch][3]] in ff_eac3_get_frame_exp_strategy()
80 [s->exp_strategy[ch][4]] in ff_eac3_get_frame_exp_strategy()
81 [s->exp_strategy[ch][5]]; in ff_eac3_get_frame_exp_strategy()
225 put_bits(&s->pb, 2, s->exp_strategy[ch][blk]); in ff_eac3_output_frame_header()
229 put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]); in ff_eac3_output_frame_header()
Dac3enc.c430 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()
[all …]
Deac3dec.c532 s->exp_strategy[blk][ch] = get_bits(gbc, 2); in ff_eac3_parse_header()
540 s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk]; in ff_eac3_parse_header()
547 s->exp_strategy[blk][s->lfe_ch] = get_bits1(gbc); in ff_eac3_parse_header()
566 if ((s->exp_strategy[blk][ch] != EXP_REUSE) || in ff_eac3_parse_header()
Dac3dec.c435 GetBitContext *gbc, int exp_strategy, int ngrps, in decode_exponents() argument
443 group_size = exp_strategy + (exp_strategy == EXP_D45); in decode_exponents()
1180 s->exp_strategy[blk][ch] = get_bits(gbc, 2 - (ch == s->lfe_ch)); in decode_audio_block()
1181 if (s->exp_strategy[blk][ch] != EXP_REUSE) in decode_audio_block()
1188 if (s->exp_strategy[blk][ch] != EXP_REUSE) { in decode_audio_block()
1203 group_size = 3 << (s->exp_strategy[blk][ch] - 1); in decode_audio_block()
1209 if (cpl_in_use && s->exp_strategy[blk][CPL_CH] != EXP_REUSE) { in decode_audio_block()
1211 (3 << (s->exp_strategy[blk][CPL_CH] - 1)); in decode_audio_block()
1216 if (s->exp_strategy[blk][ch] != EXP_REUSE) { in decode_audio_block()
1218 if (decode_exponents(s, gbc, s->exp_strategy[blk][ch], in decode_audio_block()
Ddolby_e.c63 int exp_strategy[MAX_GROUPS]; member
659 c->exp_strategy[i] = !i || g->nb_exponent != p->nb_exponent || get_bits1(&s->gb); in parse_exponents()
660 if (c->exp_strategy[i]) { in parse_exponents()
793 if (c->exp_strategy[i] || bap_strategy[i]) { in parse_bit_alloc()
Dac3dec.h199 int exp_strategy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS]; ///< exponent strategies (expstr) member
Dac3enc.h247 uint8_t exp_strategy[AC3_MAX_CHANNELS][AC3_MAX_BLOCKS]; ///< exponent strategies member