AmusementClub / vs-boxblur

AVX2-vectorized box filter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vs-boxblur

AVX2-vectorized box filter.

For integer input, it favors architectures with fast cross lane shuffle (e.g. haswell or later architectures of intel) or slow integer division (e.g. pre-zen3 architectures of amd).

Usage

Prototype:

box.Blur(vnode clip[, int[] planes, int hradius = 1, int hpasses = 1, int vradius = 1, int vpasses = 1])

Building

cmake -S . -B build -D CMAKE_BUILD_TYPE=Release
cmake --build build
cmake --install build

About

AVX2-vectorized box filter

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 89.9%Language:CMake 9.3%Language:C 0.8%