summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-31 01:03:04 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-13 19:49:29 +0100
commit8b856a9e535de06df96588fb566b8d629e128580 (patch)
treef6c36863df426c0df98ace61badbf03c96cdc96c /libavcodec/motion_est.h
parent32ce3b71688aa797d9795e7aa0427df02a0da189 (diff)
avcodec/motion_est: Constify mv-table parameters where possible
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/motion_est.h')
-rw-r--r--libavcodec/motion_est.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/motion_est.h b/libavcodec/motion_est.h
index 5742e51486..d0950bf7e6 100644
--- a/libavcodec/motion_est.h
+++ b/libavcodec/motion_est.h
@@ -118,14 +118,14 @@ int ff_pre_estimate_p_frame_motion(struct MpegEncContext *s,
int ff_epzs_motion_search(struct MpegEncContext *s, int *mx_ptr, int *my_ptr,
int P[10][2], int src_index, int ref_index,
- int16_t (*last_mv)[2], int ref_mv_scale, int size,
- int h);
+ const int16_t (*last_mv)[2], int ref_mv_scale,
+ int size, int h);
int ff_get_mb_score(struct MpegEncContext *s, int mx, int my, int src_index,
int ref_index, int size, int h, int add_rate);
int ff_get_best_fcode(struct MpegEncContext *s,
- int16_t (*mv_table)[2], int type);
+ const int16_t (*mv_table)[2], int type);
void ff_fix_long_p_mvs(struct MpegEncContext *s, int type);
void ff_fix_long_mvs(struct MpegEncContext *s, uint8_t *field_select_table,