commit | 2fe68da9e3e7a68102e144464ebcd09f226a446c | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Tue Jul 08 15:06:25 2014 +0200 |
committer | Pierre Ossman <ossman@cendio.se> | Wed Jul 09 14:17:53 2014 +0200 |
tree | cae1f42391cde7f63c7f39c669a7084326a56d69 | |
parent | 00bed5c5954a4a809c3a15554a8931ba18879c4e [diff] |
Use lookup tables for pixel upconversion You have to loop many times when converting e.g. 2 bits to 8, so have a couple of lookup tables to speed things up. We still use bit replication to get from 8 bits to 16 bits though.