[FFmpeg-cvslog] avfilter/x86/vf_blackdetect: add missing preprocessor check
James Almer
git at videolan.org
Fri Jul 18 21:17:21 EEST 2025
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Jul 18 15:17:02 2025 -0300| [85f29118917b729e565e4d955a394415884e832e] | committer: James Almer
avfilter/x86/vf_blackdetect: add missing preprocessor check
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=85f29118917b729e565e4d955a394415884e832e
---
libavfilter/x86/vf_blackdetect.asm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/x86/vf_blackdetect.asm b/libavfilter/x86/vf_blackdetect.asm
index 86251ceca5..a9d4778aee 100644
--- a/libavfilter/x86/vf_blackdetect.asm
+++ b/libavfilter/x86/vf_blackdetect.asm
@@ -68,6 +68,8 @@ cglobal blackdetect_%1, 5, 7, 2, src, stride, width, height, threshold
RET
%endmacro
+%if HAVE_AVX2_EXTERNAL
INIT_YMM avx2
count_pixels_fn 8
count_pixels_fn 16
+%endif
More information about the ffmpeg-cvslog
mailing list