• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2016 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef SkICC_DEFINED
9 #define SkICC_DEFINED
10 
11 #include "include/core/SkData.h"
12 
13 struct skcms_Matrix3x3;
14 struct skcms_TransferFunction;
15 struct skcms_CICP;
16 
17 
18 SK_API sk_sp<SkData> SkWriteICCProfile(const skcms_TransferFunction&,
19                                        const skcms_Matrix3x3& toXYZD50);
20 SK_API sk_sp<SkData> SkWriteICCProfileWithCicp(const skcms_TransferFunction&, const skcms_Matrix3x3& toXYZD50,
21     const skcms_CICP& cicp);
22 
23 #endif//SkICC_DEFINED
24