Skip to content

Commit

Permalink
Port Anime4K_Restore_S variant (#693)
Browse files Browse the repository at this point in the history
* Port Anime4K_Restore_S variant

* Port Anime4K_Restore_Soft_S variant the same way

* Fix Anime4K_Restore_Soft_S sort name

* Optimize Anime4K_Restore_S and Soft variant

* Minor optimization

---------

Co-authored-by: 刘旭 <34770031+Blinue@users.noreply.github.com>
  • Loading branch information
IsaiasYang and Blinue authored Aug 2, 2023
1 parent 6eb6b3a commit d74a2ae
Show file tree
Hide file tree
Showing 13 changed files with 618 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Effects/Anime4K/Anime4K_Restore_L.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//!VERSION 3
//!OUTPUT_WIDTH INPUT_WIDTH
//!OUTPUT_HEIGHT INPUT_HEIGHT
//!SORT_NAME Anime4K_Restore_1
//!SORT_NAME Anime4K_Restore_2


//!TEXTURE
Expand Down
2 changes: 1 addition & 1 deletion src/Effects/Anime4K/Anime4K_Restore_M.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//!VERSION 3
//!OUTPUT_WIDTH INPUT_WIDTH
//!OUTPUT_HEIGHT INPUT_HEIGHT
//!SORT_NAME Anime4K_Restore_0
//!SORT_NAME Anime4K_Restore_1


//!TEXTURE
Expand Down
298 changes: 298 additions & 0 deletions src/Effects/Anime4K/Anime4K_Restore_S.hlsl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Effects/Anime4K/Anime4K_Restore_Soft_L.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//!VERSION 3
//!OUTPUT_WIDTH INPUT_WIDTH
//!OUTPUT_HEIGHT INPUT_HEIGHT
//!SORT_NAME Anime4K_Restore_Soft_1
//!SORT_NAME Anime4K_Restore_Soft_2


//!TEXTURE
Expand Down
2 changes: 1 addition & 1 deletion src/Effects/Anime4K/Anime4K_Restore_Soft_M.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//!VERSION 3
//!OUTPUT_WIDTH INPUT_WIDTH
//!OUTPUT_HEIGHT INPUT_HEIGHT
//!SORT_NAME Anime4K_Restore_Soft_0
//!SORT_NAME Anime4K_Restore_Soft_1


//!TEXTURE
Expand Down
298 changes: 298 additions & 0 deletions src/Effects/Anime4K/Anime4K_Restore_Soft_S.hlsl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Effects/Anime4K/Anime4K_Restore_Soft_UL.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//!VERSION 3
//!OUTPUT_WIDTH INPUT_WIDTH
//!OUTPUT_HEIGHT INPUT_HEIGHT
//!SORT_NAME Anime4K_Restore_Soft_3
//!SORT_NAME Anime4K_Restore_Soft_4


//!TEXTURE
Expand Down
2 changes: 1 addition & 1 deletion src/Effects/Anime4K/Anime4K_Restore_Soft_VL.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//!VERSION 3
//!OUTPUT_WIDTH INPUT_WIDTH
//!OUTPUT_HEIGHT INPUT_HEIGHT
//!SORT_NAME Anime4K_Restore_Soft_2
//!SORT_NAME Anime4K_Restore_Soft_3


//!TEXTURE
Expand Down
2 changes: 1 addition & 1 deletion src/Effects/Anime4K/Anime4K_Restore_UL.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//!VERSION 3
//!OUTPUT_WIDTH INPUT_WIDTH
//!OUTPUT_HEIGHT INPUT_HEIGHT
//!SORT_NAME Anime4K_Restore_3
//!SORT_NAME Anime4K_Restore_4


//!TEXTURE
Expand Down
2 changes: 1 addition & 1 deletion src/Effects/Anime4K/Anime4K_Restore_VL.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//!VERSION 3
//!OUTPUT_WIDTH INPUT_WIDTH
//!OUTPUT_HEIGHT INPUT_HEIGHT
//!SORT_NAME Anime4K_Restore_2
//!SORT_NAME Anime4K_Restore_3


//!TEXTURE
Expand Down
6 changes: 6 additions & 0 deletions src/Effects/Effects.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@
<CopyFileToFolders Include="Anime4K\Anime4K_Restore_UL.hlsl">
<FileType>Document</FileType>
</CopyFileToFolders>
<CopyFileToFolders Include="Anime4K\Anime4K_Restore_S.hlsl">
<FileType>Document</FileType>
</CopyFileToFolders>
<CopyFileToFolders Include="Anime4K\Anime4K_Restore_Soft_S.hlsl">
<FileType>Document</FileType>
</CopyFileToFolders>
<CopyFileToFolders Include="Anime4K\Anime4K_Thin_HQ.hlsl">
<FileType>Document</FileType>
</CopyFileToFolders>
Expand Down
6 changes: 6 additions & 0 deletions src/Effects/Effects.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@
<CopyFileToFolders Include="Anime4K\Anime4K_Restore_UL.hlsl">
<Filter>Anime4K</Filter>
</CopyFileToFolders>
<CopyFileToFolders Include="Anime4K\Anime4K_Restore_S.hlsl">
<Filter>Anime4K</Filter>
</CopyFileToFolders>
<CopyFileToFolders Include="Anime4K\Anime4K_Restore_Soft_S.hlsl">
<Filter>Anime4K</Filter>
</CopyFileToFolders>
<CopyFileToFolders Include="Anime4K\Anime4K_Thin_HQ.hlsl">
<Filter>Anime4K</Filter>
</CopyFileToFolders>
Expand Down
2 changes: 2 additions & 0 deletions src/Updater/PackageFiles.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ static constexpr const wchar_t* V0_10_3_FILES[] = {
L"effects\\Anime4K\\Anime4K_Restore_Soft_VL.hlsl",
L"effects\\Anime4K\\Anime4K_Restore_UL.hlsl",
L"effects\\Anime4K\\Anime4K_Restore_VL.hlsl",
L"effects\\Anime4K\\Anime4K_Restore_S.hlsl",
L"effects\\Anime4K\\Anime4K_Restore_Soft_S.hlsl",
L"effects\\Anime4K\\Anime4K_Thin_HQ.hlsl",
L"effects\\Anime4K\\Anime4K_Upscale_Denoise_L.hlsl",
L"effects\\Anime4K\\Anime4K_Upscale_Denoise_S.hlsl",
Expand Down

0 comments on commit d74a2ae

Please sign in to comment.