]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpegutils.h
avcodec/pngenc: Check that there is at least 1 frame
[ffmpeg] / libavcodec / mpegutils.h
index 6ac5cef4fdae9f54940339a5c75de494af726d05..9cfadfc4cf308b67d771d626898a18bdbeaeda36 100644 (file)
 #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
 
 #define CANDIDATE_MB_TYPE_DIRECT0    (1 << 12)
 
+#define INPLACE_OFFSET 16
 
 enum OutputFormat {
     FMT_MPEG1,