From 3dc6272bed7890a49080e18eacf3c7a4a6594b0d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 26 Mar 2014 04:41:22 -0700 Subject: [PATCH] Remove a number of unnecessary dsputil.h #includes --- libavcodec/arm/vp3dsp_init_arm.c | 1 - libavcodec/binkdsp.c | 1 - libavcodec/dvbsubdec.c | 2 +- libavcodec/dvdsubdec.c | 2 +- libavcodec/h264pred.c | 3 ++- libavcodec/indeo5.c | 1 - libavcodec/mpeg12.c | 1 - libavcodec/msmpeg4dec.c | 1 - libavcodec/mss4.c | 1 - libavcodec/vc1dsp.c | 1 + libavcodec/vc1dsp.h | 1 - libavcodec/vp3dsp.c | 2 +- libavcodec/vp56.h | 1 - libavcodec/x86/vp3dsp_init.c | 1 - 14 files changed, 6 insertions(+), 13 deletions(-) diff --git a/libavcodec/arm/vp3dsp_init_arm.c b/libavcodec/arm/vp3dsp_init_arm.c index 1ab0852570..11e1f1ca11 100644 --- a/libavcodec/arm/vp3dsp_init_arm.c +++ b/libavcodec/arm/vp3dsp_init_arm.c @@ -21,7 +21,6 @@ #include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/arm/cpu.h" -#include "libavcodec/dsputil.h" #include "libavcodec/vp3dsp.h" void ff_vp3_idct_put_neon(uint8_t *dest, int line_size, int16_t *data); diff --git a/libavcodec/binkdsp.c b/libavcodec/binkdsp.c index a0ac2a8787..1fb03b201e 100644 --- a/libavcodec/binkdsp.c +++ b/libavcodec/binkdsp.c @@ -25,7 +25,6 @@ */ #include "libavutil/attributes.h" -#include "dsputil.h" #include "binkdsp.h" #define A1 2896 /* (1/sqrt(2))<<12 */ diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 4782022985..1dcefae4e3 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -18,8 +18,8 @@ * License along with Libav; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + #include "avcodec.h" -#include "dsputil.h" #include "get_bits.h" #include "bytestream.h" #include "libavutil/colorspace.h" diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index b4cb30d1fd..02f70be906 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -18,9 +18,9 @@ * License along with Libav; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + #include "avcodec.h" #include "get_bits.h" -#include "dsputil.h" #include "internal.h" #include "libavutil/attributes.h" diff --git a/libavcodec/h264pred.c b/libavcodec/h264pred.c index 8b515fd126..b782a25586 100644 --- a/libavcodec/h264pred.c +++ b/libavcodec/h264pred.c @@ -26,7 +26,8 @@ */ #include "libavutil/attributes.h" -#include "dsputil.h" +#include "libavutil/intreadwrite.h" +#include "avcodec.h" #include "h264pred.h" #define BIT_DEPTH 8 diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c index 83bbcbbc1e..476355b633 100644 --- a/libavcodec/indeo5.c +++ b/libavcodec/indeo5.c @@ -30,7 +30,6 @@ #define BITSTREAM_READER_LE #include "avcodec.h" #include "get_bits.h" -#include "dsputil.h" #include "ivi_dsp.h" #include "ivi_common.h" #include "indeo5data.h" diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 5797d27a80..be5227f058 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -28,7 +28,6 @@ #include "libavutil/attributes.h" #include "internal.h" #include "avcodec.h" -#include "dsputil.h" #include "mpegvideo.h" #include "error_resilience.h" #include "mpeg12.h" diff --git a/libavcodec/msmpeg4dec.c b/libavcodec/msmpeg4dec.c index bf56bcc7e2..40660ed551 100644 --- a/libavcodec/msmpeg4dec.c +++ b/libavcodec/msmpeg4dec.c @@ -23,7 +23,6 @@ */ #include "avcodec.h" -#include "dsputil.h" #include "mpegutils.h" #include "mpegvideo.h" #include "msmpeg4.h" diff --git a/libavcodec/mss4.c b/libavcodec/mss4.c index fa85258aa3..9198acc6a7 100644 --- a/libavcodec/mss4.c +++ b/libavcodec/mss4.c @@ -27,7 +27,6 @@ #include "avcodec.h" #include "bytestream.h" -#include "dsputil.h" #include "get_bits.h" #include "internal.h" #include "mss34dsp.h" diff --git a/libavcodec/vc1dsp.c b/libavcodec/vc1dsp.c index e47bd5aff2..e112c7ccb6 100644 --- a/libavcodec/vc1dsp.c +++ b/libavcodec/vc1dsp.c @@ -26,6 +26,7 @@ */ #include "libavutil/common.h" +#include "dsputil.h" #include "h264chroma.h" #include "vc1dsp.h" diff --git a/libavcodec/vc1dsp.h b/libavcodec/vc1dsp.h index 30be5088d8..7de6a3da46 100644 --- a/libavcodec/vc1dsp.h +++ b/libavcodec/vc1dsp.h @@ -28,7 +28,6 @@ #ifndef AVCODEC_VC1DSP_H #define AVCODEC_VC1DSP_H -#include "dsputil.h" #include "hpeldsp.h" #include "h264chroma.h" diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c index 31de23da46..677e562d61 100644 --- a/libavcodec/vp3dsp.c +++ b/libavcodec/vp3dsp.c @@ -25,11 +25,11 @@ */ #include "libavutil/attributes.h" +#include "libavutil/intreadwrite.h" #include "libavutil/common.h" #include "libavutil/intreadwrite.h" #include "avcodec.h" -#include "dsputil.h" #include "rnd_avg.h" #include "vp3dsp.h" diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h index f71b9a8344..a852ff87e1 100644 --- a/libavcodec/vp56.h +++ b/libavcodec/vp56.h @@ -26,7 +26,6 @@ #ifndef AVCODEC_VP56_H #define AVCODEC_VP56_H -#include "dsputil.h" #include "get_bits.h" #include "hpeldsp.h" #include "bytestream.h" diff --git a/libavcodec/x86/vp3dsp_init.c b/libavcodec/x86/vp3dsp_init.c index 9e38014e4d..ed38a8e4df 100644 --- a/libavcodec/x86/vp3dsp_init.c +++ b/libavcodec/x86/vp3dsp_init.c @@ -22,7 +22,6 @@ #include "libavutil/cpu.h" #include "libavutil/x86/cpu.h" #include "libavcodec/avcodec.h" -#include "libavcodec/dsputil.h" #include "libavcodec/vp3dsp.h" #include "config.h"