ref: 9100891c84b449d0de9615aba688364dd630b068
parent: 3eda05d9718f56dab29ea5eeb11919f288be14a6
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Tue Aug 15 11:21:00 EDT 2017
give more quality to lower frequencies, less quality to highs
--- a/libfaac/quantize.c
+++ b/libfaac/quantize.c
@@ -82,6 +82,9 @@
target *= 0.45;
}
+
+ target *= 1.0 / (0.75 + ((start+end)/last));
+
bandqual[sfb] = 3.5 * target * quality;
}
}