ac3enc: Change EXP_DIFF_THRESHOLD to 500.
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 2 Feb 2011 18:23:59 +0000 (18:23 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 4 Feb 2011 02:08:10 +0000 (03:08 +0100)
commit1003022668d755fe1015a7873efa32cfb47fe849
tree0c8b1bd9fb6c93028df9e044f2cb285d35d8e12b
parent057f3d2763ee72e9c2f4e30bd2cd5e3c0ad4d431
ac3enc: Change EXP_DIFF_THRESHOLD to 500.

This patch changes the exponent difference threshold in the exponent
strategy decision function of the AC-3 encoder.  I tested lowering in
increments of 100.  From 1000 down to 500 generally increased in quality
with each step, but 400 was generally much worse.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit c3beafa0f14fd81ab43083f61872cbd5426647cf)
libavcodec/ac3enc.c
tests/ref/acodec/ac3_fixed
tests/ref/lavf/rm