diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 35f7c1073c..64510f3746 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -40,10 +40,6 @@ #include "libavutil/pixdesc.h" #include "libavutil/imgutils.h" -#if HAVE_MMX_EXTERNAL -#include "x86/dsputil_x86.h" -#endif - #define FF_COLOR_NA -1 #define FF_COLOR_RGB 0 /**< RGB color space */ #define FF_COLOR_GRAY 1 /**< gray color space */ diff --git a/libavcodec/imgconvert.h b/libavcodec/imgconvert.h index df8cee794f..0ce626d7a2 100644 --- a/libavcodec/imgconvert.h +++ b/libavcodec/imgconvert.h @@ -21,6 +21,24 @@ #include +#include "version.h" + +#if FF_API_DEINTERLACE + +void ff_deinterlace_line_mmx(uint8_t *dst, + const uint8_t *lum_m4, const uint8_t *lum_m3, + const uint8_t *lum_m2, const uint8_t *lum_m1, + const uint8_t *lum, + int size); + +void ff_deinterlace_line_inplace_mmx(const uint8_t *lum_m4, + const uint8_t *lum_m3, + const uint8_t *lum_m2, + const uint8_t *lum_m1, + const uint8_t *lum, int size); + +#endif /* FF_API_DEINTERLACE */ + /* 1/2^n downscaling functions */ void ff_shrink22(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); void ff_shrink44(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); diff --git a/libavcodec/x86/dsputil_x86.h b/libavcodec/x86/dsputil_x86.h index 264d1fff11..f56d8f3ca4 100644 --- a/libavcodec/x86/dsputil_x86.h +++ b/libavcodec/x86/dsputil_x86.h @@ -100,18 +100,6 @@ void ff_put_pixels16_xy2_mmx(uint8_t *block, const uint8_t *pixels, void ff_mmx_idct(int16_t *block); void ff_mmxext_idct(int16_t *block); -void ff_deinterlace_line_mmx(uint8_t *dst, - const uint8_t *lum_m4, const uint8_t *lum_m3, - const uint8_t *lum_m2, const uint8_t *lum_m1, - const uint8_t *lum, - int size); - -void ff_deinterlace_line_inplace_mmx(const uint8_t *lum_m4, - const uint8_t *lum_m3, - const uint8_t *lum_m2, - const uint8_t *lum_m1, - const uint8_t *lum, int size); - #define PIXELS16(STATIC, PFX1, PFX2, TYPE, CPUEXT) \ STATIC void PFX1 ## _pixels16 ## TYPE ## CPUEXT(uint8_t *block, \ const uint8_t *pixels, \