OSDN Git Service

mpegvideo: Drop mpegvideo.h where not needed
authorVittorio Giovara <vittorio.giovara@gmail.com>
Sat, 12 Sep 2015 14:11:05 +0000 (16:11 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 13 Sep 2015 15:34:46 +0000 (17:34 +0200)
Add necessary headers in .c files.

libavcodec/cavsdec.c
libavcodec/dxva2.c
libavcodec/dxva2_internal.h
libavcodec/dxva2_mpeg2.c
libavcodec/libxvid.c
libavcodec/ljpegenc.c
libavcodec/mdec.c
libavcodec/vaapi.c
libavcodec/vaapi_internal.h
libavcodec/vaapi_mpeg2.c
libavcodec/vaapi_mpeg4.c

index 51b8878..a455a34 100644 (file)
@@ -31,7 +31,6 @@
 #include "cavs.h"
 #include "internal.h"
 #include "mpeg12data.h"
-#include "mpegvideo.h"
 
 static const uint8_t mv_scan[4] = {
     MV_FWD_X0, MV_FWD_X1,
index d4ac98d..6a7dd53 100644 (file)
@@ -27,7 +27,6 @@
 #include "libavutil/time.h"
 
 #include "avcodec.h"
-#include "mpegvideo.h"
 #include "dxva2_internal.h"
 
 void *ff_dxva2_get_surface(const AVFrame *frame)
index 7155123..30aec8b 100644 (file)
@@ -47,7 +47,6 @@
 #endif
 
 #include "avcodec.h"
-#include "mpegvideo.h"
 
 typedef void DECODER_BUFFER_DESC;
 
index 99a0787..62308b4 100644 (file)
@@ -23,6 +23,7 @@
 #include "libavutil/log.h"
 #include "dxva2_internal.h"
 #include "mpegutils.h"
+#include "mpegvideo.h"
 
 #define MAX_SLICES 1024
 struct dxva2_picture_context {
index 1ab8e56..4b24ca6 100644 (file)
  * @author Adam Thayer (krevnik@comcast.net)
  */
 
+#include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 #include <xvid.h>
 
 #include "libavutil/cpu.h"
+#include "libavutil/internal.h"
 #include "libavutil/intreadwrite.h"
 #include "libavutil/mathematics.h"
+#include "libavutil/opt.h"
 
 #include "avcodec.h"
 #include "internal.h"
 #include "libxvid.h"
 #include "mpegutils.h"
-#include "mpegvideo.h"
 
 /**
  * Buffer management macros.
index 4e02e3c..41dba89 100644 (file)
@@ -39,7 +39,6 @@
 #include "internal.h"
 #include "jpegtables.h"
 #include "mjpegenc_common.h"
-#include "mpegvideo.h"
 #include "mjpeg.h"
 #include "mjpegenc.h"
 
index 83b83d0..39395e2 100644 (file)
@@ -30,7 +30,6 @@
 #include "avcodec.h"
 #include "blockdsp.h"
 #include "idctdsp.h"
-#include "mpegvideo.h"
 #include "mpeg12.h"
 #include "thread.h"
 
index aa90793..d00be2f 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include "h264.h"
+#include "mpegvideo.h"
 #include "vaapi_internal.h"
 
 /**
index d0fa7ae..5e2a6ca 100644 (file)
@@ -27,7 +27,6 @@
 #include <va/va.h>
 #include "vaapi.h"
 #include "avcodec.h"
-#include "mpegvideo.h"
 
 /**
  * @addtogroup VAAPI_Decoding
index d41a14a..7d0e205 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include "mpegutils.h"
+#include "mpegvideo.h"
 #include "vaapi_internal.h"
 #include "internal.h"
 
index 49d5f07..1b9053c 100644 (file)
@@ -24,6 +24,7 @@
 #include "internal.h"
 #include "h263.h"
 #include "mpeg4video.h"
+#include "mpegvideo.h"
 
 /** Reconstruct bitstream intra_dc_vlc_thr */
 static int mpeg4_get_intra_dc_vlc_thr(Mpeg4DecContext *s)