diff options
author | Mattias Andrée <maandree@kth.se> | 2016-12-15 20:07:39 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-12-15 20:07:39 +0100 |
commit | e51253c36c1fbf7a33f5b923931e70fb07816a21 (patch) | |
tree | 6d184805c77a5a7e9ae6d2de6a97e516ac4e360d /src | |
parent | doc: illuminants (diff) | |
download | libcolour-e51253c36c1fbf7a33f5b923931e70fb07816a21.tar.gz libcolour-e51253c36c1fbf7a33f5b923931e70fb07816a21.tar.bz2 libcolour-e51253c36c1fbf7a33f5b923931e70fb07816a21.tar.xz |
add todos
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-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 */ |