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

Side by Side Diff: src/core/SkColorSpace.h

Issue 1971203002: Recognize Adobe RGB profiles (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add comments Created 4 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 | « no previous file | src/core/SkColorSpace.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkColorSpace_DEFINED 8 #ifndef SkColorSpace_DEFINED
9 #define SkColorSpace_DEFINED 9 #define SkColorSpace_DEFINED
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 SkColorLookUpTable() { 81 SkColorLookUpTable() {
82 memset(this, 0, sizeof(struct SkColorLookUpTable)); 82 memset(this, 0, sizeof(struct SkColorLookUpTable));
83 } 83 }
84 }; 84 };
85 85
86 public: 86 public:
87 enum Named { 87 enum Named {
88 kUnknown_Named, 88 kUnknown_Named,
89 kSRGB_Named, 89 kSRGB_Named,
90 kAdobeRGB_Named,
90 }; 91 };
91 92
92 struct SkGammas { 93 struct SkGammas {
93 public: 94 public:
94 SkGammas(float red, float green, float blue) 95 SkGammas(float red, float green, float blue)
95 : fRed(red) 96 : fRed(red)
96 , fGreen(green) 97 , fGreen(green)
97 , fBlue(blue) 98 , fBlue(blue)
98 {} 99 {}
99 100
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 145
145 const SkColorLookUpTable fColorLUT; 146 const SkColorLookUpTable fColorLUT;
146 const SkGammas fGammas; 147 const SkGammas fGammas;
147 const SkMatrix44 fToXYZD50; 148 const SkMatrix44 fToXYZD50;
148 149
149 const uint32_t fUniqueID; 150 const uint32_t fUniqueID;
150 const Named fNamed; 151 const Named fNamed;
151 }; 152 };
152 153
153 #endif 154 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkColorSpace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698