diff options
author | Zhong Li <zhong.li@intel.com> | 2019-03-27 14:39:41 +0300 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-03-28 16:52:51 +0300 |
commit | 391f884675f319b95f5a72a410178516e11c557d (patch) | |
tree | d7fc7c87e82b4f27aa052aff04df386e11a9307b /libavcodec/qsvenc.h | |
parent | b9a066ae23cbf488faf332cbfd101a3af5b77611 (diff) |
lavc/qsvenc_h264: remove the privite option trellis
There are many problems of current qsv trellis option:
1. Duplicated with AVCodecContext definition
2. MFX_TRELLIS_XXX is introduced by MSDK API 1.17
Currently Without MSDK API checking thus may cause compilation issue.
3. user is inclined to enable trellis when set "-trellis 1", but
actually it is to disable since MFX_TRELLIS_OFF is equal to 1.
4. It is too complex for user to enable trellis for every frame(I/P/B).
Just simply remove the private option, and switch to the AVCodecContext
definition. Compatibility should not a big problem (except can't exact map)
since the option name is same as AVCodecContext.
Signed-off-by: Zhong Li <zhong.li@intel.com>
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Reviewed-by: Moritz Barsnick <barsnick@gmx.net>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r-- | libavcodec/qsvenc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index fcd01f4a61..eed6f2c2c2 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -153,7 +153,6 @@ typedef struct QSVEncContext { int single_sei_nal_unit; int max_dec_frame_buffering; - int trellis; int bitrate_limit; int mbbrc; |