OpenXcom  1.0
Open-source clone of the original X-Com
config.h
1 // ****************************************************************************
2 // * This file is part of the HqMAME project. It is distributed under *
3 // * GNU General Public License: http://www.gnu.org/licenses/gpl-3.0 *
4 // * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
5 // * *
6 // * Additionally and as a special exception, the author gives permission *
7 // * to link the code of this program with the MAME library (or with modified *
8 // * versions of MAME that use the same license as MAME), and distribute *
9 // * linked combinations including the two. You must obey the GNU General *
10 // * Public License in all respects for all of the code used other than MAME. *
11 // * If you modify this file, you may extend this exception to your version *
12 // * of the file, but you are not obligated to do so. If you do not wish to *
13 // * do so, delete this exception statement from your version. *
14 // ****************************************************************************
15 
16 #ifndef XBRZ_CONFIG_HEADER_284578425345
17 #define XBRZ_CONFIG_HEADER_284578425345
18 
19 //do NOT include any headers here! used by xBRZ_dll!!!
20 
21 namespace xbrz
22 {
23 struct ScalerCfg
24 {
25  ScalerCfg() :
26  luminanceWeight(1),
27  equalColorTolerance(30),
28  dominantDirectionThreshold(3.6),
29  steepDirectionThreshold(2.2),
30  newTestAttribute(0) {}
31 
32  double luminanceWeight;
33  double equalColorTolerance;
34  double dominantDirectionThreshold;
35  double steepDirectionThreshold;
36  double newTestAttribute; //unused; test new parameters
37 };
38 }
39 
40 #endif
Definition: config.h:21
Definition: config.h:23