Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2019-03-26 21:56:24 +0300
committerZhong Li <zhong.li@intel.com>2019-04-01 14:21:48 +0300
commitd071a1117daff0a84bafe9b437164fdef97af98f (patch)
tree27577abc4e935a9e57c1231eb63a6e1f9720ba77 /libavcodec/qsvenc.h
parenta8355eed3699acffebb70e1b939989d39b72dfc7 (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.h3
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;