2014-06-24 19:53:00 +00:00
|
|
|
// ****************************************************************************
|
2018-02-27 20:39:50 +00:00
|
|
|
// * This file is part of the xBRZ project. It is distributed under *
|
|
|
|
// * GNU General Public License: https://www.gnu.org/licenses/gpl-3.0 *
|
2014-06-24 19:53:00 +00:00
|
|
|
// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
|
|
|
|
// * *
|
|
|
|
// * Additionally and as a special exception, the author gives permission *
|
2018-02-27 20:39:50 +00:00
|
|
|
// * 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 *
|
|
|
|
// * You must obey the GNU General Public License in all respects for all of *
|
|
|
|
// * the code used other than MAME, FreeFileSync, Snes9x. *
|
2014-06-24 19:53:00 +00:00
|
|
|
// * 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
|
|
|
|
{
|
2016-10-07 19:39:32 +00:00
|
|
|
double luminanceWeight = 1;
|
|
|
|
double equalColorTolerance = 30;
|
|
|
|
double dominantDirectionThreshold = 3.6;
|
|
|
|
double steepDirectionThreshold = 2.2;
|
|
|
|
double newTestAttribute = 0; //unused; test new parameters
|
2014-06-24 19:53:00 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|