chromium/third_party/skia/src/encode/SkICCPriv.h

/*
 * 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 SkICCPriv_DEFINED
#define SkICCPriv_DEFINED

#include "include/core/SkTypes.h" // SkSetFourByteTag

#include <cstddef>
#include <cstdint>

// This is equal to the header size according to the ICC specification (128)
// plus the size of the tag count (4).  We include the tag count since we
// always require it to be present anyway.
static constexpr size_t kICCHeaderSize =;

// Contains a signature (4), offset (4), and size (4).
static constexpr size_t kICCTagTableEntrySize =;

static constexpr uint32_t kRGB_ColorSpace     =;
static constexpr uint32_t kCMYK_ColorSpace    =;
static constexpr uint32_t kGray_ColorSpace    =;
static constexpr uint32_t kDisplay_Profile    =;
static constexpr uint32_t kInput_Profile      =;
static constexpr uint32_t kOutput_Profile     =;
static constexpr uint32_t kColorSpace_Profile =;
static constexpr uint32_t kXYZ_PCSSpace       =;
static constexpr uint32_t kLAB_PCSSpace       =;
static constexpr uint32_t kACSP_Signature     =;

static constexpr uint32_t kTAG_rXYZ =;
static constexpr uint32_t kTAG_gXYZ =;
static constexpr uint32_t kTAG_bXYZ =;
static constexpr uint32_t kTAG_rTRC =;
static constexpr uint32_t kTAG_gTRC =;
static constexpr uint32_t kTAG_bTRC =;
static constexpr uint32_t kTAG_kTRC =;
static constexpr uint32_t kTAG_A2B0 =;
static constexpr uint32_t kTAG_B2A0 =;
static constexpr uint32_t kTAG_desc =;
static constexpr uint32_t kTAG_cicp =;
static constexpr uint32_t kTAG_wtpt =;
static constexpr uint32_t kTAG_cprt =;

static constexpr uint32_t kTAG_CurveType     =;
static constexpr uint32_t kTAG_ParaCurveType =;
static constexpr uint32_t kTAG_TextType      =;
static constexpr uint32_t kTAG_mABType =;
static constexpr uint32_t kTAG_mBAType =;

enum ParaCurveType {};

#endif  // SkICCPriv_DEFINED