MPEG-1/2/4 are the only mpegvideo based encoders that support bframes;
yet even the encoders not supporting bframes have options that only make
sense for an encoder that supports bframes; setting any of these options
for such an encoder has no impact on the encoded outcome (but setting
b_strategy to two slows down encoding considerably). So deprecate these
options.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
{"intra_penalty","Penalty for intra blocks in block decision",FF_MPV_OFFSET(intra_penalty),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX/2,FF_MPV_OPT_FLAGS}, \
FF_MPV_RC_STRATEGY_OPTS
#define FF_MPV_COMMON_BFRAME_OPTS \
{"b_strategy","Strategy to choose between I/P/B-frames",FF_MPV_OFFSET(b_frame_strategy),AV_OPT_TYPE_INT,{.i64=0},0,2,FF_MPV_OPT_FLAGS}, \
{"b_sensitivity","Adjust sensitivity of b_frame_strategy 1",FF_MPV_OFFSET(b_sensitivity),AV_OPT_TYPE_INT,{.i64=40},1,INT_MAX,FF_MPV_OPT_FLAGS}, \
{"brd_scale","Downscale frames for dynamic B-frame decision",FF_MPV_OFFSET(brd_scale),AV_OPT_TYPE_INT,{.i64=0},0,3,FF_MPV_OPT_FLAGS},
#if FF_API_MPEGVIDEO_OPTS
#define FF_MPV_DEPRECATED_MPEG_QUANT_OPT \
{"mpeg_quant","Deprecated, does nothing",FF_MPV_OFFSET(mpeg_quant),AV_OPT_TYPE_INT,{.i64=0},0,0,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED},
@ -684,6 +686,10 @@ FF_MPV_RC_STRATEGY_OPTS
{"a53cc","Deprecated, does nothing",FF_MPV_OFFSET(a53_cc),AV_OPT_TYPE_BOOL,{.i64=1},0,1,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED},
#define FF_MPV_DEPRECATED_MATRIX_OPT \
{"force_duplicated_matrix","Deprecated, does nothing",FF_MPV_OFFSET(force_duplicated_matrix),AV_OPT_TYPE_BOOL,{.i64=0},0,1,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED},
#define FF_MPV_DEPRECATED_BFRAME_OPTS \
{"b_strategy","Deprecated, does nothing",FF_MPV_OFFSET(b_frame_strategy),AV_OPT_TYPE_INT,{.i64=0},0,2,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED}, \
{"b_sensitivity","Deprecated, does nothing",FF_MPV_OFFSET(b_sensitivity),AV_OPT_TYPE_INT,{.i64=40},1,INT_MAX,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED}, \
{"brd_scale","Deprecated, does nothing",FF_MPV_OFFSET(brd_scale),AV_OPT_TYPE_INT,{.i64=0},0,3,FF_MPV_OPT_FLAGS|AV_OPT_FLAG_DEPRECATED},