DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
src/xBRZ/xbrz_config.h
00001 // ****************************************************************************
00002 // * This file is part of the xBRZ project. It is distributed under           *
00003 // * GNU General Public License: https://www.gnu.org/licenses/gpl-3.0         *
00004 // * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved          *
00005 // *                                                                          *
00006 // * Additionally and as a special exception, the author gives permission     *
00007 // * to link the code of this program with the following libraries            *
00008 // * (or with modified versions that use the same licenses), and distribute   *
00009 // * linked combinations including the two: MAME, FreeFileSync, Snes9x, ePSXe *
00010 // * You must obey the GNU General Public License in all respects for all of  *
00011 // * the code used other than MAME, FreeFileSync, Snes9x, ePSXe.              *
00012 // * If you modify this file, you may extend this exception to your version   *
00013 // * of the file, but you are not obligated to do so. If you do not wish to   *
00014 // * do so, delete this exception statement from your version.                *
00015 // ****************************************************************************
00016 
00017 #ifndef XBRZ_CONFIG_HEADER_284578425345
00018 #define XBRZ_CONFIG_HEADER_284578425345
00019 
00020 //do NOT include any headers here! used by xBRZ_dll!!!
00021 
00022 namespace xbrz
00023 {
00024     struct ScalerCfg
00025     {
00026         double luminanceWeight            = 1;
00027         double equalColorTolerance        = 30;
00028         double dominantDirectionThreshold = 3.6;
00029         double steepDirectionThreshold    = 2.2;
00030         double newTestAttribute           = 0; //unused; test new parameters
00031     };
00032 }
00033 
00034 #endif