Skip to content

Commit

Permalink
Set MT mode: MT_MULTI_INSTANCE
Browse files Browse the repository at this point in the history
  • Loading branch information
Asd-g committed Apr 14, 2021
1 parent 6799dc1 commit 601d505
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
hqdn3d 1.0.1 (2021-4-15):
Set MT mode: MT_MULTI_INSTANCE.

hqdn3d 1.0.0 (2021-4-12):
Add parameters y, u, v.
Add support for all YUV planar formats.
Expand Down
4 changes: 4 additions & 0 deletions src/hqdn3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ class hqdn3d : public GenericVideoFilter

public:
hqdn3d(PClip _child, double LumSpac, double ChromSpac, double LumTmp, double ChromTmp, int restart, int y, int u, int v, IScriptEnvironment* env);
int __stdcall SetCacheHints(int cachehints, int frame_range) override
{
return cachehints == CACHE_GET_MTMODE ? MT_MULTI_INSTANCE : 0;
}
~hqdn3d();
PVideoFrame __stdcall GetFrame(int n, IScriptEnvironment* env);
};
Expand Down
8 changes: 4 additions & 4 deletions src/hqdn3d.rc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include <ntdef.h>

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEVERSION 1,0,1,0
PRODUCTVERSION 1,0,1,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0x0L
FILEOS VOS__WINDOWS32
Expand All @@ -16,11 +16,11 @@ BEGIN
BEGIN
VALUE "Comments", "High Quality DeNoise 3D filter."
VALUE "FileDescription", "hqdn3d for AviSynth 2.6 / AviSynth+"
VALUE "FileVersion", "1.0.0"
VALUE "FileVersion", "1.0.1"
VALUE "InternalName", "hqdn3d"
VALUE "OriginalFilename", "hqdn3d.dll"
VALUE "ProductName", "hqdn3d"
VALUE "ProductVersion", "1.0.0"
VALUE "ProductVersion", "1.0.1"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 601d505

Please sign in to comment.