summaryrefslogtreecommitdiff
path: root/media/ffvpx/libavcodec/mpegutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/ffvpx/libavcodec/mpegutils.h')
-rw-r--r--media/ffvpx/libavcodec/mpegutils.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/media/ffvpx/libavcodec/mpegutils.h b/media/ffvpx/libavcodec/mpegutils.h
index 1ed21c19be..386110bb8c 100644
--- a/media/ffvpx/libavcodec/mpegutils.h
+++ b/media/ffvpx/libavcodec/mpegutils.h
@@ -26,7 +26,6 @@
#include "libavutil/frame.h"
#include "avcodec.h"
-#include "version.h"
/**
* Return value for header parsers if frame is not coded.
@@ -38,12 +37,6 @@
#define PICT_BOTTOM_FIELD 2
#define PICT_FRAME 3
-/**
- * Value of Picture.reference when Picture is not a reference picture, but
- * is held for delayed output.
- */
-#define DELAYED_PIC_REF 4
-
#define MAX_MB_BYTES (30 * 16 * 16 * 3 / 8 + 120)
#define MAX_FCODE 7
@@ -125,6 +118,7 @@ enum OutputFormat {
FMT_H261,
FMT_H263,
FMT_MJPEG,
+ FMT_SPEEDHQ,
};
@@ -133,16 +127,16 @@ enum OutputFormat {
*
* @param h is the normal height, this will be reduced automatically if needed
*/
-void ff_draw_horiz_band(AVCodecContext *avctx, AVFrame *cur, AVFrame *last,
+void ff_draw_horiz_band(AVCodecContext *avctx, const AVFrame *cur, const AVFrame *last,
int y, int h, int picture_structure, int first_field,
int low_delay);
/**
* Print debugging info for the given picture.
*/
-void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict, uint8_t *mbskip_table,
- uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2],
- int *low_delay,
- int mb_width, int mb_height, int mb_stride, int quarter_sample);
+void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict,
+ const uint8_t *mbskip_table, const uint32_t *mbtype_table,
+ const int8_t *qscale_table, int16_t (*const motion_val[2])[2],
+ int mb_width, int mb_height, int mb_stride, int quarter_sample);
#endif /* AVCODEC_MPEGUTILS_H */