diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-18 15:58:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-18 15:58:55 +0200 |
commit | 709ab39cb9a4887a08ed0d8fc25c2ddc79731f85 (patch) | |
tree | 94e858b94de9fd21b4d32504fa8466717306d3cd /libavcodec/mpegvideo.h | |
parent | 1a5871d1bec6863dfee05c9cc8b97e2307530ce6 (diff) | |
parent | 15ec053c4c0b198a2e93eb8e60c8f41e091e0c40 (diff) | |
download | ffmpeg-709ab39cb9a4887a08ed0d8fc25c2ddc79731f85.tar.gz |
Merge commit '15ec053c4c0b198a2e93eb8e60c8f41e091e0c40'
* commit '15ec053c4c0b198a2e93eb8e60c8f41e091e0c40':
lavc: make border_masking into private options of mpegvideo encoders
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index eef16b2411..8ed894c219 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -661,6 +661,7 @@ typedef struct MpegEncContext { int rc_qmod_freq; float rc_initial_cplx; float rc_buffer_aggressivity; + float border_masking; char *rc_eq; @@ -720,6 +721,7 @@ typedef struct MpegEncContext { FF_MPV_OFFSET(rc_eq), AV_OPT_TYPE_STRING, .flags = FF_MPV_OPT_FLAGS }, \ {"rc_init_cplx", "initial complexity for 1-pass encoding", FF_MPV_OFFSET(rc_initial_cplx), AV_OPT_TYPE_FLOAT, {.dbl = 0 }, -FLT_MAX, FLT_MAX, FF_MPV_OPT_FLAGS}, \ {"rc_buf_aggressivity", "currently useless", FF_MPV_OFFSET(rc_buffer_aggressivity), AV_OPT_TYPE_FLOAT, {.dbl = 1.0 }, -FLT_MAX, FLT_MAX, FF_MPV_OPT_FLAGS}, \ +{"border_mask", "increase the quantizer for macroblocks close to borders", FF_MPV_OFFSET(border_masking), AV_OPT_TYPE_FLOAT, {.dbl = 0 }, -FLT_MAX, FLT_MAX, FF_MPV_OPT_FLAGS}, \ extern const AVOption ff_mpv_generic_options[]; |