diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-04-23 18:36:25 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-06 11:02:08 +0200 |
commit | 110796739ab32854dc0b6b0a1c95e6ae98889062 (patch) | |
tree | 791ef80e5624c0641e94b1c6c97a088b3038d68c /libavcodec/x86/hpeldsp_init.c | |
parent | dc1b328d0df6e5ad5ff0ca4ae031e08466624f9c (diff) | |
download | ffmpeg-110796739ab32854dc0b6b0a1c95e6ae98889062.tar.gz |
x86: hpeldsp: Move avg_pixels8_x2_mmx() out of hpeldsp_rnd_template.c
The function is only instantiated once, so there is no point
in keeping it in a template file.
Diffstat (limited to 'libavcodec/x86/hpeldsp_init.c')
-rw-r--r-- | libavcodec/x86/hpeldsp_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/x86/hpeldsp_init.c b/libavcodec/x86/hpeldsp_init.c index e79f34396d..bcfa715671 100644 --- a/libavcodec/x86/hpeldsp_init.c +++ b/libavcodec/x86/hpeldsp_init.c @@ -75,6 +75,7 @@ void ff_avg_pixels8_xy2_3dnow(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h); #define avg_pixels8_mmx ff_avg_pixels8_mmx +#define avg_pixels8_x2_mmx ff_avg_pixels8_x2_mmx #define avg_pixels16_mmx ff_avg_pixels16_mmx #define put_pixels8_mmx ff_put_pixels8_mmx #define put_pixels16_mmx ff_put_pixels16_mmx @@ -86,7 +87,6 @@ void ff_avg_pixels8_xy2_3dnow(uint8_t *block, const uint8_t *pixels, /***********************************/ /* MMX no rounding */ -#define NO_RND 1 #define DEF(x, y) x ## _no_rnd_ ## y ## _mmx #define SET_RND MOVQ_WONE #define PAVGBP(a, b, c, d, e, f) PAVGBP_MMX_NO_RND(a, b, c, d, e, f) @@ -99,7 +99,6 @@ void ff_avg_pixels8_xy2_3dnow(uint8_t *block, const uint8_t *pixels, #undef SET_RND #undef PAVGBP #undef PAVGB -#undef NO_RND /***********************************/ /* MMX rounding */ |