summaryrefslogtreecommitdiff
path: root/libavcodec/qsvenc.h
diff options
context:
space:
mode:
authornyanmisaka <nst799610810@gmail.com>2022-11-02 01:58:06 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-11-07 10:57:12 +0800
commit09775cfea7def7a7ba8f0f179c75cec05fbbb8b0 (patch)
treeae33e2e9b1c4b32186bb2222a7195b19d067a142 /libavcodec/qsvenc.h
parente137d197b54a3accfae27d7458f1ee80491cfa7e (diff)
libavcodec/qsvenc_hevc: add tier option
Without this change, MSDK/VPL always defaults the HEVC tier to MAIN if the -level is specified. Also, according to the HEVC specs, only level >= 4 can support High Tier. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r--libavcodec/qsvenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index eb79db9871..8ed230b10f 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -185,6 +185,7 @@ typedef struct QSVEncContext {
int async_depth;
int idr_interval;
int profile;
+ int tier;
int preset;
int avbr_accuracy;
int avbr_convergence;