JincResize
From Avisynth wiki
Abstract | |
---|---|
Author | innocenat, Kiyamou, Asd-g |
Version | v1.0.1 |
Download | JincResize-1.0.1.7z |
Category | Resize |
License | MIT |
Discussion | Doom9 Thread |
Contents |
Description
Jinc (EWA Lanczos) resampling plugin for AviSynth 2.6/AviSynth+.
JincResize v1.0.0 and greater is a port of the VapourSynth JincResize filter with SSE / AVX Intrinsics taken from the original JincFilter by innocenat.
JincResize includes 5 functions:
- JincResize is the main filter.
- Jinc36Resize is an alias for JincResize(tap=3).
- Jinc64Resize is an alias for JincResize(tap=4).
- Jinc144Resize is an alias for JincResize(tap=6).
- Jinc256Resize is an alias for JincResize(tap=8).
Requirements
- [x86]: AviSynth+ or AviSynth 2.6
- [x64]: AviSynth+
- Supported color formats: Y8, YV12, YV16, YV24, YV411
- AviSynth+: all planar formats (8/10/12/14/16/32bit, Y/YUV/RGB with or without alpha) are supported.
Syntax and Parameters
- JincResize (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", int "quant_x", int "quant_y", int "tap", float "blur", int "opt")
- Jinc36Resize (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", int "quant_x", int "quant_y")
- Jinc64Resize (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", int "quant_x", int "quant_y")
- Jinc144Resize (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", int "quant_x", int "quant_y")
- Jinc256Resize (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", int "quant_x", int "quant_y")
- clip =
- Input clip.
- clip =
- int =
target_width
: the width of the output.
- int =
- int =
target_height
: the heightof the output.
- int =
- float src_left = 0.0
- Cropping of the left edge.
- float src_left = 0.0
- float src_top = 0.0
- Cropping of the top edge.
- float src_top = 0.0
- float src_width = Source width
- If > 0.0 it sets the width of the clip before resizing.
- If <= 0.0 it sets the cropping of the right edges before resizing.
- float src_width = Source width
- float src_height = Source height
- If > 0.0 it sets the height of the clip before resizing.
- If <= 0.0 it sets the cropping of the bottom edges before resizing
- float src_height = Source height
- int quant_x = 256
- int quant_y = 256
- Controls sub-pixel quantization.
- Must be between 1 and 256.
- int quant_x = 256
- int tap = 3
- Corresponding to different zero points of Jinc function.
- Must be between 1 and 16.
- This parameter is for
JincResize()
only.
- int tap = 3
- float blur = 0.0
- Blur processing, it can reduce side effects.
- To achieve blur, the value should more than 0.0.
- Must be between 0.0 and 10.0. Default: 0.0.
- This parameter is for
JincResize()
only.
- float blur = 0.0
- int opt = 2
- Controls the used CPU optimizations.
- 0 : Use C++ routine.
- 1 : Use SSE routine (SSE4.1 required).
- 2 : Use AVX routine (AVX2 required).
- Default: 2, if AVX not available 1, if SSE not available 0.
- This parameter is for
JincResize()
only.
- Controls the used CPU optimizations.
- int opt = 2
Examples
Upscale to 1920x1080 with Jinc36Resize:
AviSource("Blah.avi") Jinc36Resize(1920, 1080) # same as JincResize(1920,1080)
Changelog
Version Date Changes
r44 2014/09/20 - Latest revision r44 (@0cd502a) - More correct calculation on quantized pixel - Fixing some memory leak - Implement basic downscaling support. - Better memory performance - Cleanup + const qualify more variable - x64 binary - Compiled with Intel Parallel Studio XE 2015 Composer Edition for C++
v0.2 2014/07/27 - Core rewritten to use quantized lookup table for coefficient. - Support SSE2, SSE3, AVX2 and FMA3. - Basically, MUCH faster. - Add Jinc144Resize which is 6-tap filter. - Add quant_x, quant_y, and version parameters.
v0.1.1 2013/11/26 - Binary is now compile with ICC14 - More optimized code, should run much faster. Thanks to tp7 and others for optimization tips.
v0.1 2013/11/26 - Initial release
Archived Downloads
Version | Download | Source code |
---|---|---|
r44 | jincresize_r44.zip Mirror |
jinc-resize-master.zip |
v0.2 | JincResize.dll | jinc-resize-0.2.zip |
v0.1.1 | JincResize.dll | jinc-resize-0.1.1.zip |
v0.1 | JincResize.dll | jinc-resize-0.1.zip |
External Links
- GitHub - Source code repository (original).
- GitHub - Source code repository (update).
- GitHub - Source code repository (VapourSynth version).
Back to External Filters ←