commit | 92785b8f2f20b0fc16de7e771e5eb55fd8497ff8 | [log] [tgz] |
---|---|---|
author | Andrew Mahone <andrew.mahone@gmail.com> | Tue May 26 20:00:47 2009 +0000 |
committer | Andrew Mahone <andrew.mahone@gmail.com> | Tue May 26 20:00:47 2009 +0000 |
tree | 3af2399c1e1be8e56cb1b5e6787efd738dad6d52 | |
parent | c4ed88f59302882749023268ac456c415a4b1243 [diff] |
Use pre-multiplication in scaler to save one multiply per color component on ARM and Coldfire, at the cost of an extra add/shift in the horizontal scaler to reduce values to a workable range. SH-1 retains the same basic math, as the use of 16x16->32 hardware multiplication in the earlier scaler stages saves more than removing the 32x32->40 multiply to descale output. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21091 a1c6a512-1295-4272-9138-f99709370657