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
/*============================================================================= | |
ReShade 5 effect file | |
github.com/martymcmodding | |
Author: Pascal Gilcher / Marty McFly | |
ReShade Motion Estimation Shader for dense 2D UV-space motion vectors | |
Based on ReShade Motion Estimation by Jakob Wapenhensch | |
(https://github.com/JakobPCoder/ReshadeMotionEstimation) |
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
from PIL import Image | |
import glob | |
for filepath in glob.iglob(r'*.png'): | |
im = Image.open(filepath) | |
#print("Processing: ", filepath, " ", im.format, im.size, im.mode) | |
box = im.convert('RGB').getbbox() | |
#size of black bars in each axis | |
x1 = box[0] |
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
/*============================================================================= | |
ReShade 4 effect file | |
github.com/martymcmodding | |
Rough port of CMAA2 to ReShade by Pascal Gilcher | |
I do not claim any copyright to any of the work used in this product | |
CMAA2 (Copyright (c) 2018, Intel Corporation) is licensed under | |
http://www.apache.org/licenses/LICENSE-2.0 |
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
/* | |
Copyright 2020 Morgan McGuire & Mara Gagiu. | |
Provided under the Open Source MIT license https://opensource.org/licenses/MIT | |
by Morgan McGuire and Mara Gagiu. | |
*/ | |
/*============================================================================= | |
ReShade 4 effect file | |
github.com/martymcmodding |
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
// LICENSE | |
// ======= | |
// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved. | |
// ------- | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation | |
// files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, | |
// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the | |
// Software is furnished to do so, subject to the following conditions: | |
// ------- | |
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the |