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/libcolour.c | |
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 '')
-rw-r--r-- | src/libcolour.c | 3 |
1 files changed, 3 insertions, 0 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: |