From e51253c36c1fbf7a33f5b923931e70fb07816a21 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 15 Dec 2016 20:07:39 +0100 Subject: add todos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libcolour.c | 3 +++ src/libcolour.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/libcolour.c b/src/libcolour.c index 5ed8ba8..3e15bd2 100644 --- a/src/libcolour.c +++ b/src/libcolour.c @@ -602,6 +602,7 @@ static void to_cielch(const libcolour_colour_t* restrict from, libcolour_cielch_ static void to_yiq(const libcolour_colour_t* restrict from, libcolour_yiq_t* restrict to) { + /* TODO to_yiq: add direct conversion from and to CIE XYZ and use it as the default intermediary */ double r, g, b; libcolour_colour_t tmp = *from; switch (from->model) { @@ -626,6 +627,7 @@ static void to_yiq(const libcolour_colour_t* restrict from, libcolour_yiq_t* res static void to_ydbdr(const libcolour_colour_t* restrict from, libcolour_ydbdr_t* restrict to) { + /* TODO to_ydbdr: add direct conversion from and to CIE XYZ and use it as the default intermediary */ double r, g, b; libcolour_colour_t tmp = *from; switch (from->model) { @@ -695,6 +697,7 @@ static void to_ypbpr(const libcolour_colour_t* restrict from, libcolour_ypbpr_t* static void to_ycgco(const libcolour_colour_t* restrict from, libcolour_ycgco_t* restrict to) { + /* TODO to_ycgco: add direct conversion from and to CIE XYZ and use it as the default intermediary */ libcolour_colour_t tmp = *from; switch (from->model) { case LIBCOLOUR_YCGCO: diff --git a/src/libcolour.h b/src/libcolour.h index 87fb47d..330ecbe 100644 --- a/src/libcolour.h +++ b/src/libcolour.h @@ -261,7 +261,7 @@ typedef struct libcolour_rgb { enum libcolour_rgb_colour_space colour_space; } libcolour_rgb_t; -/* TODO LMS, L'M'S', ICtCp */ +/* TODO LMS, L'M'S', ICtCp, YCbCr, TSL, Y'UV, Hunter 1948 color space */ /* TODO generic additive colour space */ /* TODO generic subtractive colour space */ -- cgit v1.2.3-70-g09d2