ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Mon Jul 21 16:52:34 2025 -0300| [14f44783549b9688633d550bf44ac8056c93bc17] | committer: James Almer
avfilter/x86/vf_colordetect: fix use of AVX512 instruction in AVX2 function on non Unix64 targets Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14f44783549b9688633d550bf44ac8056c93bc17 --- libavfilter/x86/vf_colordetect.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/x86/vf_colordetect.asm b/libavfilter/x86/vf_colordetect.asm index 6482df95cc..3ba9137450 100644 --- a/libavfilter/x86/vf_colordetect.asm +++ b/libavfilter/x86/vf_colordetect.asm @@ -25,15 +25,15 @@ SECTION .text %macro detect_range_fn 1 ; suffix -cglobal detect_range%1, 6, 7, 5, data, stride, width, height, mpeg_min, mpeg_max, x +cglobal detect_range%1, 4, 7, 5, data, stride, width, height, mpeg_min, mpeg_max, x %if UNIX64 && notcpuflag(avx512) movd xm0, mpeg_mind movd xm1, mpeg_maxd vpbroadcast%1 m0, xm0 vpbroadcast%1 m1, xm1 %else - vpbroadcast%1 m0, mpeg_mind - vpbroadcast%1 m1, mpeg_maxd + vpbroadcast%1 m0, mpeg_minm + vpbroadcast%1 m1, mpeg_maxm %endif add dataq, widthq neg widthq _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".