summaryrefslogtreecommitdiffstats
path: root/src/blueshift-demomode-image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blueshift-demomode-image.c')
-rw-r--r--src/blueshift-demomode-image.c3
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;