Copy bap from previous block when exponent strategy is EXP_REUSE.
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 16 Dec 2010 22:47:07 +0000 (22:47 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 16 Dec 2010 22:47:07 +0000 (22:47 +0000)
commit795063db3b9f62e9ebf47d0ee99932bf4aea6800
treefd72ac52062fbb21ebd04b66dff64f414dc2d7e0
parent126a29b871e9c4a52351655801f343d0e022eb50
Copy bap from previous block when exponent strategy is EXP_REUSE.
We can do this because exponents are the only bit allocation parameters which
change from block-to-block currently.
Approx. 57% faster in function bit_alloc().
Approx. 25% faster overall encoding.

Originally committed as revision 26040 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c