diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-02-03 11:13:59 -0800 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-07-06 14:48:50 -0700 |
commit | 3c650efb81aaa3b395ba4606ee68a47ee4efb57b (patch) | |
tree | 1f72694cf002091051d5f13bf25ec212dbbc5a01 /libavcodec/x86/dsputil_init.c | |
parent | c166148409fe8f0dbccef2fe684286a40ba1e37d (diff) | |
download | ffmpeg-3c650efb81aaa3b395ba4606ee68a47ee4efb57b.tar.gz |
dsputil: Move draw_edges() to mpegvideoencdsp
Diffstat (limited to 'libavcodec/x86/dsputil_init.c')
-rw-r--r-- | libavcodec/x86/dsputil_init.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libavcodec/x86/dsputil_init.c b/libavcodec/x86/dsputil_init.c index adc7aa95d6..137f9258ad 100644 --- a/libavcodec/x86/dsputil_init.c +++ b/libavcodec/x86/dsputil_init.c @@ -24,24 +24,9 @@ #include "libavcodec/dsputil.h" #include "dsputil_x86.h" -static av_cold void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx, - int cpu_flags, unsigned high_bit_depth) -{ -#if HAVE_MMX_INLINE - if (!high_bit_depth) { - c->draw_edges = ff_draw_edges_mmx; - } -#endif /* HAVE_MMX_INLINE */ -} - av_cold void ff_dsputil_init_x86(DSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth) { - int cpu_flags = av_get_cpu_flags(); - - if (X86_MMX(cpu_flags)) - dsputil_init_mmx(c, avctx, cpu_flags, high_bit_depth); - if (CONFIG_ENCODERS) ff_dsputilenc_init_mmx(c, avctx, high_bit_depth); } |