config.h


SUBMITTED BY: Guest

DATE: Jan. 20, 2014, 5:38 p.m.

FORMAT: C++

SIZE: 1.8 kB

HITS: 1049

  1. // ****************************************************************************
  2. // * This file is part of the HqMAME project. It is distributed under *
  3. // * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
  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 MAME library (or with modified *
  8. // * versions of MAME that use the same license as MAME), and distribute *
  9. // * linked combinations including the two. You must obey the GNU General *
  10. // * Public License in all respects for all of the code used other than MAME. *
  11. // * If you modify this file, you may extend this exception to your version *
  12. // * of the file, but you are not obligated to do so. If you do not wish to *
  13. // * do so, delete this exception statement from your version. *
  14. // ****************************************************************************
  15. #ifndef XBRZ_CONFIG_HEADER_284578425345
  16. #define XBRZ_CONFIG_HEADER_284578425345
  17. //do NOT include any headers here! used by xBRZ_dll!!!
  18. namespace xbrz
  19. {
  20. struct ScalerCfg
  21. {
  22. ScalerCfg() :
  23. luminanceWeight_(1),
  24. equalColorTolerance_(30),
  25. dominantDirectionThreshold(3.6),
  26. steepDirectionThreshold(2.2),
  27. newTestAttribute_(0) {}
  28. double luminanceWeight_;
  29. double equalColorTolerance_;
  30. double dominantDirectionThreshold;
  31. double steepDirectionThreshold;
  32. double newTestAttribute_; //unused; test new parameters
  33. };
  34. }
  35. #endif

comments powered by Disqus