mpegvideo: Move OutFormat enum to mpegutils.h

It is necessary to avoid circular header dependencies.
This commit is contained in:
Vittorio Giovara 2015-05-31 15:49:55 +02:00
parent 9bb11be0e5
commit 925b80d640
5 changed files with 12 additions and 7 deletions

View File

@ -35,6 +35,7 @@
#include "mpeg_er.h"
#include "mpeg4video.h"
#include "mpeg4video_parser.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "msmpeg4.h"
#include "qpeldsp.h"

View File

@ -115,6 +115,14 @@
#define CANDIDATE_MB_TYPE_DIRECT0 (1 << 12)
enum OutputFormat {
FMT_MPEG1,
FMT_H261,
FMT_H263,
FMT_MJPEG,
};
/**
* Draw a horizontal band if supported.
*

View File

@ -46,6 +46,7 @@
#include "put_bits.h"
#include "ratecontrol.h"
#include "parser.h"
#include "mpegutils.h"
#include "mpeg12data.h"
#include "qpeldsp.h"
#include "thread.h"
@ -55,13 +56,6 @@
#define FRAME_SKIPPED 100 ///< return value for header parsers if frame is not coded
enum OutputFormat {
FMT_MPEG1,
FMT_H261,
FMT_H263,
FMT_MJPEG,
};
#define MAX_FCODE 7
#define MAX_THREADS 16

View File

@ -34,6 +34,7 @@
#include "h263.h"
#include "internal.h"
#include "mpeg_er.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpeg4video.h"
#include "mpegvideodata.h"

View File

@ -20,6 +20,7 @@
#include "avcodec.h"
#include "idctdsp.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "msmpeg4data.h"
#include "simple_idct.h"