chromium/ui/gfx/color_space_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/354829279): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include <algorithm>
#include <cmath>
#include <tuple>

#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/color_space.h"
#include "ui/gfx/skia_color_space_util.h"

namespace gfx {
namespace {

// Returns the L-infty difference of u and v.
float Diff(const SkV4& u, const SkV4& v) {}

TEST(ColorSpace, RGBToYUV) {}

TEST(ColorSpace, RangeAdjust) {}

TEST(ColorSpace, Blending) {}

TEST(ColorSpace, ConversionToAndFromSkColorSpace) {}

TEST(ColorSpace, PQAndHLGToSkColorSpace) {}

TEST(ColorSpace, MixedInvalid) {}

TEST(ColorSpace, MixedSRGBWithRec601) {}

TEST(ColorSpace, MixedHDR10WithRec709) {}

TEST(ColorSpace, GetsPrimariesTransferMatrixAndRange) {}

TEST(ColorSpace, ExpectationsMatchSRGB) {}

TEST(ColorSpaceUtil, SkcmsMatrixConvert) {}

}  // namespace
}  // namespace gfx