[FFmpeg-cvslog] libavfilter/x86/vf_gblur: fixed the fate-test failed on MacOS
Wu Jianhua
git at videolan.org
Sat Sep 18 13:38:59 EEST 2021
ffmpeg | branch: master | Wu Jianhua <jianhua.wu at intel.com> | Thu Sep 16 15:34:07 2021 +0800| [fcf10c925dc4a4ab883b4ad14ea61bbdaa6f8521] | committer: Paul B Mahol
libavfilter/x86/vf_gblur: fixed the fate-test failed on MacOS
Signed-off-by: Wu Jianhua <jianhua.wu at intel.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fcf10c925dc4a4ab883b4ad14ea61bbdaa6f8521
---
libavfilter/x86/vf_gblur.asm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavfilter/x86/vf_gblur.asm b/libavfilter/x86/vf_gblur.asm
index c0d57cc82b..64c067538a 100644
--- a/libavfilter/x86/vf_gblur.asm
+++ b/libavfilter/x86/vf_gblur.asm
@@ -455,12 +455,13 @@ cglobal horiz_slice, 4, 9, 9, ptr, width, height, steps, nu, bscale, x, y, step,
mov nuq, localbufm
DEFINE_ARGS buffer, width, height, steps, \
localbuf, x, y, step, stride, remain, ptr, mask
- MOVSXDIFNIDN width, height, steps
%else
VBROADCASTSS m0, xmm0 ; nu
VBROADCASTSS m1, xmm1 ; bscale
%endif
+ MOVSXDIFNIDN width, height, steps
+
%if cpuflag(avx512)
vpbroadcastd m2, widthd
INIT_WORD_MASK k6, k5, k4, k3, k2, k1
@@ -861,11 +862,12 @@ cglobal verti_slice, 6, 12, 9, 0-mmsize*2, buffer, width, height, cbegin, cend,
VBROADCASTSS m1, bscalem
DEFINE_ARGS buffer, width, height, cbegin, cend, \
steps, x, y, cwidth, step, ptr, stride
- MOVSXDIFNIDN width, height, cbegin, cend, steps
%else
VBROADCASTSS m0, xmm0 ; nu
VBROADCASTSS m1, xmm1 ; bscale
%endif
+ MOVSXDIFNIDN width, height, cbegin, cend, steps
+
mov cwidthq, cendq
sub cwidthq, cbeginq
lea strideq, [widthq * 4]
More information about the ffmpeg-cvslog
mailing list