blob: 8ce965cb0a3b930e23bc918fd410d859c7cd6884 [file] [log] [blame]
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#pragma once
// TransferFunction.h contains skcms-private APIs for working with skcms_TransferFunction.
#include <stdbool.h>
float skcms_TransferFunction_eval(const skcms_TransferFunction*, float);
float skcms_TransferFunction_evalUnclamped(const skcms_TransferFunction*, float);
bool skcms_TransferFunction_invert(const skcms_TransferFunction*, skcms_TransferFunction*);
bool skcms_TransferFunction_approximate(skcms_TransferFunction*,
const float* x, const float* t, int n,
float* max_error);