diff options
author | Zhong Li <zhong.li@intel.com> | 2019-03-26 21:56:24 +0300 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-04-01 14:21:48 +0300 |
commit | d071a1117daff0a84bafe9b437164fdef97af98f (patch) | |
tree | 27577abc4e935a9e57c1231eb63a6e1f9720ba77 /libavcodec/qsvenc.h | |
parent | a8355eed3699acffebb70e1b939989d39b72dfc7 (diff) |
lavc/qsvenc: get vps extradata from MSDK
Signed-off-by: Zhong Li <zhong.li@intel.com>
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r-- | libavcodec/qsvenc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 70e0b048ee..f6d53d44cd 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -36,6 +36,7 @@ #define QSV_HAVE_CO2 QSV_VERSION_ATLEAST(1, 6) #define QSV_HAVE_CO3 QSV_VERSION_ATLEAST(1, 11) +#define QSV_HAVE_CO_VPS QSV_VERSION_ATLEAST(1, 17) #define QSV_HAVE_TRELLIS QSV_VERSION_ATLEAST(1, 8) #define QSV_HAVE_MAX_SLICE_SIZE QSV_VERSION_ATLEAST(1, 9) @@ -134,6 +135,8 @@ typedef struct QSVEncContext { mfxVersion ver; + int hevc_vps; + // options set by the caller int async_depth; int idr_interval; |