From 15ec053c4c0b198a2e93eb8e60c8f41e091e0c40 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 27 Oct 2013 13:51:16 +0100 Subject: lavc: make border_masking into private options of mpegvideo encoders --- libavcodec/mpegvideo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/mpegvideo.h') diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 71a4b24182..c83fbb6e6e 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -639,6 +639,7 @@ typedef struct MpegEncContext { int rc_qmod_freq; float rc_initial_cplx; float rc_buffer_aggressivity; + float border_masking; char *rc_eq; @@ -698,6 +699,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[]; -- cgit v1.2.3