]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpegutils.h
Postpone API-incompatible changes until the next bump.
[ffmpeg] / libavcodec / mpegutils.h
index 05a5fc202cddacaf6b275b28af49fec3615470a5..9446724f30ffa888d6beb9568aeb1b10cb0f3db8 100644 (file)
 #ifndef AVCODEC_MPEGUTILS_H
 #define AVCODEC_MPEGUTILS_H
 
+#include <stdint.h>
+
+#include "libavutil/frame.h"
+
+#include "avcodec.h"
 #include "version.h"
 
+
 /* picture type */
 #define PICT_TOP_FIELD     1
 #define PICT_BOTTOM_FIELD  2
 
 #define CANDIDATE_MB_TYPE_DIRECT0    (1 << 12)
 
+
+/**
+ * Draw a horizontal band if supported.
+ *
+ * @param h is the normal height, this will be reduced automatically if needed
+ */
+void ff_draw_horiz_band(AVCodecContext *avctx, AVFrame *cur, AVFrame *last,
+                        int y, int h, int picture_structure, int first_field,
+                        int low_delay);
+
 #endif /* AVCODEC_PICTTYPE_H */