From d55ad59a8a67b73f3370ee01efd0051fbffe3577 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Fri, 5 Aug 2011 16:00:18 -0400 Subject: 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. --- libavcodec/ac3enc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/ac3enc.h') 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); -- cgit v1.2.3