xbrz_config.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  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. #ifndef XBRZ_CONFIG_HEADER_284578425345
  17. #define XBRZ_CONFIG_HEADER_284578425345
  18. //do NOT include any headers here! used by xBRZ_dll!!!
  19. namespace xbrz
  20. {
  21. struct ScalerCfg
  22. {
  23. double luminanceWeight = 1;
  24. double equalColorTolerance = 30;
  25. double centerDirectionBias = 4;
  26. double dominantDirectionThreshold = 3.6;
  27. double steepDirectionThreshold = 2.2;
  28. double newTestAttribute = 0; //unused; test new parameters
  29. };
  30. }
  31. #endif