#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) { … }
}