ac3enc: separate exponent bit counting from exponent grouping.
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 5 Aug 2011 20:00:18 +0000 (16:00 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 9 Aug 2011 20:28:18 +0000 (16:28 -0400)
commitd55ad59a8a67b73f3370ee01efd0051fbffe3577
tree31ed0608a919c255c74ba047d3514d37f0145ad2
parent12fe75942316dd13dec42502145fd3292882f510
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.c
libavcodec/ac3enc.h
libavcodec/ac3enc_template.c