diff options
Diffstat (limited to '')
-rw-r--r-- | src/libcolour.c | 3 | ||||
-rw-r--r-- | src/libcolour.h | 2 |
2 files changed, 4 insertions, 1 deletions
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 */ |