diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-08-05 16:00:18 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-08-09 16:28:18 -0400 |
commit | d55ad59a8a67b73f3370ee01efd0051fbffe3577 (patch) | |
tree | 31ed0608a919c255c74ba047d3514d37f0145ad2 /libavcodec/ac3enc.h | |
parent | 12fe75942316dd13dec42502145fd3292882f510 (diff) | |
download | ffmpeg-d55ad59a8a67b73f3370ee01efd0051fbffe3577.tar.gz |
ac3enc: separate exponent bit counting from exponent grouping.
Move bit counting to the bit allocation function. Move exponent grouping to
after bit allocation. This will allow for adjustment of bandwidth parameters
during bit allocation without having to do exponent grouping multiple times.
Diffstat (limited to 'libavcodec/ac3enc.h')
-rw-r--r-- | libavcodec/ac3enc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h index 6d57143a01..c1e69b101f 100644 --- a/libavcodec/ac3enc.h +++ b/libavcodec/ac3enc.h @@ -257,6 +257,8 @@ void ff_ac3_process_exponents(AC3EncodeContext *s); int ff_ac3_compute_bit_allocation(AC3EncodeContext *s); +void ff_ac3_group_exponents(AC3EncodeContext *s); + void ff_ac3_quantize_mantissas(AC3EncodeContext *s); void ff_ac3_output_frame(AC3EncodeContext *s, unsigned char *frame); |