diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-05-19 10:02:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-21 03:25:08 +0200 |
commit | d1a32c3f4912afcf9cf612e746ba104b32f63b28 (patch) | |
tree | 33bda8f00c02cac1676d9c528562cb99ab4ad914 /libavcodec/x86/vc1dsp_mmx.c | |
parent | 19e66c7232d96e4ae8f05b52da2b84dfaa4e4da3 (diff) | |
download | ffmpeg-d1a32c3f4912afcf9cf612e746ba104b32f63b28.tar.gz |
x86: kill fpel_mmx.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/vc1dsp_mmx.c')
-rw-r--r-- | libavcodec/x86/vc1dsp_mmx.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/x86/vc1dsp_mmx.c b/libavcodec/x86/vc1dsp_mmx.c index 87e4638ca7..77a8e359ff 100644 --- a/libavcodec/x86/vc1dsp_mmx.c +++ b/libavcodec/x86/vc1dsp_mmx.c @@ -728,6 +728,7 @@ static void vc1_inv_trans_8x8_dc_mmxext(uint8_t *dest, int linesize, ); } +#if HAVE_MMX_EXTERNAL static void put_vc1_mspel_mc00_mmx(uint8_t *dst, const uint8_t *src, ptrdiff_t stride, int rnd) { @@ -748,6 +749,7 @@ static void avg_vc1_mspel_mc00_16_mmx(uint8_t *dst, const uint8_t *src, { ff_avg_pixels16_mmx(dst, src, stride, 16); } +#endif #define FN_ASSIGN(OP, X, Y, INSN) \ dsp->OP##vc1_mspel_pixels_tab[1][X+4*Y] = OP##vc1_mspel_mc##X##Y##INSN; \ @@ -755,7 +757,10 @@ static void avg_vc1_mspel_mc00_16_mmx(uint8_t *dst, const uint8_t *src, av_cold void ff_vc1dsp_init_mmx(VC1DSPContext *dsp) { +#if HAVE_MMX_EXTERNAL FN_ASSIGN(put_, 0, 0, _mmx); + FN_ASSIGN(avg_, 0, 0, _mmx); +#endif FN_ASSIGN(put_, 0, 1, _mmx); FN_ASSIGN(put_, 0, 2, _mmx); FN_ASSIGN(put_, 0, 3, _mmx); @@ -774,8 +779,6 @@ av_cold void ff_vc1dsp_init_mmx(VC1DSPContext *dsp) FN_ASSIGN(put_, 3, 1, _mmx); FN_ASSIGN(put_, 3, 2, _mmx); FN_ASSIGN(put_, 3, 3, _mmx); - - FN_ASSIGN(avg_, 0, 0, _mmx); } av_cold void ff_vc1dsp_init_mmxext(VC1DSPContext *dsp) |