forked from Tinob/Ishiiruka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experimental: Add Support for texture scaling using PPSSPP implementa…
…tion code. Thanks to PPSSPP team for the great work.
- Loading branch information
Showing
21 changed files
with
2,428 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
|
||
set(SRCS | ||
xbrz.cpp | ||
) | ||
|
||
|
||
add_library(xbrz STATIC ${SRCS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// **************************************************************************** | ||
// * This file is part of the HqMAME project. It is distributed under * | ||
// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * | ||
// * 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 MAME library (or with modified * | ||
// * versions of MAME that use the same license as MAME), and distribute * | ||
// * linked combinations including the two. You must obey the GNU General * | ||
// * Public License in all respects for all of the code used other than MAME. * | ||
// * 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 | ||
{ | ||
ScalerCfg() : | ||
luminanceWeight_(1), | ||
equalColorTolerance_(30), | ||
dominantDirectionThreshold(3.6), | ||
steepDirectionThreshold(2.2), | ||
newTestAttribute_(0) {} | ||
|
||
double luminanceWeight_; | ||
double equalColorTolerance_; | ||
double dominantDirectionThreshold; | ||
double steepDirectionThreshold; | ||
double newTestAttribute_; //unused; test new parameters | ||
}; | ||
} | ||
|
||
#endif |
Oops, something went wrong.