diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 13:51:16 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-10-18 05:23:51 +0200 |
commit | a75c2eb25a62105c09b48521aef429dc8a231637 (patch) | |
tree | 231f63b8fe78db74313fd999794d84d8f1b3b509 /libavcodec/options_table.h | |
parent | 946f95354ba76ef73c9b66889d86ab5fba4fb486 (diff) | |
download | ffmpeg-a75c2eb25a62105c09b48521aef429dc8a231637.tar.gz |
lavc: make rc_eq into private options of mpegvideo encoders
Diffstat (limited to 'libavcodec/options_table.h')
-rw-r--r-- | libavcodec/options_table.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h index ef89e7a8cd..bf33f9ae8f 100644 --- a/libavcodec/options_table.h +++ b/libavcodec/options_table.h @@ -169,11 +169,9 @@ static const AVOption avcodec_options[] = { {"rc_qmod_freq", "deprecated, use encoder private options instead", OFFSET(rc_qmod_freq), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E}, #endif {"rc_override_count", NULL, OFFSET(rc_override_count), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX}, -{"rc_eq", "Set rate control equation. When computing the expression, besides the standard functions " - "defined in the section 'Expression Evaluation', the following functions are available: " - "bits2qp(bits), qp2bits(qp). Also the following constants are available: iTex pTex tex mv " - "fCode iCount mcVar var isI isP isB avgQP qComp avgIITex avgPITex avgPPTex avgBPTex avgTex.", - OFFSET(rc_eq), AV_OPT_TYPE_STRING, {.str = NULL}, CHAR_MIN, CHAR_MAX, V|E}, +#if FF_API_MPV_OPT +{"rc_eq", "deprecated, use encoder private options instead", OFFSET(rc_eq), AV_OPT_TYPE_STRING, {.str = NULL}, CHAR_MIN, CHAR_MAX, V|E}, +#endif {"maxrate", "Set maximum bitrate tolerance (in bits/s). Requires bufsize to be set.", OFFSET(rc_max_rate), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|A|E}, {"minrate", "Set minimum bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use otherwise.", OFFSET(rc_min_rate), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|A|E}, |