]> git.videolan.org Git - x264.git/commit
use lookup tables instead of actual exp/pow for AQ
authorLoren Merritt <pengvado@akuvian.org>
Thu, 11 Dec 2008 04:54:17 +0000 (20:54 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Thu, 11 Dec 2008 08:44:35 +0000 (00:44 -0800)
commit549cc55b50df76d5167c0ace75c62595feb753ca
tree176ffd309a4775b164f672366c8c845b1468e1f1
parent877d22e071f1b73fb33c628cc273e2819d10c3de
use lookup tables instead of actual exp/pow for AQ
Significant speed boost, especially on CPUs with atrociously slow floating point units (e.g. Pentium 4 saves 800 clocks per MB with this change).
Add x264_clz function as part of the LUT system: this may be useful later.
Note this changes output somewhat as the numbers from the lookup table are not exact.
common/osdep.h
encoder/ratecontrol.c