The Battle for Wesnoth  1.19.5+dev
xbrz_config.hpp
Go to the documentation of this file.
1 // ****************************************************************************
2 // * This file is part of the xBRZ project. It is distributed under *
3 // * GNU General Public License: https://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 following libraries *
8 // * (or with modified versions that use the same licenses), and distribute *
9 // * linked combinations including the two: MAME, FreeFileSync, Snes9x, ePSXe *
10 // * You must obey the GNU General Public License in all respects for all of *
11 // * the code used other than MAME, FreeFileSync, Snes9x, ePSXe. *
12 // * If you modify this file, you may extend this exception to your version *
13 // * of the file, but you are not obligated to do so. If you do not wish to *
14 // * do so, delete this exception statement from your version. *
15 // ****************************************************************************
16 
17 #ifndef XBRZ_CONFIG_HEADER_284578425345
18 #define XBRZ_CONFIG_HEADER_284578425345
19 
20 //do NOT include any headers here! used by xBRZ_dll!!!
21 
22 namespace xbrz
23 {
24 struct ScalerCfg
25 {
26  double luminanceWeight = 1;
27  double equalColorTolerance = 30;
28  double centerDirectionBias = 4;
31  double newTestAttribute = 0; //unused; test new parameters
32 };
33 }
34 
35 #endif
Definition: xbrz.hpp:27
double newTestAttribute
Definition: xbrz_config.hpp:31
double centerDirectionBias
Definition: xbrz_config.hpp:28
double luminanceWeight
Definition: xbrz_config.hpp:26
double steepDirectionThreshold
Definition: xbrz_config.hpp:30
double dominantDirectionThreshold
Definition: xbrz_config.hpp:29
double equalColorTolerance
Definition: xbrz_config.hpp:27