OSDN Git Service

aacenc: Fix threshold-in-quiet calculation in the 3GPP psymodel.
authorNathan Caldwell <saintdev@gmail.com>
Wed, 27 Oct 2010 05:54:44 +0000 (05:54 +0000)
committerAnton Khirnov <wyskas@gmail.com>
Wed, 27 Oct 2010 05:54:44 +0000 (05:54 +0000)
commit4df5aebb811aac306751f42ccf7db8398161604e
tree02bc6ec7d921c32e197f27b5dbb385c94b1ef016
parenteafadadaf502560d1d3c2a1cb8e8cb9991221e14
aacenc: Fix threshold-in-quiet calculation in the 3GPP psymodel.

Removing the modification vastly improves quality (at a slight bitrate
cost) for some samples. castanets.wav is a good example. The closest
equivalent I see to the modification in the 3GPP spec is a similar
modification (over a specific frequency range) when TNS is used.

This also changes the threshold-in-quiet calculation to match the
3GPP spec.

patch by Nathan Caldwell saintdev (at) gmail

Originally committed as revision 25588 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aacpsy.c