[FFmpeg-cvslog] avfilter/x86/vf_threshold : make macro for threshold8 in order to add avx2 version
Martin Vignali
git at videolan.org
Sun Dec 3 20:19:20 EET 2017
ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Sun Dec 3 16:58:09 2017 +0100| [51345cb1d5539027f2faa45b920cf97bbd9d5ff1] | committer: Martin Vignali
avfilter/x86/vf_threshold : make macro for threshold8 in order to add avx2 version
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=51345cb1d5539027f2faa45b920cf97bbd9d5ff1
---
libavfilter/x86/vf_threshold.asm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/libavfilter/x86/vf_threshold.asm b/libavfilter/x86/vf_threshold.asm
index 9b0bfd8161..38499dcd04 100644
--- a/libavfilter/x86/vf_threshold.asm
+++ b/libavfilter/x86/vf_threshold.asm
@@ -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
More information about the ffmpeg-cvslog
mailing list