summaryrefslogtreecommitdiff
path: root/xBRZ/src/xbrz_config.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:13:16 +0200
committerDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:13:16 +0200
commit2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0 (patch)
tree39d2d1eed28bf2c231839dd118905fb34327628d /xBRZ/src/xbrz_config.h
parent9.9 (diff)
downloadFreeFileSync-2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0.tar.gz
FreeFileSync-2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0.tar.bz2
FreeFileSync-2dd6739826c86ca96a6a1548fd2e0fb7c0eb8dd0.zip
10.0
Diffstat (limited to 'xBRZ/src/xbrz_config.h')
-rwxr-xr-xxBRZ/src/xbrz_config.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/xBRZ/src/xbrz_config.h b/xBRZ/src/xbrz_config.h
new file mode 100755
index 00000000..fc036d17
--- /dev/null
+++ b/xBRZ/src/xbrz_config.h
@@ -0,0 +1,35 @@
+// ****************************************************************************
+// * This file is part of the xBRZ project. It is distributed under *
+// * GNU General Public License: https://www.gnu.org/licenses/gpl-3.0 *
+// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
+// * *
+// * Additionally and as a special exception, the author gives permission *
+// * to link the code of this program with the following libraries *
+// * (or with modified versions that use the same licenses), and distribute *
+// * linked combinations including the two: MAME, FreeFileSync, Snes9x, ePSXe *
+// * You must obey the GNU General Public License in all respects for all of *
+// * the code used other than MAME, FreeFileSync, Snes9x, ePSXe. *
+// * If you modify this file, you may extend this exception to your version *
+// * of the file, but you are not obligated to do so. If you do not wish to *
+// * do so, delete this exception statement from your version. *
+// ****************************************************************************
+
+#ifndef XBRZ_CONFIG_HEADER_284578425345
+#define XBRZ_CONFIG_HEADER_284578425345
+
+//do NOT include any headers here! used by xBRZ_dll!!!
+
+namespace xbrz
+{
+struct ScalerCfg
+{
+ double luminanceWeight = 1;
+ double equalColorTolerance = 30;
+ double centerDirectionBias = 4;
+ double dominantDirectionThreshold = 3.6;
+ double steepDirectionThreshold = 2.2;
+ double newTestAttribute = 0; //unused; test new parameters
+};
+}
+
+#endif
bgstack15