Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
H A Deac3enc.c77 int expstr = eac3_frame_expstr_index_tab[s->exp_strategy[ch][0]-1] in ff_eac3_get_frame_exp_strategy()
78 [s->exp_strategy[ch][1]] in ff_eac3_get_frame_exp_strategy()
79 [s->exp_strategy[ch][2]] in ff_eac3_get_frame_exp_strategy()
80 [s->exp_strategy[ch][3]] in ff_eac3_get_frame_exp_strategy()
81 [s->exp_strategy[ch][4]] in ff_eac3_get_frame_exp_strategy()
82 [s->exp_strategy[ch][5]]; in ff_eac3_get_frame_exp_strategy()
226 put_bits(&s->pb, 2, s->exp_strategy[ch][blk]); in ff_eac3_output_frame_header()
230 put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]); in ff_eac3_output_frame_header()
H A Dac3enc.c484 uint8_t *exp_strategy = s->exp_strategy[ch]; in compute_exp_strategy() local
490 exp_strategy[0] = EXP_NEW; in compute_exp_strategy()
495 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
498 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
502 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
506 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
508 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
510 exp_strategy[blk] = EXP_NEW; in compute_exp_strategy()
518 while (blk1 < s->num_blocks && exp_strategy[blk in compute_exp_strategy()
545 encode_exponents_blk_ch(uint8_t *exp, int nb_exps, int exp_strategy, int cpl) encode_exponents_blk_ch() argument
621 uint8_t *exp, *exp_strategy; encode_exponents() local
677 int exp_strategy = s->exp_strategy[ch][blk]; count_exponent_bits() local
711 int exp_strategy = s->exp_strategy[ch][blk]; ac3_group_exponents() local
[all...]
H A Dac3dec.c452 GetBitContext *gbc, int exp_strategy, int ngrps, in decode_exponents()
460 group_size = exp_strategy + (exp_strategy == EXP_D45); in decode_exponents()
1197 s->exp_strategy[blk][ch] = get_bits(gbc, 2 - (ch == s->lfe_ch)); in decode_audio_block()
1198 if (s->exp_strategy[blk][ch] != EXP_REUSE) in decode_audio_block()
1205 if (s->exp_strategy[blk][ch] != EXP_REUSE) { in decode_audio_block()
1220 group_size = 3 << (s->exp_strategy[blk][ch] - 1); in decode_audio_block()
1226 if (cpl_in_use && s->exp_strategy[blk][CPL_CH] != EXP_REUSE) { in decode_audio_block()
1228 (3 << (s->exp_strategy[blk][CPL_CH] - 1)); in decode_audio_block()
1233 if (s->exp_strategy[bl in decode_audio_block()
451 decode_exponents(AC3DecodeContext *s, GetBitContext *gbc, int exp_strategy, int ngrps, uint8_t absexp, int8_t *dexps) decode_exponents() argument
[all...]
H A Deac3dec.c533 s->exp_strategy[blk][ch] = get_bits(gbc, 2); in ff_eac3_parse_header()
541 s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk]; in ff_eac3_parse_header()
548 s->exp_strategy[blk][s->lfe_ch] = get_bits1(gbc); in ff_eac3_parse_header()
567 if ((s->exp_strategy[blk][ch] != EXP_REUSE) || in ff_eac3_parse_header()
H A Dac3dec.h199 int exp_strategy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS]; ///< exponent strategies (expstr) member
H A Dac3enc.h250 uint8_t exp_strategy[AC3_MAX_CHANNELS][AC3_MAX_BLOCKS]; ///< exponent strategies member
H A Ddolby_e.c71 int exp_strategy[MAX_GROUPS]; member
668 c->exp_strategy[i] = !i || g->nb_exponent != p->nb_exponent || get_bits1(&s->gb); in parse_exponents()
669 if (c->exp_strategy[i]) { in parse_exponents()
802 if (c->exp_strategy[i] || bap_strategy[i]) { in parse_bit_alloc()

Completed in 9 milliseconds