Skip to content
Snippets Groups Projects
Commit 341cacb9 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/x86/hevcdsp_init: fix build failure with --disable-mmx

parent e54c052b
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include "libavcodec/hevcdsp.h" #include "libavcodec/hevcdsp.h"
#include "libavcodec/x86/hevcdsp.h" #include "libavcodec/x86/hevcdsp.h"
#if ARCH_X86_64
#define mc_rep_func(name, bitd, step, W, opt) \ #define mc_rep_func(name, bitd, step, W, opt) \
void ff_hevc_put_hevc_##name##W##_##bitd##_##opt(int16_t *_dst, ptrdiff_t dststride, \ 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 ...@@ -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) 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, 64, sse4);
mc_rep_funcs(pel_pixels, 8, 16, 48, sse4); mc_rep_funcs(pel_pixels, 8, 16, 48, sse4);
mc_rep_funcs(pel_pixels, 8, 16, 32, sse4); mc_rep_funcs(pel_pixels, 8, 16, 32, sse4);
...@@ -317,7 +318,7 @@ mc_bi_w_funcs(qpel_h, 10, 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_v, 10, sse4);
mc_bi_w_funcs(qpel_hv, 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 ) \ #define EPEL_LINKS(pointer, my, mx, fname, bitd, opt ) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment