aboutsummaryrefslogtreecommitdiffstats
path: root/LIBCOLOUR_YPBPR.7
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-06-10 10:48:21 +0200
committerMattias Andrée <maandree@kth.se>2017-06-10 10:48:21 +0200
commit42ca750430bf40ba13493ac46028d22e6f3555b9 (patch)
tree04324f1e954990175dc7922c46da26855a4b5a92 /LIBCOLOUR_YPBPR.7
parentReduce size of RGB struct, and add LIBCOLOUR_CIELCHUV.7 and LIBCOLOUR_RGB.7 (diff)
downloadlibcolour-42ca750430bf40ba13493ac46028d22e6f3555b9.tar.gz
libcolour-42ca750430bf40ba13493ac46028d22e6f3555b9.tar.bz2
libcolour-42ca750430bf40ba13493ac46028d22e6f3555b9.tar.xz
m + add libcolour_delta_e.3, libcolour_srgb_decode.3, and libcolour_srgb_encode.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'LIBCOLOUR_YPBPR.7')
-rw-r--r--LIBCOLOUR_YPBPR.718
1 files changed, 9 insertions, 9 deletions
diff --git a/LIBCOLOUR_YPBPR.7 b/LIBCOLOUR_YPBPR.7
index 380e1e4..5a04c4b 100644
--- a/LIBCOLOUR_YPBPR.7
+++ b/LIBCOLOUR_YPBPR.7
@@ -6,9 +6,9 @@ YPbPr [the \(aqb\(a and the \(aqr\(aq should be in subscript and capitalised]
colours are presented with either of
.nf
- \fBtypedef struct libcolour_ypbpr_f libcolour_ypbpr_f_t;\fP
- \fBtypedef struct libcolour_ypbpr_lf libcolour_ypbpr_lf_t;\fP
- \fBtypedef struct libcolour_ypbpr_llf libcolour_ypbpr_llf_t;\fP
+ typedef struct libcolour_ypbpr_f libcolour_ypbpr_f_t;
+ typedef struct libcolour_ypbpr_lf libcolour_ypbpr_lf_t;
+ typedef struct libcolour_ypbpr_llf libcolour_ypbpr_llf_t;
.fi
These
@@ -24,12 +24,12 @@ and are otherwise identical.
is defined as
.nf
- \fBstruct libcolour_ypbpr_f {\fP
- \fBenum libcolour_model\fP \fImodel\fP\fB;\fP
- \fBfloat\fP \fIY\fP\fB;\fP
- \fBfloat\fP \fIPb\fP\fB;\fP
- \fBfloat\fP \fIPr\fP\fB;\fP
- \fB};\fP
+ struct libcolour_ypbpr_f {
+ enum libcolour_model \fImodel\fP;
+ float \fIY\fP;
+ float \fIPb\fP;
+ float \fIPr\fP;
+ };
.fi
.I .model