aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-02-01 15:58:25 -0300
committerJames Almer <jamrial@gmail.com>2024-02-01 16:04:09 -0300
commitb181868aba5741a36b8ec56fec6b960313c88a7f (patch)
treec7a9ef92e21a14f7e225286d804ecb68fccaa527 /libavcodec/x86
parent6b6eb7d74eb4a0d662cd450688db74619c15fb28 (diff)
downloadffmpeg-b181868aba5741a36b8ec56fec6b960313c88a7f.tar.gz
x86/h26x/h2656dsp: add missing preprocessor wrappers
Fixes compilation on x86_32 targets. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/h26x/h2656dsp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/x86/h26x/h2656dsp.c b/libavcodec/x86/h26x/h2656dsp.c
index 7ef1234936..c402f9e21c 100644
--- a/libavcodec/x86/h26x/h2656dsp.c
+++ b/libavcodec/x86/h26x/h2656dsp.c
@@ -67,6 +67,8 @@ void ff_h2656_put_uni_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t dststr
mc_rep_funcs(fname, 12, 8, 32, sse4) \
mc_rep_funcs(fname, 12, 8, 16, sse4) \
+#if ARCH_X86_64 && HAVE_SSE4_EXTERNAL
+
MC_REP_FUNCS_SSE4(pixels)
MC_REP_FUNCS_SSE4(4tap_h)
MC_REP_FUNCS_SSE4(4tap_v)
@@ -96,3 +98,4 @@ MC_REP_FUNCS_AVX2(4tap_h)
MC_REP_FUNCS_AVX2(4tap_v)
MC_REP_FUNCS_AVX2(4tap_hv)
#endif
+#endif