chromium/third_party/skia/src/core/SkColor.cpp

/*
 * Copyright 2006 The Android Open Source Project
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "include/core/SkColor.h"
#include "include/core/SkColorPriv.h"
#include "include/private/SkColorData.h"
#include "include/private/base/SkTPin.h"
#include "src/base/SkVx.h"
#include "src/core/SkSwizzlePriv.h"

#include <algorithm>

SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) {}

SkPMColor SkPreMultiplyColor(SkColor c) {}

///////////////////////////////////////////////////////////////////////////////

static inline SkScalar ByteToScalar(U8CPU x) {}

static inline SkScalar ByteDivToScalar(int numer, U8CPU denom) {}

void SkRGBToHSV(U8CPU r, U8CPU g, U8CPU b, SkScalar hsv[3]) {}

SkColor SkHSVToColor(U8CPU a, const SkScalar hsv[3]) {}

///////////////////////////////////////////////////////////////////////////////////////////////////

template <>
SkColor4f SkColor4f::FromColor(SkColor bgra) {}

template <>
SkColor SkColor4f::toSkColor() const {}

template <>
uint32_t SkColor4f::toBytes_RGBA() const {}

template <>
SkColor4f SkColor4f::FromBytes_RGBA(uint32_t c) {}

template <>
SkPMColor4f SkPMColor4f::FromPMColor(SkPMColor c) {}

template <>
uint32_t SkPMColor4f::toBytes_RGBA() const {}

template <>
SkPMColor4f SkPMColor4f::FromBytes_RGBA(uint32_t c) {}