[FFmpeg-cvslog] x86/h26x/h2656dsp: add missing preprocessor wrappers

James Almer git at videolan.org
Thu Feb 1 21:05:11 EET 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Feb  1 15:58:25 2024 -0300| [b181868aba5741a36b8ec56fec6b960313c88a7f] | committer: James Almer

x86/h26x/h2656dsp: add missing preprocessor wrappers

Fixes compilation on x86_32 targets.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b181868aba5741a36b8ec56fec6b960313c88a7f
---

 libavcodec/x86/h26x/h2656dsp.c | 3 +++
 1 file changed, 3 insertions(+)

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



More information about the ffmpeg-cvslog mailing list