OSDN Git Service

use scale factor instead of sum for downmix level adjustment. avoids division
authorJustin Ruggles <justin.ruggles@gmail.com>
Sat, 1 Mar 2008 16:10:19 +0000 (16:10 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 1 Mar 2008 16:10:19 +0000 (16:10 +0000)
commitd8870f120ea5f46940bac63a90424ca6a6000ad9
tree22440d7faf955831dbfcb74066679151c56c1893
parent9d10e6e6c0577c67fa0e0309240b10597ea29ded
use scale factor instead of sum for downmix level adjustment. avoids division
inside downmix loop. 7% faster 5.1-to-stereo downmixing.

Originally committed as revision 12287 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3dec.c