diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-11 02:14:49 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-11 02:14:49 +0100 |
commit | 27efefab31370db017df37ed1ec34b2f93cdefdd (patch) | |
tree | a2001804d19ed363297288fcd97262998e8d383d /src/libclut.h | |
parent | typo + macro variants of functions (diff) | |
download | libclut-27efefab31370db017df37ed1ec34b2f93cdefdd.tar.gz libclut-27efefab31370db017df37ed1ec34b2f93cdefdd.tar.bz2 libclut-27efefab31370db017df37ed1ec34b2f93cdefdd.tar.xz |
whitespace
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/libclut.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libclut.h b/src/libclut.h index c2f31de..53c479a 100644 --- a/src/libclut.h +++ b/src/libclut.h @@ -929,6 +929,7 @@ #endif + /** * Convert one component from [0, 1] linear RGB to [0, 1] sRGB. * @@ -944,6 +945,7 @@ double (libclut_model_linear_to_standard1)(double); #define libclut_model_linear_to_standard1(c) \ (((double)(c) <= 0.0031308) ? (12.92 * (double)(c)) : ((1.0 + 0.055) * pow((double)(c), 1.0 / 2.4))) + /** * Convert [0, 1] linear RGB to [0, 1] sRGB. * @@ -969,6 +971,7 @@ void (libclut_model_linear_to_standard)(double*, double*, double*); } \ while (0) + /** * Convert one component from [0, 1] sRGB to [0, 1] linear RGB. * @@ -984,6 +987,7 @@ double (libclut_model_standard_to_linear1)(double); #define libclut_model_standard_to_linear1(c) \ (((double)(c) <= 0.04045) ? ((double)(c) / 12.92) : pow(((double)(c) + 0.055) / (1.0 + 0.055), 2.4)) + /** * Convert [0, 1] sRGB to [0, 1] linear RGB. * @@ -1009,6 +1013,7 @@ void (libclut_model_standard_to_linear)(double*, double*, double*); } \ while (0) + /** * Convert CIE xyY to CIE XYZ. * @@ -1029,6 +1034,7 @@ void (libclut_model_ciexyy_to_ciexyz)(double, double, double, double*, double*); } \ while (0) + /** * Convert CIE XYZ to CIE xyY. * @@ -1052,6 +1058,7 @@ void (libclut_model_ciexyz_to_ciexyy)(double, double, double, double*, double*); } \ while (0) + /** * Convert CIE XYZ to [0, 1] linear RGB. * @@ -1074,6 +1081,7 @@ void (libclut_model_ciexyz_to_linear)(double, double, double, double*, double*, } \ while (0) + /** * Convert [0, 1] linear RGB to CIE XYZ. * @@ -1096,6 +1104,7 @@ void (libclut_model_linear_to_ciexyz)(double, double, double, double*, double*, } \ while (0) + /** * Convert [0, 1] linear RGB to CIE xyY. * @@ -1127,6 +1136,7 @@ void (libclut_model_srgb_to_ciexyy)(double, double, double, double*, double*, do } \ while (0) + /** * Convert CIE xyY to [0, 1] sRGB. * @@ -1158,6 +1168,7 @@ void (libclut_model_ciexyy_to_srgb)(double, double, double, double*, double*, do } \ while(0) + /** * Convert from CIE XYZ to CIE L*a*b*. * @@ -1188,6 +1199,7 @@ void (libclut_model_ciexyz_to_cielab)(double, double, double, double*, double*, #define LIBCLUT_MODEL_CIEXYZ_TO_CIELAB__(C) \ (((C) > 0.00885642) ? pow((C), 1.0 / 3.0) : ((7.78 + 703.0 / 99900.0) * (C) + 0.1379310)) + /** * Convert from CIE L*a*b* to CIE XYZ. * |