Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 469 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 469 Bytes

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