blob: d8286e602885262e59fbfacc227a0ea932003a71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the Chromium LICENSE file.
#include "qcmsint.h"
#include "qcmstypes.h"
typedef int (*qcms_test_function)(size_t width,
size_t height,
int iterations,
const char *in_profile,
const char *out_profile,
const int force_software);
enum QCMS_TEST_STATUS {
QCMS_TEST_DISABLED = 0,
QCMS_TEST_ENABLED = 1,
};
struct qcms_test_case {
char test_name[256];
qcms_test_function test_fn;
enum QCMS_TEST_STATUS status;
};
void generate_source_uint8_t(unsigned char *src, const size_t length, const size_t pixel_size);
float evaluate_parametric_curve(int type, const float params[], float r);
|