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