mpegvideo: Drop mpegvideo.h where not needed

Add necessary headers in .c files.
pull/151/head
Vittorio Giovara 9 years ago
parent 5d14cf1999
commit e60a6e7545
  1. 1
      libavcodec/cavsdec.c
  2. 1
      libavcodec/dxva2.c
  3. 1
      libavcodec/dxva2_internal.h
  4. 1
      libavcodec/dxva2_mpeg2.c
  5. 5
      libavcodec/libxvid.c
  6. 1
      libavcodec/ljpegenc.c
  7. 1
      libavcodec/mdec.c
  8. 1
      libavcodec/vaapi.c
  9. 1
      libavcodec/vaapi_internal.h
  10. 1
      libavcodec/vaapi_mpeg2.c
  11. 1
      libavcodec/vaapi_mpeg4.c

@ -31,7 +31,6 @@
#include "cavs.h" #include "cavs.h"
#include "internal.h" #include "internal.h"
#include "mpeg12data.h" #include "mpeg12data.h"
#include "mpegvideo.h"
static const uint8_t mv_scan[4] = { static const uint8_t mv_scan[4] = {
MV_FWD_X0, MV_FWD_X1, MV_FWD_X0, MV_FWD_X1,

@ -27,7 +27,6 @@
#include "libavutil/time.h" #include "libavutil/time.h"
#include "avcodec.h" #include "avcodec.h"
#include "mpegvideo.h"
#include "dxva2_internal.h" #include "dxva2_internal.h"
void *ff_dxva2_get_surface(const AVFrame *frame) void *ff_dxva2_get_surface(const AVFrame *frame)

@ -47,7 +47,6 @@
#endif #endif
#include "avcodec.h" #include "avcodec.h"
#include "mpegvideo.h"
typedef void DECODER_BUFFER_DESC; typedef void DECODER_BUFFER_DESC;

@ -23,6 +23,7 @@
#include "libavutil/log.h" #include "libavutil/log.h"
#include "dxva2_internal.h" #include "dxva2_internal.h"
#include "mpegutils.h" #include "mpegutils.h"
#include "mpegvideo.h"
#define MAX_SLICES 1024 #define MAX_SLICES 1024
struct dxva2_picture_context { struct dxva2_picture_context {

@ -25,18 +25,21 @@
* @author Adam Thayer (krevnik@comcast.net) * @author Adam Thayer (krevnik@comcast.net)
*/ */
#include <stdio.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <xvid.h> #include <xvid.h>
#include "libavutil/cpu.h" #include "libavutil/cpu.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "libxvid.h" #include "libxvid.h"
#include "mpegutils.h" #include "mpegutils.h"
#include "mpegvideo.h"
/** /**
* Buffer management macros. * Buffer management macros.

@ -39,7 +39,6 @@
#include "internal.h" #include "internal.h"
#include "jpegtables.h" #include "jpegtables.h"
#include "mjpegenc_common.h" #include "mjpegenc_common.h"
#include "mpegvideo.h"
#include "mjpeg.h" #include "mjpeg.h"
#include "mjpegenc.h" #include "mjpegenc.h"

@ -30,7 +30,6 @@
#include "avcodec.h" #include "avcodec.h"
#include "blockdsp.h" #include "blockdsp.h"
#include "idctdsp.h" #include "idctdsp.h"
#include "mpegvideo.h"
#include "mpeg12.h" #include "mpeg12.h"
#include "thread.h" #include "thread.h"

@ -22,6 +22,7 @@
*/ */
#include "h264.h" #include "h264.h"
#include "mpegvideo.h"
#include "vaapi_internal.h" #include "vaapi_internal.h"
/** /**

@ -27,7 +27,6 @@
#include <va/va.h> #include <va/va.h>
#include "vaapi.h" #include "vaapi.h"
#include "avcodec.h" #include "avcodec.h"
#include "mpegvideo.h"
/** /**
* @addtogroup VAAPI_Decoding * @addtogroup VAAPI_Decoding

@ -21,6 +21,7 @@
*/ */
#include "mpegutils.h" #include "mpegutils.h"
#include "mpegvideo.h"
#include "vaapi_internal.h" #include "vaapi_internal.h"
#include "internal.h" #include "internal.h"

@ -24,6 +24,7 @@
#include "internal.h" #include "internal.h"
#include "h263.h" #include "h263.h"
#include "mpeg4video.h" #include "mpeg4video.h"
#include "mpegvideo.h"
/** Reconstruct bitstream intra_dc_vlc_thr */ /** Reconstruct bitstream intra_dc_vlc_thr */
static int mpeg4_get_intra_dc_vlc_thr(Mpeg4DecContext *s) static int mpeg4_get_intra_dc_vlc_thr(Mpeg4DecContext *s)

Loading…
Cancel
Save