Commit 51345cb1 authored by Martin Vignali's avatar Martin Vignali

avfilter/x86/vf_threshold : make macro for threshold8 in order to add avx2 version

parent cfce4427
......@@ -30,7 +30,7 @@ pb_128: times 16 db 128
SECTION .text
INIT_XMM sse4
%macro THRESHOLD_8 0
cglobal threshold8, 10, 13, 5, in, threshold, min, max, out, ilinesize, tlinesize, flinesize, slinesize, olinesize, w, h, x
mov wd, dword wm
mov hd, dword hm
......@@ -65,5 +65,9 @@ cglobal threshold8, 10, 13, 5, in, threshold, min, max, out, ilinesize, tlinesiz
sub hd, 1
jg .nextrow
RET
%endmacro
INIT_XMM sse4
THRESHOLD_8
%endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment