aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcolour.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-15 21:26:29 +0100
committerMattias Andrée <maandree@kth.se>2016-12-15 21:26:29 +0100
commit5e4d0f271eab0be49103383299d1beb1559475eb (patch)
tree40083687a3023d7a7dc9073e8d396c189b1c14e9 /src/libcolour.c
parentadd todos (diff)
downloadlibcolour-5e4d0f271eab0be49103383299d1beb1559475eb.tar.gz
libcolour-5e4d0f271eab0be49103383299d1beb1559475eb.tar.bz2
libcolour-5e4d0f271eab0be49103383299d1beb1559475eb.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/libcolour.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcolour.c b/src/libcolour.c
index 3e15bd2..7799534 100644
--- a/src/libcolour.c
+++ b/src/libcolour.c
@@ -657,6 +657,8 @@ static void to_ydbdr(const libcolour_colour_t* restrict from, libcolour_ydbdr_t*
static void to_yuv(const libcolour_colour_t* restrict from, libcolour_yuv_t* restrict to)
{
+ /* TODO to_yuv: add direct conversion from and to CIE XYZ and use it as the default intermediary */
+ /* TODO to_yub: add direct conversion from and to sRGB */
libcolour_colour_t tmp = *from;
switch (from->model) {
case LIBCOLOUR_YUV: