From 9a79f7e37218b2b09cad30eeca0e972d6584f1bf Mon Sep 17 00:00:00 2001 From: NukeGH05T Date: Sun, 19 Sep 2021 14:01:19 +0600 Subject: [PATCH 1/3] Create FidelityFX Assist.exe --- FidelityFX Assist.exe | Bin 0 -> 37888 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 FidelityFX Assist.exe diff --git a/FidelityFX Assist.exe b/FidelityFX Assist.exe new file mode 100644 index 0000000000000000000000000000000000000000..fa31fb39b387ee45d6a80d200055d1ea7569932f GIT binary patch literal 37888 zcmeHw3w#vSz5kgd*(4hXB)kOF3_)s82!uBll!O3Ac}W6DtKw!eftB5zIJ?0hK7!V^ zD4^h5TOs&F#A>xZ+N#)F?bB9Uz190^Z?V1CzO+?QTU)RD|9;QR*_qjF!b7C?UkB#Q z`TfrC{9fmGe&_7WW_JGPt`WV25P3M$X(1lNmB&n3_FQzJxupD?CF0?t=Y~I~&3kTm zL64iwMpd6aq2nCZi)ITkPwOStJb2nG zO4?pgA&RweLR<+Q;}Wp-Mok1+$U~EORs-VPD}?AL|GQTQw28$K z@LkCI9wA=OcaYx8ULkq|UUjz+Q@!~8)%A?(lClu+sh&PnDWg3FIQ3-|Xp^?W9`B(G zac-5Bv?4%C-S(hDLpS2|95dmND$9tOAf&EhFHZ8>iqmt<6r$Dx%IbXj6$f<-hL;{`oOwlz{wV4TSR*v`j@rmgz>g5m2gn#g#P35#8`L`p;Iay49}0G=U{Yb z^vq$7m#qTnz`=oan8eDhM>%eVvq!jC$Jx@6VD^~|v!jC+hNCsG?s!Ek`&S+dNgzDY zOE^Iij?PI~xWCc%KU78t}aNnpT$N~DrtayUASv^v4UtYFoi4>Ax!pTV__FkQI44kv zPzWU_q6h_&lW@712_%pN-_XS%R8=G#RYlrSRRkQWvKw zJDhHE)NN@9RA8|pgf2!Psj4okQXMz}SXsr`D-IZSRpsOfB&U%BCz(^_6mg_sq*0Y3 zFxsk$0asOwI;xTbCydjL6UFIP>q(9f?&#+Sb zS=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;=GeO>ms@IY3$NM0+#WtP~8-AheIM^%Z_%?BICmsX+ik0_#!H_*{v-Q)vDxs4whEViU|&!9^eP>3it2${_>GTKu6Kh;Q6c~d`dByjoag~4BiA%Zz ze{jv~9=z|0*S&aG9ItQUT}-@UC%=_kX|2yNahrAYu9Du`d=H%vcGR=%eEu2uI<%2v=M@2Vc7+@RG5v zcoKE6@Etb&sxD3BBE;+X7nXC;{*@oq;-K&{Gg2+ZtIMp+i_`cDL%uMJD|_3BA_)P701kY3{JC|#T`b_yN;#zP;zid={jz{ShQ9yz|wk*{&JU!V#y zc{ED>7drena@1dq9U(clo*=Ik0hIA_e% z3LU>4kZ8uQz$AE)T#VIHE3H1q04?92kqk}~vIisS@N}QC8tisRyB*(2l{TYd{#wtk zD^-PCTPw!e98y+WQvRCA0qQfpLiU5~q!DSeAk%??v5fQEpeKII#)_`N8_-r7$php% zL2=b_xO}iCM%ws`Df5gqMof>foKX=@)+g5B4QEz`-WIKi@HbIrRJ4R+Ny9NpG8vmg o8>RYKpYGGgW}E0{Lhovda-j_Y>&_hVa;)IUA`{XFph0B>x4zyJUM literal 0 HcmV?d00001 From f5fd116acde04b4b5002c7e77a66babf0a6c3e4c Mon Sep 17 00:00:00 2001 From: NukeGH05T <68909193+NukeGH05T@users.noreply.github.com> Date: Wed, 22 Sep 2021 12:14:05 +0600 Subject: [PATCH 2/3] Update README.md --- README.md | 67 +------------------------------------------------------ 1 file changed, 1 insertion(+), 66 deletions(-) diff --git a/README.md b/README.md index 6e05c35..3f43aed 100644 --- a/README.md +++ b/README.md @@ -1,66 +1 @@ -# FidelityFX-CLI - -Copyright (c) 2021 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 Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -## Introduction - -FidelityFX Super Resolution (FSR) is an open source, high-quality solution for producing high resolution frames from lower resolution inputs. For more information, see dedciated page on [amd.com](https://www.amd.com/en/technologies/radeon-software-fidelityfx-super-resolution), [GPUOpen.com](https://gpuopen.com/fsr), [GitHub](https://github.com/GPUOpen-Effects/FidelityFX-FSR). - -Contrast Adaptive Sharpening (CAS) is a low overhead adaptive sharpening algorithm with optional up-sampling. For more information, see dedciated page on [amd.com](https://www.amd.com/en/technologies/radeon-software-fidelityfx), [GPUOpen.com](https://gpuopen.com/fidelityfx-cas/), [GitHub](https://github.com/GPUOpen-Effects/FidelityFX-CAS). - -This project is a small command-line Windows tool that processes image files using the FSR or CAS algorithm. It allows to test how the shaders would affect screenshots from your game. Releases contain executable binary while this respository contains source code. - -## Command line syntax - -``` -FidelityFX-CLI 1.0.3 -Command line syntax: - FidelityFX_CLI.exe [Options] ... -Options: --Scale - Width, Height can be: - Number: -Scale 3840 2160 - Scale factor: -Scale 2x 2x - Percent: -Scale 150% 150% --QualityMode - Specify instead of -Scale to use one of the predefined scaling factors. - Quality can be: UltraQuality (1.3x), Quality (1.5x), Balanced (1.7x), Performance (2x) --Mode - Modes from FSR package: - EASU - Edge Adaptive Spatial Upsampling (default) aliases: FSR, FSR1 - RCAS - Robust Contrast Adaptive Sharpening (doesn't support Scale) - Modes from CAS package: - CAS - Contrast Adaptive Sharpening - Modes from Windows Imaging Component: - NearestNeighbor, Linear, Cubic, HighQualityCubic, Fant --Sharpness - -Mode CAS: range from 0.0 (default) to 1.0 (maximum extra sharpness) - -Mode RCAS: range from 0.0 (maximum sharpness) to number of stops (halving) of the reduction of sharpness --FP16 - If not set (default), uses R8G8B8A8_UNORM GPU texture format. - If set, uses R16G16B16A16_FLOAT GPU texture format. --Linear - If not set (default), treats input and output image as sRGB. - If set, treats input and output image as linear. - Works only when -FP16 is not specified. -Supported formats: BMP, PNG, ICO, JPG, TIF, GIF -``` - -## Additional information - -Written in C++ using Visual Studio 2019 and Cmake. No external dependencies other than the Windows API and Direct3D 11. Image file formats are handled using the [Windows Imaging Component (WIC)](https://docs.microsoft.com/en-us/windows/win32/wic/-wic-about-windows-imaging-codec) framework (part of Windows API). Shaders are compiled to H files (with a little help from the [Fx Batch Compiler](https://github.com/sawickiap/FxBatchCompiler) tool) and bundled with the source code to build the executable. +Check [FiedilityFX-Assist](https://github.com/NukeGH05T/FiedilityFX-Assist) From dbd3dd5506d63bc8b0ae2511671a7c8c6515ff95 Mon Sep 17 00:00:00 2001 From: NukeGH05T <68909193+NukeGH05T@users.noreply.github.com> Date: Wed, 29 Sep 2021 13:40:27 +0600 Subject: [PATCH 3/3] Update README.md --- README.md | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f43aed..903c643 100644 --- a/README.md +++ b/README.md @@ -1 +1,69 @@ -Check [FiedilityFX-Assist](https://github.com/NukeGH05T/FiedilityFX-Assist) +# FidelityFX-CLI + +Copyright (c) 2021 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 Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +## Introduction + +FidelityFX Super Resolution (FSR) is an open source, high-quality solution for producing high resolution frames from lower resolution inputs. For more information, see dedciated page on [amd.com](https://www.amd.com/en/technologies/radeon-software-fidelityfx-super-resolution), [GPUOpen.com](https://gpuopen.com/fsr), [GitHub](https://github.com/GPUOpen-Effects/FidelityFX-FSR). + +Contrast Adaptive Sharpening (CAS) is a low overhead adaptive sharpening algorithm with optional up-sampling. For more information, see dedciated page on [amd.com](https://www.amd.com/en/technologies/radeon-software-fidelityfx), [GPUOpen.com](https://gpuopen.com/fidelityfx-cas/), [GitHub](https://github.com/GPUOpen-Effects/FidelityFX-CAS). + +This project is a small command-line Windows tool that processes image files using the FSR or CAS algorithm. It allows to test how the shaders would affect screenshots from your game. Releases contain executable binary while this respository contains source code. + +## Command line syntax + +``` +FidelityFX-CLI 1.0.3 +Command line syntax: + FidelityFX_CLI.exe [Options] ... +Options: +-Scale + Width, Height can be: + Number: -Scale 3840 2160 + Scale factor: -Scale 2x 2x + Percent: -Scale 150% 150% +-QualityMode + Specify instead of -Scale to use one of the predefined scaling factors. + Quality can be: UltraQuality (1.3x), Quality (1.5x), Balanced (1.7x), Performance (2x) +-Mode + Modes from FSR package: + EASU - Edge Adaptive Spatial Upsampling (default) aliases: FSR, FSR1 + RCAS - Robust Contrast Adaptive Sharpening (doesn't support Scale) + Modes from CAS package: + CAS - Contrast Adaptive Sharpening + Modes from Windows Imaging Component: + NearestNeighbor, Linear, Cubic, HighQualityCubic, Fant +-Sharpness + -Mode CAS: range from 0.0 (default) to 1.0 (maximum extra sharpness) + -Mode RCAS: range from 0.0 (maximum sharpness) to number of stops (halving) of the reduction of sharpness +-FP16 + If not set (default), uses R8G8B8A8_UNORM GPU texture format. + If set, uses R16G16B16A16_FLOAT GPU texture format. +-Linear + If not set (default), treats input and output image as sRGB. + If set, treats input and output image as linear. + Works only when -FP16 is not specified. +Supported formats: BMP, PNG, ICO, JPG, TIF, GIF +``` + +## Additional information + +Written in C++ using Visual Studio 2019 and Cmake. No external dependencies other than the Windows API and Direct3D 11. Image file formats are handled using the [Windows Imaging Component (WIC)](https://docs.microsoft.com/en-us/windows/win32/wic/-wic-about-windows-imaging-codec) framework (part of Windows API). Shaders are compiled to H files (with a little help from the [Fx Batch Compiler](https://github.com/sawickiap/FxBatchCompiler) tool) and bundled with the source code to build the executable. + +## GUI Assistance +A GUI front is available [here](https://github.com/NukeGH05T/FiedilityFX-Assist) .