|
Add BGRA output format support to qcms
Define QCMS_OUTPUT_BGRX and add qcms_transform_data_type() api to output
BGR or BGRA format for GRAY, GRAYA, RGB, and RGBA input data.
Update all color transform functions with an output format argument, use
that to select RGBX (the default) or BGRX output format.
Add google.patch: patch of the BGRA output changes against upstream qcms
and add README.chromium details about google.patch. TODO: send the patch
to qcms if accepted for review upstream.
Disable Visual Studio warnings when needed.
BUG= 143
TEST=None
AUTHOR=noel@chromium.org
original review = http://codereview.chromium.org/10387099/
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138414
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+906 lines, -97 lines) |
Patch |
|
M |
third_party/qcms/README.chromium
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
A |
third_party/qcms/google.patch
|
View
|
|
1 chunk |
+688 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/qcms/src/iccread.c
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/qcms/src/qcms.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/qcms/src/qcmsint.h
|
View
|
|
3 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/qcms/src/qcmstypes.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/qcms/src/transform.c
|
View
|
|
17 chunks |
+138 lines, -63 lines |
0 comments
|
Download
|
|
M |
third_party/qcms/src/transform-sse1.c
|
View
|
|
8 chunks |
+20 lines, -14 lines |
0 comments
|
Download
|
|
M |
third_party/qcms/src/transform-sse2.c
|
View
|
|
7 chunks |
+20 lines, -14 lines |
0 comments
|
Download
|
|