Home
last modified time | relevance | path

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

123

/dports/audio/aften/aften-0.0.8/libaften/
H A Dexponent_common.c61 encode_exp_blk_ch(uint8_t *exp, int ncoefs, int exp_strategy);
87 blocks[blk].exp_strategy[ch] = str_predef[4][blk]; in compute_exponent_strategy()
98 blocks[blk].exp_strategy[ch] = str_predef[str][blk]; in compute_exponent_strategy()
107 blocks[blk].exp_strategy[ctx->lfe_channel] = str_predef[1][blk]; in compute_exponent_strategy()
132 expstr = block->exp_strategy[ch]; in group_exponents()
189 while(j < A52_NUM_BLOCKS && blocks[j].exp_strategy[ch]==EXP_REUSE) { in encode_exponents()
194 blocks[i].exp_strategy[ch]); in encode_exponents()
H A Dexponent.c102 encode_exp_blk_ch(uint8_t *exp, int ncoefs, int exp_strategy) in encode_exp_blk_ch() argument
108 ngrps = nexpgrptab[exp_strategy-1][ncoefs] * 3; in encode_exp_blk_ch()
109 grpsize = exp_strategy + (exp_strategy == EXP_D45); in encode_exp_blk_ch()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A 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()
H A 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()
452 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
472 s->exp_strategy[ch][0] = EXP_D15; in compute_exp_strategy()
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()
623 int exp_strategy = s->exp_strategy[ch][blk]; in count_exponent_bits() local
657 int exp_strategy = s->exp_strategy[ch][blk]; in ac3_group_exponents() local
[all …]
H A 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()
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A 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()
H A Dac3enc.c362 uint8_t *exp_strategy = s->exp_strategy[ch]; in compute_exp_strategy() local
368 exp_strategy[0] = EXP_NEW; in compute_exp_strategy()
384 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
404 s->exp_strategy[ch][0] = EXP_D15; in compute_exp_strategy()
431 switch(exp_strategy) { in encode_exponents_blk_ch()
472 switch (exp_strategy) { in encode_exponents_blk_ch()
499 uint8_t *exp, *exp_strategy; in encode_exponents() local
504 exp_strategy = s->exp_strategy[ch]; in encode_exponents()
555 int exp_strategy = s->exp_strategy[ch][blk]; in count_exponent_bits() local
589 int exp_strategy = s->exp_strategy[ch][blk]; in ff_ac3_group_exponents() local
[all …]
H A Dac3dec.c423 static int decode_exponents(GetBitContext *gbc, int exp_strategy, int ngrps, in decode_exponents() argument
431 group_size = exp_strategy + (exp_strategy == EXP_D45); in decode_exponents()
1118 s->exp_strategy[blk][ch] = get_bits(gbc, 2 - (ch == s->lfe_ch)); in decode_audio_block()
1119 if (s->exp_strategy[blk][ch] != EXP_REUSE) in decode_audio_block()
1126 if (s->exp_strategy[blk][ch] != EXP_REUSE) { in decode_audio_block()
1141 group_size = 3 << (s->exp_strategy[blk][ch] - 1); in decode_audio_block()
1147 if (cpl_in_use && s->exp_strategy[blk][CPL_CH] != EXP_REUSE) { in decode_audio_block()
1149 (3 << (s->exp_strategy[blk][CPL_CH] - 1)); in decode_audio_block()
1154 if (s->exp_strategy[blk][ch] != EXP_REUSE) { in decode_audio_block()
1156 if (decode_exponents(gbc, s->exp_strategy[blk][ch], in decode_audio_block()
H A Deac3dec.c515 s->exp_strategy[blk][ch] = get_bits(gbc, 2); in ff_eac3_parse_header()
523 s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk]; in ff_eac3_parse_header()
530 s->exp_strategy[blk][s->lfe_ch] = get_bits1(gbc); in ff_eac3_parse_header()
549 if ((s->exp_strategy[blk][ch] != EXP_REUSE) || in ff_eac3_parse_header()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A 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()
H A 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()
385 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
405 s->exp_strategy[ch][0] = EXP_D15; in compute_exp_strategy()
432 switch(exp_strategy) { in encode_exponents_blk_ch()
473 switch (exp_strategy) { in encode_exponents_blk_ch()
500 uint8_t *exp, *exp_strategy; in encode_exponents() local
505 exp_strategy = s->exp_strategy[ch]; in encode_exponents()
556 int exp_strategy = s->exp_strategy[ch][blk]; in count_exponent_bits() local
590 int exp_strategy = s->exp_strategy[ch][blk]; in ff_ac3_group_exponents() local
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A 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()
H A 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()
452 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
472 s->exp_strategy[ch][0] = EXP_D15; in compute_exp_strategy()
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()
623 int exp_strategy = s->exp_strategy[ch][blk]; in count_exponent_bits() local
657 int exp_strategy = s->exp_strategy[ch][blk]; in ac3_group_exponents() local
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A 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()
H A 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()
385 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
405 s->exp_strategy[ch][0] = EXP_D15; in compute_exp_strategy()
432 switch(exp_strategy) { in encode_exponents_blk_ch()
473 switch (exp_strategy) { in encode_exponents_blk_ch()
500 uint8_t *exp, *exp_strategy; in encode_exponents() local
505 exp_strategy = s->exp_strategy[ch]; in encode_exponents()
556 int exp_strategy = s->exp_strategy[ch][blk]; in count_exponent_bits() local
590 int exp_strategy = s->exp_strategy[ch][blk]; in ff_ac3_group_exponents() local
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A 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()
H A Dac3enc.c362 uint8_t *exp_strategy = s->exp_strategy[ch]; in compute_exp_strategy() local
368 exp_strategy[0] = EXP_NEW; in compute_exp_strategy()
384 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
404 s->exp_strategy[ch][0] = EXP_D15; in compute_exp_strategy()
431 switch(exp_strategy) { in encode_exponents_blk_ch()
472 switch (exp_strategy) { in encode_exponents_blk_ch()
499 uint8_t *exp, *exp_strategy; in encode_exponents() local
504 exp_strategy = s->exp_strategy[ch]; in encode_exponents()
555 int exp_strategy = s->exp_strategy[ch][blk]; in count_exponent_bits() local
589 int exp_strategy = s->exp_strategy[ch][blk]; in ff_ac3_group_exponents() local
[all …]
H A Dac3dec.c423 static int decode_exponents(GetBitContext *gbc, int exp_strategy, int ngrps, in decode_exponents() argument
431 group_size = exp_strategy + (exp_strategy == EXP_D45); in decode_exponents()
1118 s->exp_strategy[blk][ch] = get_bits(gbc, 2 - (ch == s->lfe_ch)); in decode_audio_block()
1119 if (s->exp_strategy[blk][ch] != EXP_REUSE) in decode_audio_block()
1126 if (s->exp_strategy[blk][ch] != EXP_REUSE) { in decode_audio_block()
1141 group_size = 3 << (s->exp_strategy[blk][ch] - 1); in decode_audio_block()
1147 if (cpl_in_use && s->exp_strategy[blk][CPL_CH] != EXP_REUSE) { in decode_audio_block()
1149 (3 << (s->exp_strategy[blk][CPL_CH] - 1)); in decode_audio_block()
1154 if (s->exp_strategy[blk][ch] != EXP_REUSE) { in decode_audio_block()
1156 if (decode_exponents(gbc, s->exp_strategy[blk][ch], in decode_audio_block()
H A Deac3dec.c515 s->exp_strategy[blk][ch] = get_bits(gbc, 2); in ff_eac3_parse_header()
523 s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk]; in ff_eac3_parse_header()
530 s->exp_strategy[blk][s->lfe_ch] = get_bits1(gbc); in ff_eac3_parse_header()
549 if ((s->exp_strategy[blk][ch] != EXP_REUSE) || in ff_eac3_parse_header()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A 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()
H A 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()
385 exp_strategy[blk] = EXP_REUSE; in compute_exp_strategy()
405 s->exp_strategy[ch][0] = EXP_D15; in compute_exp_strategy()
432 switch(exp_strategy) { in encode_exponents_blk_ch()
473 switch (exp_strategy) { in encode_exponents_blk_ch()
500 uint8_t *exp, *exp_strategy; in encode_exponents() local
505 exp_strategy = s->exp_strategy[ch]; in encode_exponents()
556 int exp_strategy = s->exp_strategy[ch][blk]; in count_exponent_bits() local
590 int exp_strategy = s->exp_strategy[ch][blk]; in ff_ac3_group_exponents() local
[all …]
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/
H A Dac3enc.c249 exp_strategy[0][ch] = EXP_NEW; in compute_exp_strategy()
256 exp_strategy[i][ch] = EXP_NEW; in compute_exp_strategy()
258 exp_strategy[i][ch] = EXP_REUSE; in compute_exp_strategy()
272 exp_strategy[i][ch] = EXP_D45; in compute_exp_strategy()
276 exp_strategy[i][ch] = EXP_D25; in compute_exp_strategy()
279 exp_strategy[i][ch] = EXP_D15; in compute_exp_strategy()
302 int exp_strategy) in encode_exp() argument
307 switch(exp_strategy) { in encode_exp()
832 put_bits(&s->pb, 2, exp_strategy[ch]); in output_audio_block()
840 if (exp_strategy[ch] != EXP_REUSE) in output_audio_block()
[all …]
H A Dac3dec.c125 int exp_strategy[AC3_MAX_CHANNELS]; ///< exponent strategies member
405 static void decode_exponents(GetBitContext *gbc, int exp_strategy, int ngrps, in decode_exponents() argument
413 group_size = exp_strategy + (exp_strategy == EXP_D45); in decode_exponents()
895 s->exp_strategy[CPL_CH] = EXP_REUSE; in ac3_parse_audio_block()
896 s->exp_strategy[s->lfe_ch] = EXP_REUSE; in ac3_parse_audio_block()
899 s->exp_strategy[ch] = get_bits(gbc, 1); in ac3_parse_audio_block()
901 s->exp_strategy[ch] = get_bits(gbc, 2); in ac3_parse_audio_block()
902 if(s->exp_strategy[ch] != EXP_REUSE) in ac3_parse_audio_block()
909 if (s->exp_strategy[ch] != EXP_REUSE) { in ac3_parse_audio_block()
930 if (s->exp_strategy[ch] != EXP_REUSE) { in ac3_parse_audio_block()
[all …]
/dports/audio/aften/aften-0.0.8/libaften/x86/
H A Dx86_mmx_exponent.c83 encode_exp_blk_ch(uint8_t *exp, int ncoefs, int exp_strategy) in encode_exp_blk_ch() argument
88 ngrps = nexpgrptab[exp_strategy-1][ncoefs] * 3; in encode_exp_blk_ch()
89 grpsize = exp_strategy + (exp_strategy == EXP_D45); in encode_exp_blk_ch()
H A Dx86_sse2_exponent.c58 encode_exp_blk_ch(uint8_t *exp, int ncoefs, int exp_strategy) in encode_exp_blk_ch() argument
63 ngrps = nexpgrptab[exp_strategy-1][ncoefs] * 3; in encode_exp_blk_ch()
64 grpsize = exp_strategy + (exp_strategy == EXP_D45); in encode_exp_blk_ch()

123