From ac8073192a24c4497ed513dbf8a2a3a5c44583f9 Mon Sep 17 00:00:00 2001
From: Asd-g <65298684+Asd-g@users.noreply.github.com>
Date: Mon, 26 Aug 2024 02:37:48 +0300
Subject: [PATCH] Update version to 1.2.2
Add more models.
---
CHANGELOG.md | 3 +++
README.md | 19 ++++++++++++++++---
src/plugin.cpp | 23 ++++++++++++++++++-----
src/rife.rc | 8 ++++----
4 files changed, 41 insertions(+), 12 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index de05f08..afe4efe 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+##### 1.2.2:
+ Added more models. (https://github.com/styler00dollar/VapourSynth-RIFE-ncnn-Vulkan)
+
##### 1.2.1.1:
Used ncnn that handle properly multiple GPU instances.
diff --git a/README.md b/README.md
index e26861a..57cbd78 100644
--- a/README.md
+++ b/README.md
@@ -81,9 +81,22 @@ RIFE(clip input, int "model", int "factor_num", int "factor_den", int "fps_num",
50: rife-v4.15_lite_ensembleTrue
51: rife-v4.16_lite_ensembleFalse
52: rife-v4.16_lite_ensembleTrue
- 53: sudo_rife4_ensembleFalse_fastTrue
- 54: sudo_rife4_ensembleTrue_fastFalse
- 55: sudo_rife4_ensembleTrue_fastTrue
+ 53: rife-v4.17 (ensemble=False)
+ 54: rife-v4.17 (ensemble=True)
+ 55: rife-v4.17-lite (ensemble=False)
+ 56: rife-v4.17-lite (ensemble=True)
+ 57: rife-v4.18 (ensemble=False)
+ 58: rife-v4.18 (ensemble=True)
+ 59: rife-v4.19-beta (ensemble=False)
+ 60: rife-v4.19-beta (ensemble=True)
+ 61: rife-v4.20 (ensemble=False)
+ 62: rife-v4.20 (ensemble=True)
+ 63: rife-v4.21 (ensemble=False)
+ 64: rife-v4.22 (ensemble=False)
+ 65: rife-v4.22-lite(ensemble=False)
+ 66: sudo_rife4_ensembleFalse_fastTrue
+ 67: sudo_rife4_ensembleTrue_fastFalse
+ 68: sudo_rife4_ensembleTrue_fastTrue
Default: 5.
- factor_num, factor_den
diff --git a/src/plugin.cpp b/src/plugin.cpp
index 5d41dbf..97fad05 100644
--- a/src/plugin.cpp
+++ b/src/plugin.cpp
@@ -55,7 +55,7 @@ struct Map
}
};
-static constexpr std::array, 56> models_num
+static constexpr std::array, 69> models_num
{
std::make_pair(0, "/rife"),
std::make_pair(1, "/rife-HD"),
@@ -110,12 +110,25 @@ static constexpr std::array, 56> models_num
std::make_pair(50, "/rife-v4.15_lite_ensembleTrue"),
std::make_pair(51, "/rife-v4.16_lite_ensembleFalse"),
std::make_pair(52, "/rife-v4.16_lite_ensembleTrue"),
- std::make_pair(53, "/sudo_rife4_ensembleFalse_fastTrue"),
- std::make_pair(54, "/sudo_rife4_ensembleTrue_fastFalse"),
- std::make_pair(55, "/sudo_rife4_ensembleTrue_fastTrue")
+ std::make_pair(53, "/rife-v4.17_ensembleFalse"),
+ std::make_pair(54, "/rife-v4.17_ensembleTrue"),
+ std::make_pair(55, "/rife-v4.17_lite_ensembleFalse"),
+ std::make_pair(56, "/rife-v4.17_lite_ensembleTrue"),
+ std::make_pair(57, "/rife-v4.18_ensembleFalse"),
+ std::make_pair(58, "/rife-v4.18_ensembleTrue"),
+ std::make_pair(59, "/rife-v4.19_beta_ensembleFalse"),
+ std::make_pair(60, "/rife-v4.19_beta_ensembleTrue"),
+ std::make_pair(61, "/rife-v4.20_ensembleFalse"),
+ std::make_pair(62, "/rife-v4.20_ensembleTrue"),
+ std::make_pair(63, "/rife-v4.21_ensembleFalse"),
+ std::make_pair(64, "/rife-v4.22_ensembleFalse"),
+ std::make_pair(65, "/rife-v4.22_lite_ensembleFalse"),
+ std::make_pair(66, "/sudo_rife4_ensembleFalse_fastTrue"),
+ std::make_pair(67, "/sudo_rife4_ensembleTrue_fastFalse"),
+ std::make_pair(68, "/sudo_rife4_ensembleTrue_fastTrue")
};
-static constexpr auto map_models{ Map{ { models_num } } };
+static constexpr auto map_models{ Map{ { models_num } } };
struct RIFEData
{
diff --git a/src/rife.rc b/src/rife.rc
index 812fe0a..4e30119 100644
--- a/src/rife.rc
+++ b/src/rife.rc
@@ -1,8 +1,8 @@
#include
1 VERSIONINFO
-FILEVERSION 1,2,1,1
-PRODUCTVERSION 1,2,1,1
+FILEVERSION 1,2,2,0
+PRODUCTVERSION 1,2,2,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILETYPE VFT_DLL
BEGIN
@@ -12,11 +12,11 @@ BEGIN
BEGIN
VALUE "Comments", "RIFE-ncnn-Vulkan filter."
VALUE "FileDescription", "RIFE for AviSynth+."
- VALUE "FileVersion", "1.2.1.1"
+ VALUE "FileVersion", "1.2.2"
VALUE "InternalName", "RIFE"
VALUE "OriginalFilename", "RIFE.dll"
VALUE "ProductName", "RIFE"
- VALUE "ProductVersion", "1.2.1.1"
+ VALUE "ProductVersion", "1.2.2"
END
END
BLOCK "VarFileInfo"