Ardour  9.0-pre0-582-g084a23a80d
colorspace.h
Go to the documentation of this file.
1 
6 #ifndef _GTKMM2EXT_COLORSPACE_H_
7 #define _GTKMM2EXT_COLORSPACE_H_
8 
10 #define WHITEPOINT_X 0.950456
11 #define WHITEPOINT_Y 1.0
12 #define WHITEPOINT_Z 1.088754
13 
14 namespace Gtkmm2ext
15 {
16 
17 void Rgb2Yuv(double *Y, double *U, double *V, double R, double G, double B);
18 void Yuv2Rgb(double *R, double *G, double *B, double Y, double U, double V);
19 void Rgb2Ycbcr(double *Y, double *Cb, double *Cr, double R, double G, double B);
20 void Ycbcr2Rgb(double *R, double *G, double *B, double Y, double Cb, double Cr);
21 void Rgb2Jpegycbcr(double *R, double *G, double *B, double Y, double Cb, double Cr);
22 void Jpegycbcr2Rgb(double *R, double *G, double *B, double Y, double Cb, double Cr);
23 void Rgb2Ypbpr(double *Y, double *Pb, double *Pr, double R, double G, double B);
24 void Ypbpr2Rgb(double *R, double *G, double *B, double Y, double Pb, double Pr);
25 void Rgb2Ydbdr(double *Y, double *Db, double *Dr, double R, double G, double B);
26 void Ydbdr2Rgb(double *R, double *G, double *B, double Y, double Db, double Dr);
27 void Rgb2Yiq(double *Y, double *I, double *Q, double R, double G, double B);
28 void Yiq2Rgb(double *R, double *G, double *B, double Y, double I, double Q);
29 
30 void Rgb2Hsv(double *H, double *S, double *V, double R, double G, double B);
31 void Hsv2Rgb(double *R, double *G, double *B, double H, double S, double V);
32 void Rgb2Hsl(double *H, double *S, double *L, double R, double G, double B);
33 void Hsl2Rgb(double *R, double *G, double *B, double H, double S, double L);
34 void Rgb2Hsi(double *H, double *S, double *I, double R, double G, double B);
35 void Hsi2Rgb(double *R, double *G, double *B, double H, double S, double I);
36 
37 void Rgb2Xyz(double *X, double *Y, double *Z, double R, double G, double B);
38 void Xyz2Rgb(double *R, double *G, double *B, double X, double Y, double Z);
39 void Xyz2Lab(double *L, double *a, double *b, double X, double Y, double Z);
40 void Lab2Xyz(double *X, double *Y, double *Z, double L, double a, double b);
41 void Xyz2Luv(double *L, double *u, double *v, double X, double Y, double Z);
42 void Luv2Xyz(double *X, double *Y, double *Z, double L, double u, double v);
43 void Xyz2Lch(double *L, double *C, double *H, double X, double Y, double Z);
44 void Lch2Xyz(double *X, double *Y, double *Z, double L, double C, double H);
45 void Xyz2Cat02lms(double *L, double *M, double *S, double X, double Y, double Z);
46 void Cat02lms2Xyz(double *X, double *Y, double *Z, double L, double M, double S);
47 
48 void Rgb2Lab(double *L, double *a, double *b, double R, double G, double B);
49 void Lab2Rgb(double *R, double *G, double *B, double L, double a, double b);
50 void Rgb2Luv(double *L, double *u, double *v, double R, double G, double B);
51 void Luv2Rgb(double *R, double *G, double *B, double L, double u, double v);
52 void Rgb2Lch(double *L, double *C, double *H, double R, double G, double B);
53 void Lch2Rgb(double *R, double *G, double *B, double L, double C, double H);
54 void Rgb2Cat02lms(double *L, double *M, double *S, double R, double G, double B);
55 void Cat02lms2Rgb(double *R, double *G, double *B, double L, double M, double S);
56 
57 } /* namespace */
58 
59 #endif
#define G(L)
Definition: lstate.h:205
void Hsl2Rgb(double *R, double *G, double *B, double H, double S, double L)
void Rgb2Hsv(double *H, double *S, double *V, double R, double G, double B)
void Yuv2Rgb(double *R, double *G, double *B, double Y, double U, double V)
void Rgb2Yuv(double *Y, double *U, double *V, double R, double G, double B)
void Lab2Rgb(double *R, double *G, double *B, double L, double a, double b)
void Lch2Xyz(double *X, double *Y, double *Z, double L, double C, double H)
void Ycbcr2Rgb(double *R, double *G, double *B, double Y, double Cb, double Cr)
void Xyz2Cat02lms(double *L, double *M, double *S, double X, double Y, double Z)
void Rgb2Ypbpr(double *Y, double *Pb, double *Pr, double R, double G, double B)
void Rgb2Cat02lms(double *L, double *M, double *S, double R, double G, double B)
void Luv2Rgb(double *R, double *G, double *B, double L, double u, double v)
void Rgb2Yiq(double *Y, double *I, double *Q, double R, double G, double B)
void Rgb2Luv(double *L, double *u, double *v, double R, double G, double B)
void Lab2Xyz(double *X, double *Y, double *Z, double L, double a, double b)
void Lch2Rgb(double *R, double *G, double *B, double L, double C, double H)
void Jpegycbcr2Rgb(double *R, double *G, double *B, double Y, double Cb, double Cr)
void Yiq2Rgb(double *R, double *G, double *B, double Y, double I, double Q)
void Rgb2Ydbdr(double *Y, double *Db, double *Dr, double R, double G, double B)
void Rgb2Hsi(double *H, double *S, double *I, double R, double G, double B)
void Rgb2Lab(double *L, double *a, double *b, double R, double G, double B)
void Luv2Xyz(double *X, double *Y, double *Z, double L, double u, double v)
void Xyz2Lab(double *L, double *a, double *b, double X, double Y, double Z)
void Xyz2Rgb(double *R, double *G, double *B, double X, double Y, double Z)
void Xyz2Lch(double *L, double *C, double *H, double X, double Y, double Z)
void Rgb2Xyz(double *X, double *Y, double *Z, double R, double G, double B)
void Cat02lms2Xyz(double *X, double *Y, double *Z, double L, double M, double S)
void Ypbpr2Rgb(double *R, double *G, double *B, double Y, double Pb, double Pr)
void Hsi2Rgb(double *R, double *G, double *B, double H, double S, double I)
void Rgb2Hsl(double *H, double *S, double *L, double R, double G, double B)
void Xyz2Luv(double *L, double *u, double *v, double X, double Y, double Z)
void Hsv2Rgb(double *R, double *G, double *B, double H, double S, double V)
void Rgb2Ycbcr(double *Y, double *Cb, double *Cr, double R, double G, double B)
void Ydbdr2Rgb(double *R, double *G, double *B, double Y, double Db, double Dr)
void Cat02lms2Rgb(double *R, double *G, double *B, double L, double M, double S)
void Rgb2Lch(double *L, double *C, double *H, double R, double G, double B)
void Rgb2Jpegycbcr(double *R, double *G, double *B, double Y, double Cb, double Cr)