diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-09 05:16:27 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-09 05:16:27 +0200 |
commit | 341cacb9ac1bb041d49ddb31fd9671b094ca8a2d (patch) | |
tree | a9734a4f82eb9394d270fd2301909c60ba2883d6 /libavcodec | |
parent | e54c052beedb13f7e5d6cb2e9a5b457a48759f6c (diff) | |
download | ffmpeg-341cacb9ac1bb041d49ddb31fd9671b094ca8a2d.tar.gz |
avcodec/x86/hevcdsp_init: fix build failure with --disable-mmx
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/hevcdsp_init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/x86/hevcdsp_init.c b/libavcodec/x86/hevcdsp_init.c index eaae58bcf0..61ac6a98dc 100644 --- a/libavcodec/x86/hevcdsp_init.c +++ b/libavcodec/x86/hevcdsp_init.c @@ -28,7 +28,6 @@ #include "libavcodec/hevcdsp.h" #include "libavcodec/x86/hevcdsp.h" -#if ARCH_X86_64 #define mc_rep_func(name, bitd, step, W, opt) \ void ff_hevc_put_hevc_##name##W##_##bitd##_##opt(int16_t *_dst, ptrdiff_t dststride, \ @@ -83,6 +82,8 @@ void ff_hevc_put_hevc_bi_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t dst mc_rep_bi_func(name, bitd, step, W, opt) +#if ARCH_X86_64 && HAVE_SSE4_EXTERNAL + mc_rep_funcs(pel_pixels, 8, 16, 64, sse4); mc_rep_funcs(pel_pixels, 8, 16, 48, sse4); mc_rep_funcs(pel_pixels, 8, 16, 32, sse4); @@ -317,7 +318,7 @@ mc_bi_w_funcs(qpel_h, 10, sse4); mc_bi_w_funcs(qpel_v, 10, sse4); mc_bi_w_funcs(qpel_hv, 10, sse4); -#endif //ARCH_X86_64 +#endif //ARCH_X86_64 && HAVE_SSE4_EXTERNAL #define EPEL_LINKS(pointer, my, mx, fname, bitd, opt ) \ |