diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-12-21 17:33:17 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-22 06:17:29 -0700 |
commit | 322a1dda973e802db7b57f2007fad3efcd5bab81 (patch) | |
tree | b90c1ebb0502547287ecf732e122c7dd810dfec8 /libavcodec/x86/h264_qpel.c | |
parent | f9279ee74936b4990fc46287c27816ef828cc06c (diff) | |
download | ffmpeg-322a1dda973e802db7b57f2007fad3efcd5bab81.tar.gz |
dsputil: Refactor duplicated CALL_2X_PIXELS / PIXELS16 macros
Diffstat (limited to 'libavcodec/x86/h264_qpel.c')
-rw-r--r-- | libavcodec/x86/h264_qpel.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/x86/h264_qpel.c b/libavcodec/x86/h264_qpel.c index 90857cec88..8e067e393e 100644 --- a/libavcodec/x86/h264_qpel.c +++ b/libavcodec/x86/h264_qpel.c @@ -25,6 +25,7 @@ #include "libavutil/x86/cpu.h" #include "libavcodec/h264qpel.h" #include "libavcodec/mpegvideo.h" +#include "libavcodec/pixels.h" #include "dsputil_x86.h" #if HAVE_YASM @@ -49,8 +50,8 @@ void ff_avg_pixels16_l2_mmxext(uint8_t *dst, uint8_t *src1, uint8_t *src2, #define ff_put_pixels16_l2_sse2 ff_put_pixels16_l2_mmxext #define ff_avg_pixels16_l2_sse2 ff_avg_pixels16_l2_mmxext -PIXELS16(static, ff_avg, , , _mmxext) -PIXELS16(static, ff_put, , , _mmxext) +CALL_2X_PIXELS(ff_avg_pixels16_mmxext, ff_avg_pixels8_mmxext, 8) +CALL_2X_PIXELS(ff_put_pixels16_mmxext, ff_avg_pixels8_mmxext, 8) #define DEF_QPEL(OPNAME)\ void ff_ ## OPNAME ## _h264_qpel4_h_lowpass_mmxext(uint8_t *dst, uint8_t *src, int dstStride, int srcStride);\ |