diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-10-17 16:38:00 -0700 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-10-19 16:52:52 -0700 |
commit | a079cbf458fc5718dfdd396170fcfd9a5a923bba (patch) | |
tree | 5f929472c0ad961e049e6e8fb6b7e4822e36aa85 /libavcodec/x86/vc1dsp_mmx.c | |
parent | 607f820ec7c99c86f0ec25057bd6ca68179ed9b8 (diff) | |
download | ffmpeg-a079cbf458fc5718dfdd396170fcfd9a5a923bba.tar.gz |
x86: vc1dsp_mmx: Move yasm initiation steps to vc1dsp_init
That's where all yasm initiation steps are. Also removes the overlap
between the two files.
Diffstat (limited to 'libavcodec/x86/vc1dsp_mmx.c')
-rw-r--r-- | libavcodec/x86/vc1dsp_mmx.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/libavcodec/x86/vc1dsp_mmx.c b/libavcodec/x86/vc1dsp_mmx.c index a7eb59df47..e42099b46c 100644 --- a/libavcodec/x86/vc1dsp_mmx.c +++ b/libavcodec/x86/vc1dsp_mmx.c @@ -728,39 +728,12 @@ 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) -{ - ff_put_pixels8_mmx(dst, src, stride, 8); -} -static void put_vc1_mspel_mc00_16_mmx(uint8_t *dst, const uint8_t *src, - ptrdiff_t stride, int rnd) -{ - ff_put_pixels16_mmx(dst, src, stride, 16); -} -static void avg_vc1_mspel_mc00_mmx(uint8_t *dst, const uint8_t *src, - ptrdiff_t stride, int rnd) -{ - ff_avg_pixels8_mmx(dst, src, stride, 8); -} -static void avg_vc1_mspel_mc00_16_mmx(uint8_t *dst, const uint8_t *src, - ptrdiff_t stride, int rnd) -{ - 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; \ dsp->OP##vc1_mspel_pixels_tab[0][X+4*Y] = OP##vc1_mspel_mc##X##Y##_16##INSN 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); |