summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est.h
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2019-10-23 21:12:32 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-10-24 19:45:17 +0200
commit531fbce0b281be2450bbf0230c2de539230a7d84 (patch)
treee3877cf6dc62207f045d0144bd610b92471c1221 /libavcodec/motion_est.h
parent3d5d0301c3d8b0c550db78730e9cfc017d6db5fb (diff)
mpegvideo_enc: add intra_penalty option for p frames
This option allows more control over the use of intra macroblocks in predictive frames. By using '-intra_penalty max', intra macroblocks are never used in predictive frames. It is useful for glitch artists to generate input material. This option allows them to split and merge two video files while maintaining fluid motion from the second video without having intra macroblocks restoring chunks of the first video. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/motion_est.h')
-rw-r--r--libavcodec/motion_est.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/motion_est.h b/libavcodec/motion_est.h
index 3b3a8d7341..817220f340 100644
--- a/libavcodec/motion_est.h
+++ b/libavcodec/motion_est.h
@@ -127,7 +127,7 @@ int ff_get_mb_score(struct MpegEncContext *s, int mx, int my, int src_index,
int ff_get_best_fcode(struct MpegEncContext *s,
int16_t (*mv_table)[2], int type);
-void ff_fix_long_p_mvs(struct MpegEncContext *s);
+void ff_fix_long_p_mvs(struct MpegEncContext *s, int type);
void ff_fix_long_mvs(struct MpegEncContext *s, uint8_t *field_select_table,
int field_select, int16_t (*mv_table)[2], int f_code,
int type, int truncate);