d2::align: Make a structure for follow semantics variables, and use a static instance...
[Ale.git] / d2 / image_rw.cc
blob9544894bfc8af35cd085019b2ac7f0f8d16b569b
1 // Copyright 2002 David Hilvert <dhilvert@auricle.dyndns.org>,
2 // <dhilvert@ugcs.caltech.edu>
4 /* This file is part of the Anti-Lamenessing Engine.
6 The Anti-Lamenessing Engine is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 The Anti-Lamenessing Engine is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with the Anti-Lamenessing Engine; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include "image_rw.h"
24 * See image_rw.h for details on these variables.
27 int image_rw::ppm_type = 0;
29 unsigned int image_rw::num_bits = 8;
30 unsigned int image_rw::mcv = 255;
32 unsigned int image_rw::file_count = 0;
33 const char *image_rw::output_filename = NULL;
34 const char **image_rw::filenames = NULL;
35 const image **image_rw::images = NULL;
36 int *image_rw::files_open;
38 int image_rw::latest_close_num = -1;
39 const image *image_rw::latest_close = NULL;
41 double image_rw::nn_defined_radius = 0;
43 exposure **image_rw::input_exposure = NULL;
44 exposure *image_rw::output_exposure = NULL;
45 unsigned int image_rw::bayer_default = 0;
46 unsigned int *image_rw::bayer_specific = NULL;
47 int image_rw::exposure_scale = 0;