The Battle for Wesnoth
1.19.5+dev
xBRZ
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;
29
double
dominantDirectionThreshold
= 3.6;
30
double
steepDirectionThreshold
= 2.2;
31
double
newTestAttribute
= 0;
//unused; test new parameters
32
};
33
}
34
35
#endif
xbrz
Definition:
xbrz.hpp:27
xbrz::ScalerCfg
Definition:
xbrz_config.hpp:25
xbrz::ScalerCfg::newTestAttribute
double newTestAttribute
Definition:
xbrz_config.hpp:31
xbrz::ScalerCfg::centerDirectionBias
double centerDirectionBias
Definition:
xbrz_config.hpp:28
xbrz::ScalerCfg::luminanceWeight
double luminanceWeight
Definition:
xbrz_config.hpp:26
xbrz::ScalerCfg::steepDirectionThreshold
double steepDirectionThreshold
Definition:
xbrz_config.hpp:30
xbrz::ScalerCfg::dominantDirectionThreshold
double dominantDirectionThreshold
Definition:
xbrz_config.hpp:29
xbrz::ScalerCfg::equalColorTolerance
double equalColorTolerance
Definition:
xbrz_config.hpp:27
Generated by
1.9.1