OSDN Git Service

ac3enc: Change EXP_DIFF_THRESHOLD to 500.
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 2 Feb 2011 18:23:59 +0000 (18:23 +0000)
committerMans Rullgard <mans@mansr.com>
Wed, 2 Feb 2011 20:00:43 +0000 (20:00 +0000)
commitc3beafa0f14fd81ab43083f61872cbd5426647cf
tree74fcb48781459d5924bb8d1f2751a216e5adcca2
parent5fce60c3a9fbb21e580bad9165bf19d86ee7d96f
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>
libavcodec/ac3enc.c
tests/ref/acodec/ac3_fixed
tests/ref/lavf/rm