diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-04 22:22:34 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-04 22:22:34 +0200 |
commit | f8f1a80e16b08f7f22494ae6ee206f8f2b446505 (patch) | |
tree | e5f9b511ca6424ef7aec401d0979303eb0aacb53 | |
parent | draft of image filtering (diff) | |
download | blueshift-demomode-f8f1a80e16b08f7f22494ae6ee206f8f2b446505.tar.gz blueshift-demomode-f8f1a80e16b08f7f22494ae6ee206f8f2b446505.tar.bz2 blueshift-demomode-f8f1a80e16b08f7f22494ae6ee206f8f2b446505.tar.xz |
add todo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/blueshift-demomode-image.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blueshift-demomode-image.c b/src/blueshift-demomode-image.c index f2d55b9..8a3596a 100644 --- a/src/blueshift-demomode-image.c +++ b/src/blueshift-demomode-image.c @@ -152,6 +152,9 @@ static uint32_t* int_split(char* buffer, size_t* out_n) } +/* TODO precalculate */ + + static inline void conv1(unsigned char* in, unsigned char* out, uint32_t* lut, size_t lutsize, uint32_t lutmax) { size_t n = ((uint32_t)*in * lutsize + maxval / 2) / maxval; |