Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: third_party/qcms/src/qcms.h

Issue 10384114: Added BGRA support to qcms. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/qcms/README.chromium ('k') | third_party/qcms/src/qcmsint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef QCMS_H 1 #ifndef QCMS_H
2 #define QCMS_H 2 #define QCMS_H
3 3
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 7
8 /* if we've already got an ICC_H header we can ignore the following */ 8 /* if we've already got an ICC_H header we can ignore the following */
9 #ifndef ICC_H 9 #ifndef ICC_H
10 /* icc34 defines */ 10 /* icc34 defines */
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 QCMS_INTENT_RELATIVE_COLORIMETRIC = 1, 92 QCMS_INTENT_RELATIVE_COLORIMETRIC = 1,
93 QCMS_INTENT_SATURATION = 2, 93 QCMS_INTENT_SATURATION = 2,
94 QCMS_INTENT_ABSOLUTE_COLORIMETRIC = 3 94 QCMS_INTENT_ABSOLUTE_COLORIMETRIC = 3
95 } qcms_intent; 95 } qcms_intent;
96 96
97 //XXX: I don't really like the _DATA_ prefix 97 //XXX: I don't really like the _DATA_ prefix
98 typedef enum { 98 typedef enum {
99 QCMS_DATA_RGB_8, 99 QCMS_DATA_RGB_8,
100 QCMS_DATA_RGBA_8, 100 QCMS_DATA_RGBA_8,
101 QCMS_DATA_GRAY_8, 101 QCMS_DATA_GRAY_8,
102 » QCMS_DATA_GRAYA_8 102 » QCMS_DATA_GRAYA_8,
103 » QCMS_DATA_BGRA_8
103 } qcms_data_type; 104 } qcms_data_type;
104 105
105 /* the names for the following two types are sort of ugly */ 106 /* the names for the following two types are sort of ugly */
106 typedef struct 107 typedef struct
107 { 108 {
108 double x; 109 double x;
109 double y; 110 double y;
110 double Y; 111 double Y;
111 } qcms_CIE_xyY; 112 } qcms_CIE_xyY;
112 113
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 148
148 void qcms_transform_data(qcms_transform *transform, void *src, void *dest, size_ t length); 149 void qcms_transform_data(qcms_transform *transform, void *src, void *dest, size_ t length);
149 150
150 void qcms_enable_iccv4(); 151 void qcms_enable_iccv4();
151 152
152 #ifdef __cplusplus 153 #ifdef __cplusplus
153 } 154 }
154 #endif 155 #endif
155 156
156 #endif 157 #endif
OLDNEW
« no previous file with comments | « third_party/qcms/README.chromium ('k') | third_party/qcms/src/qcmsint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698