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

Unified Diff: src/core/SkColorSpace.h

Issue 1707033002: parse icc profiles Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « resources/Upper_Right.jpg ('k') | src/core/SkColorSpace.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkColorSpace.h
diff --git a/src/core/SkColorSpace.h b/src/core/SkColorSpace.h
index 7e81b5f335c8ec53cf6352feeef6aaf735125588..c29b4dfea1393a6997a44352cae25c3621299bdc 100644
--- a/src/core/SkColorSpace.h
+++ b/src/core/SkColorSpace.h
@@ -53,7 +53,7 @@ public:
static SkColorSpace* NewRGB(const SkFloat3x3& toXYZD50, const SkFloat3& gamma);
static SkColorSpace* NewNamed(Named);
- static SkColorSpace* NewICC(const void*, size_t);
+ static SkColorSpace* NewICCProfile(const void*, size_t);
SkFloat3 gamma() const { return fGamma; }
Named named() const { return fNamed; }
@@ -78,6 +78,8 @@ protected:
SkColorSpace(const SkFloat3x3& toXYZ, const SkFloat3& gamma, Named);
private:
+ static SkColorSpace* NewICCProfile32(const uint32_t*, size_t);
+
const SkFloat3x3 fToXYZD50;
const SkFloat3 fGamma;
const uint32_t fUniqueID;
« no previous file with comments | « resources/Upper_Right.jpg ('k') | src/core/SkColorSpace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698