3 Copyright (C) 2006 Yangli Hector Yee
5 This program is free software; you can redistribute it and/or modify it under the terms of the
6 GNU General Public License as published by the Free Software Foundation; either version 2 of the License,
7 or (at your option) any later version.
9 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 See the GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License along with this program;
14 if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
22 /* Args to pass into the comparison function */
25 cairo_surface_t *surface_a; /* Image A */
26 cairo_surface_t *surface_b; /* Image B */
27 bool Verbose; /* Print lots of text or not */
28 float FieldOfView; /* Field of view in degrees */
29 float Gamma; /* The gamma to convert to linear color space */
30 float Luminance; /* the display's luminance */
31 unsigned int ThresholdPixels; /* How many pixels different to ignore */
35 args_init (args_t *args);
38 args_fini (args_t *args);
41 args_parse (args_t *args, int argc, char **argv);
44 args_print (args_t *args);