aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/skcms/src/Curve.h
blob: 1316562b56f1c55915eb30abb642d4942a7e5c98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * 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

#include "../skcms.h"

// Evaluate an skcms_Curve at x.
float skcms_eval_curve(const skcms_Curve*, float x);

float skcms_MaxRoundtripError(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf);