aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-02 22:09:08 +0100
committerMattias Andrée <maandree@kth.se>2016-12-02 22:09:08 +0100
commit5796370cc9df515a5c0b37ac0444af262247af66 (patch)
treee5a4c3e0b863383ccd1d36a989dae72a4da8604b /src/test.c
parentupdate news (diff)
downloadlibclut-5796370cc9df515a5c0b37ac0444af262247af66.tar.gz
libclut-5796370cc9df515a5c0b37ac0444af262247af66.tar.bz2
libclut-5796370cc9df515a5c0b37ac0444af262247af66.tar.xz
Add new colour spaces
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/test.c26
1 files changed, 22 insertions, 4 deletions
diff --git a/src/test.c b/src/test.c
index d7ee130..b4491a8 100644
--- a/src/test.c
+++ b/src/test.c
@@ -358,11 +358,31 @@ int main(int argc, char *argv[])
}
- libclut_convert_rgb_inplace(&t1, 1, double, M, trunc);
- libclut_convert_rgb(&t1, 1, double, M, trunc, &t2);
+ libclut_convert_rgb_inplace(&t1, 1, double, M, trunc); /* TODO test */
+ libclut_convert_rgb(&t1, 1, double, M, trunc, &t2); /* TODO test */
rgb_conversion_done:
+
+
+ libclut_model_ciexyz_to_cieluv(1, 1, 1, 1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_cieluv_to_ciexyz(1, 1, 1, 1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_cielch_to_cieluv(1, 1, &r, &g); /* TODO test */
+ libclut_model_cieluv_to_cielch(1, 1, &r, &g); /* TODO test */
+ libclut_model_srgb_to_yiq(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_yiq_to_srgb(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_srgb_to_ydbdr(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_ydbdr_to_srgb(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_yuv_to_ydbdr(1, 1, &r, &g); /* TODO test */
+ libclut_model_ydbdr_to_yuv(1, 1, &r, &g); /* TODO test */
+ libclut_model_srgb_to_ypbpr(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_ypbpr_to_srgb(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_srgb_to_ycgco(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_ycgco_to_srgb(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_cie_1960_ucs_to_ciexyz(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_ciexyz_to_cie_1960_ucs(1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_cieuvw_to_cie_1960_ucs(1, 1, 1, 1, 1, &r, &g, &b); /* TODO test */
+ libclut_model_cie_1960_ucs_to_cieuvw(1, 1, 1, 1, 1, &r, &g, &b); /* TODO test */
if (!rc)
@@ -393,7 +413,5 @@ int main(int argc, char *argv[])
libclut_cie_limits
libclut_cie_manipulate
libclut_cie_apply
- libclut_convert_rgb_inplace
- libclut_convert_rgb
*/