chromium/skia/ext/cicp.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "skia/ext/cicp.h"
#include "skia/ext/skcolorspace_primaries.h"
#include "skia/ext/skcolorspace_trfn.h"

namespace skia {

bool CICPGetPrimaries(uint8_t primaries, SkColorSpacePrimaries& sk_primaries) {}

bool CICPGetTransferFn(uint8_t transfer_characteristics,
                       bool prefer_srgb_trfn,
                       skcms_TransferFunction& trfn) {}

sk_sp<SkColorSpace> CICPGetSkColorSpace(uint8_t color_primaries,
                                        uint8_t transfer_characteristics,
                                        uint8_t matrix_coefficients,
                                        uint8_t full_range_flag,
                                        bool prefer_srgb_trfn) {}

bool CICPGetSkYUVColorSpace(uint8_t matrix_coefficients,
                            uint8_t full_range_flag,
                            uint8_t bits_per_color,
                            SkYUVColorSpace& yuv_color_space) {}

}  // namespace skia