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

/*
 * Copyright 2012 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "src/core/SkMaskGamma.h"

#include "include/core/SkTypes.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkFloatingPoint.h"
#include "include/private/base/SkTo.h"

#include <cmath>

class SkLinearColorSpaceLuminance : public SkColorSpaceLuminance {};

class SkGammaColorSpaceLuminance : public SkColorSpaceLuminance {};

class SkSRGBColorSpaceLuminance : public SkColorSpaceLuminance {};

/*static*/ const SkColorSpaceLuminance& SkColorSpaceLuminance::Fetch(SkScalar gamma) {}

static float apply_contrast(float srca, float contrast) {}

void SkTMaskGamma_build_correcting_lut(uint8_t* table, U8CPU srcI, SkScalar contrast,
                                       const SkColorSpaceLuminance& dstConvert, SkScalar dstGamma) {}