summaryrefslogtreecommitdiff
path: root/libavcodec/mpegutils.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-09-12 15:58:47 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-09-13 17:34:45 +0200
commit525f58977c93e189fda49a5c4928feaf4d89fac6 (patch)
treed2b551ed34f1e2b6b2bf387376aeff31fd807fac /libavcodec/mpegutils.h
parent285fe5b098c8fbefaed4aacdb839b760a5b7f20d (diff)
mpegvideo: Move macros to more appropriate headers
MAX_MB_BYTES -> mpegutils.h FRAME_SKIPPED -> mpegutils.h INPLACE_OFFSET -> mpegutils.h ME_MAP_SIZE -> motion_est.h
Diffstat (limited to 'libavcodec/mpegutils.h')
-rw-r--r--libavcodec/mpegutils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/mpegutils.h b/libavcodec/mpegutils.h
index 9b5a5767b9..60f971222e 100644
--- a/libavcodec/mpegutils.h
+++ b/libavcodec/mpegutils.h
@@ -28,6 +28,10 @@
#include "avcodec.h"
#include "version.h"
+/**
+ * Return value for header parsers if frame is not coded.
+ * */
+#define FRAME_SKIPPED 100
/* picture type */
#define PICT_TOP_FIELD 1
@@ -40,6 +44,8 @@
*/
#define DELAYED_PIC_REF 4
+#define MAX_MB_BYTES (30 * 16 * 16 * 3 / 8 + 120)
+#define MAX_FCODE 7
/* MB types */
#if !FF_API_MB_TYPE
@@ -114,6 +120,7 @@
#define CANDIDATE_MB_TYPE_DIRECT0 (1 << 12)
+#define INPLACE_OFFSET 16
enum OutputFormat {
FMT_MPEG1,