Skip to content

Commit

Permalink
two new plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Olt committed Oct 9, 2024
1 parent ec46f48 commit 694d13e
Show file tree
Hide file tree
Showing 2 changed files with 373 additions and 0 deletions.
187 changes: 187 additions & 0 deletions plugins/dctf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
{
"name": "DCTFilter",
"type": "VSPlugin",
"description": "DCT/IDCT Frequency Suppressor",
"identifier": "com.holywu.dctfilter",
"github": "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DCTFilter",
"runtime_dependencies": {
"fftw3": {
"versions": {
"3.3.10": {
"source": "https://www.fftw.org/fftw-3.3.10.tar.gz",
"hash": "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467",
"build": {
".*": {
"commands": [
{
"cmd": [
"tar",
"xzf",
"{DL_FILENAME}"
]
},
{
"env": {
"CFLAGS": "-fPIC"
},
"cwd": "{DL_DIRECTORY}",
"cmd": [
"./configure",
"--prefix={WORKSPACEDIR}",
"--enable-static",
"--disable-shared",
"--enable-single"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"make",
"-j{NPROC}"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"make",
"install"
]
}
]
}
}
}
}
}
},
"file_definitions": {
"test-filter-0.vpy": {
"path": "{TESTDIR}",
"encoding": "text/utf-8",
"data": "import vapoursynth as vs\ncore = vs.core\ncore.std.LoadPlugin('{TESTDIR}/{PLUGIN_FILENAME}')\nc = core.std.BlankClip(format=vs.YUV420P8,width=320,height=240,length=10)\nc = core.dctf.DCTFilter(c,[0.9,0.8,0.7,0.6,0.5,0.4,0.3,0.2])\nc.set_output(0)\n"
}
},
"tests": [
{
"name": "test-filter-0",
"create_files": [
"test-filter-0.vpy"
],
"commands": [
{
"cwd": "{TESTDIR}",
"cmd": [
"{VSPIPE}",
"test-filter-0.vpy",
"--"
]
}
]
}
],
"releases": [
{
"version": "r2.1",
"published": "2018-11-29T09:02:43Z",
"source": "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DCTFilter/archive/refs/tags/r2.1.tar.gz",
"hash": "80b2e283ac694a7b37cc84f7e50ca3f7f18e370f31342edf0cfbcc2e5869c573",
"filename": "VapourSynth-DCTFilter-r2.1.tar.gz",
"additional_files": {
".*": [
"{BUILDDIR}/{DL_DIRECTORY}/LICENSE",
"{BUILDDIR}/{DL_DIRECTORY}/README.md"
]
},
"build": {
".*": {
"commands": [
{
"cmd": [
"tar",
"xzf",
"{DL_FILENAME}"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"meson",
"rewrite",
"kwargs",
"delete",
"target",
"dctfilter",
"install_dir",
"foobar"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"meson",
"setup",
"--prefix={WORKSPACEDIR}",
"--libdir={WORKSPACEDIR}/lib",
"build"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"ninja",
"-C",
"build"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"ninja",
"-C",
"build",
"install"
]
}
],
"dependencies": [
{
"name": "fftw3",
"version": "3.3.10"
}
]
}
},
"buildtools_dependencies": {
".*": [
{
"name": "meson",
"version": [
">=",
"0.60.0"
]
},
{
"name": "ninja",
"version": [
">=",
"1.10.0"
]
}
]
},
"release_files": {
"linux-.*": [
"{WORKSPACEDIR}/lib/libdctfilter.so"
],
"darwin-.*": [
"{WORKSPACEDIR}/lib/libdctfilter.dylib"
]
},
"tests": {
".*": [
"test-filter-0"
]
}
}
]
}
186 changes: 186 additions & 0 deletions plugins/fft3dfilter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{
"name": "FFT3DFilter",
"type": "VSPlugin",
"description": "3D frequency domain denoiser/sharpener",
"identifier": "systems.innocent.fft3dfilter",
"github": "https://github.com/myrsloik/VapourSynth-FFT3DFilter",
"runtime_dependencies": {
"fftw3": {
"versions": {
"3.3.10": {
"source": "https://www.fftw.org/fftw-3.3.10.tar.gz",
"hash": "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467",
"build": {
".*": {
"commands": [
{
"cmd": [
"tar",
"xzf",
"{DL_FILENAME}"
]
},
{
"env": {
"CFLAGS": "-fPIC"
},
"cwd": "{DL_DIRECTORY}",
"cmd": [
"./configure",
"--prefix={WORKSPACEDIR}",
"--enable-static",
"--disable-shared",
"--enable-single"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"make",
"-j{NPROC}"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"make",
"install"
]
}
]
}
}
}
}
}
},
"file_definitions": {
"test-filter-0.vpy": {
"path": "{TESTDIR}",
"encoding": "text/utf-8",
"data": "import vapoursynth as vs\ncore = vs.core\ncore.std.LoadPlugin('{TESTDIR}/{PLUGIN_FILENAME}')\nc = core.std.BlankClip(format=vs.YUV420P8,width=320,height=240,length=10)\nc = core.fft3dfilter.FFT3DFilter(c)\nc.set_output(0)\n"
}
},
"tests": [
{
"name": "test-filter-0",
"create_files": [
"test-filter-0.vpy"
],
"commands": [
{
"cwd": "{TESTDIR}",
"cmd": [
"{VSPIPE}",
"test-filter-0.vpy",
"--"
]
}
]
}
],
"releases": [
{
"version": "R2",
"published": "2021-09-11T18:41:47Z",
"source": "https://github.com/myrsloik/VapourSynth-FFT3DFilter/archive/refs/tags/R2.tar.gz",
"hash": "d6656e265da213bb396bab5cc0455522c491494cd2954a54c013788323e231f1",
"filename": "VapourSynth-FFT3DFilter-R2.tar.gz",
"additional_files": {
".*": [
"{BUILDDIR}/{DL_DIRECTORY}/LICENSE"
]
},
"build": {
".*": {
"commands": [
{
"cmd": [
"tar",
"xzf",
"{DL_FILENAME}"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"meson",
"rewrite",
"kwargs",
"delete",
"target",
"fft3dfilter",
"install_dir",
"foobar"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"meson",
"setup",
"--prefix={WORKSPACEDIR}",
"--libdir={WORKSPACEDIR}/lib",
"build"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"ninja",
"-C",
"build"
]
},
{
"cwd": "{DL_DIRECTORY}",
"cmd": [
"ninja",
"-C",
"build",
"install"
]
}
],
"dependencies": [
{
"name": "fftw3",
"version": "3.3.10"
}
]
}
},
"buildtools_dependencies": {
".*": [
{
"name": "meson",
"version": [
">=",
"0.60.0"
]
},
{
"name": "ninja",
"version": [
">=",
"1.10.0"
]
}
]
},
"release_files": {
"linux-.*": [
"{WORKSPACEDIR}/lib/libfft3dfilter.so"
],
"darwin-.*": [
"{WORKSPACEDIR}/lib/libfft3dfilter.dylib"
]
},
"tests": {
".*": [
"test-filter-0"
]
}
}
]
}

0 comments on commit 694d13e

Please sign in to comment.