aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/x86
diff options
context:
space:
mode:
authorWu Jianhua <jianhua.wu@intel.com>2021-09-16 15:34:07 +0800
committerPaul B Mahol <onemda@gmail.com>2021-09-18 12:37:56 +0200
commitfcf10c925dc4a4ab883b4ad14ea61bbdaa6f8521 (patch)
treedacc1c51482e9955008a1aafa7858a2c7e659a75 /libavfilter/x86
parent4fc0b75973d20425df22a9178fc2b735710a5f40 (diff)
downloadffmpeg-fcf10c925dc4a4ab883b4ad14ea61bbdaa6f8521.tar.gz
libavfilter/x86/vf_gblur: fixed the fate-test failed on MacOS
Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r--libavfilter/x86/vf_gblur.asm6
1 files 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]