Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: third_party/qcms/src/tests/qcms_test_util.h

Issue 2014023003: Add exact version of qcms used by Chrome for testing and comparison (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the Chromium LICENSE file.
4
5 #include "qcmsint.h"
6 #include "qcmstypes.h"
7
8 typedef int (*qcms_test_function)(size_t width,
9 size_t height,
10 int iterations,
11 const char *in_profile,
12 const char *out_profile,
13 const int force_software);
14
15 enum QCMS_TEST_STATUS {
16 QCMS_TEST_DISABLED = 0,
17 QCMS_TEST_ENABLED = 1,
18 };
19
20 struct qcms_test_case {
21 char test_name[256];
22 qcms_test_function test_fn;
23 enum QCMS_TEST_STATUS status;
24 };
25
26 void generate_source_uint8_t(unsigned char *src, const size_t length, const size _t pixel_size);
27 float evaluate_parametric_curve(int type, const float params[], float r);
OLDNEW
« no previous file with comments | « third_party/qcms/src/tests/qcms_test_tetra_clut_rgba.c ('k') | third_party/qcms/src/tests/qcms_test_util.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698