aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegutils.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-09 13:17:38 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-10 18:49:35 +0200
commit68a90ac3e6bc192d78b30faa9f771c14775c93e8 (patch)
tree6490fa80c8a65d5d67ac55249f9afea33c58faff /libavcodec/mpegutils.h
parentfa5440cbcd2a7721073d980e07ef0c4d6d1301ac (diff)
downloadffmpeg-68a90ac3e6bc192d78b30faa9f771c14775c93e8.tar.gz
avcodec/mpegutils: Constify ff_print_debug_info2, ff_draw_horiz_band
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpegutils.h')
-rw-r--r--libavcodec/mpegutils.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/mpegutils.h b/libavcodec/mpegutils.h
index c92f9192db..386110bb8c 100644
--- a/libavcodec/mpegutils.h
+++ b/libavcodec/mpegutils.h
@@ -127,15 +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 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 */