* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkICC_DEFINED
#define SkICC_DEFINED
#include "include/core/SkRefCnt.h"
#include "include/private/base/SkAPI.h"
#include <cstdint>
class SkData;
struct skcms_ICCProfile;
struct skcms_Matrix3x3;
struct skcms_TransferFunction;
SK_API sk_sp<SkData> SkWriteICCProfile(const skcms_TransferFunction&,
const skcms_Matrix3x3& toXYZD50);
SK_API sk_sp<SkData> SkWriteICCProfile(const skcms_ICCProfile*, const char* description);
SK_API void SkICCFloatXYZD50ToGrid16Lab(const float* float_xyz, uint8_t* grid16_lab);
SK_API void SkICCFloatToTable16(const float f, uint8_t* table_16);
#endif