Sakura
8th May 2020, 12:37
Port jinc-resize (https://github.com/AviSynth/jinc-resize) to VapourSynth (cpu optimizations only have AVX2), some codes references to EWA-Resampling-VS (https://github.com/Lypheo/EWA-Resampling-VS).
Github: https://github.com/Kiyamou/VapourSynth-JincResize
Usage
core.jinc.JincResize(clip clip, int width, int height[, int tap, float src_left, float src_top,
float src_width, float src_height, int quant_x, int quant_y, float blur])
My test
720p -> 1080p tap=3
16bit (i5-4260U 1.4Ghz 2 Core)
GCC pure c 10.328 FPS
GCC avx2 9.949 FPS
32bit (i5-4260U 1.4Ghz 2 Core)
GCC pure c 10.998 FPS
GCC avx2 10.499 FPS
16bit (2700x 3.7Ghz 8 Core)
GCC pure c 72.287 FPS
GCC avx2 69.891 FPS
Thanks to everyone who helped me!
Github: https://github.com/Kiyamou/VapourSynth-JincResize
Usage
core.jinc.JincResize(clip clip, int width, int height[, int tap, float src_left, float src_top,
float src_width, float src_height, int quant_x, int quant_y, float blur])
My test
720p -> 1080p tap=3
16bit (i5-4260U 1.4Ghz 2 Core)
GCC pure c 10.328 FPS
GCC avx2 9.949 FPS
32bit (i5-4260U 1.4Ghz 2 Core)
GCC pure c 10.998 FPS
GCC avx2 10.499 FPS
16bit (2700x 3.7Ghz 8 Core)
GCC pure c 72.287 FPS
GCC avx2 69.891 FPS
Thanks to everyone who helped me!