Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Deac3enc.c79 int expstr = eac3_frame_expstr_index_tab[s->exp_strategy[ch][0]-1] in ff_eac3_get_frame_exp_strategy()
80 [s->exp_strategy[ch][1]] in ff_eac3_get_frame_exp_strategy()
81 [s->exp_strategy[ch][2]] in ff_eac3_get_frame_exp_strategy()
82 [s->exp_strategy[ch][3]] in ff_eac3_get_frame_exp_strategy()
83 [s->exp_strategy[ch][4]] in ff_eac3_get_frame_exp_strategy()
84 [s->exp_strategy[ch][5]]; in ff_eac3_get_frame_exp_strategy()
228 put_bits(&s->pb, 2, s->exp_strategy[ch][blk]); in ff_eac3_output_frame_header()
232 put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]); in ff_eac3_output_frame_header()
Dac3enc.c363 uint8_t *exp_strategy = s->exp_strategy[ch]; in compute_exp_strategy() local
369 exp_strategy[0] = EXP_NEW; in compute_exp_strategy()
374 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
377 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
381 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
385 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
387 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
389 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
397 while (blk1 < s->num_blocks && exp_strategy[blk1] == EXP_REUSE) in compute_exp_strategy()
399 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.c429 GetBitContext *gbc, int exp_strategy, int ngrps, in decode_exponents() argument
437 group_size = exp_strategy + (exp_strategy == EXP_D45); in decode_exponents()
1174 s->exp_strategy[blk][ch] = get_bits(gbc, 2 - (ch == s->lfe_ch)); in decode_audio_block()
1175 if (s->exp_strategy[blk][ch] != EXP_REUSE) in decode_audio_block()
1182 if (s->exp_strategy[blk][ch] != EXP_REUSE) { in decode_audio_block()
1197 group_size = 3 << (s->exp_strategy[blk][ch] - 1); in decode_audio_block()
1203 if (cpl_in_use && s->exp_strategy[blk][CPL_CH] != EXP_REUSE) { in decode_audio_block()
1205 (3 << (s->exp_strategy[blk][CPL_CH] - 1)); in decode_audio_block()
1210 if (s->exp_strategy[blk][ch] != EXP_REUSE) { in decode_audio_block()
1212 if (decode_exponents(s, gbc, s->exp_strategy[blk][ch], in decode_audio_block()
Ddolby_e.h69 int exp_strategy[MAX_GROUPS]; member
Dac3dec.h197 int exp_strategy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS]; ///< exponent strategies (expstr) member
Dac3enc.h251 uint8_t exp_strategy[AC3_MAX_CHANNELS][AC3_MAX_BLOCKS]; ///< exponent strategies member
Ddolby_e.c180 c->exp_strategy[i] = !i || g->nb_exponent != p->nb_exponent || get_bits1(&s->gb); in parse_exponents()
181 if (c->exp_strategy[i]) { in parse_exponents()
313 if (c->exp_strategy[i] || bap_strategy[i]) { in parse_bit_alloc()