diff options
author | Roman Arzumanyan <rarzumanyan@nvidia.com> | 2019-09-27 17:56:11 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2019-09-27 20:00:59 +0200 |
commit | 567b5e33d9d77919ee920c091f4273c5b38fc821 (patch) | |
tree | 6279b5ee480849fd3a51eb9d3bb97ace6add4333 /libavcodec/nvenc.h | |
parent | e929b2f248a9c49761475e07d1a089e05912d1c6 (diff) |
avcodec/nvenc: add multiple reference frames support
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r-- | libavcodec/nvenc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h index 892a001f69..46ad7972bc 100644 --- a/libavcodec/nvenc.h +++ b/libavcodec/nvenc.h @@ -54,6 +54,11 @@ typedef void ID3D11Device; #define NVENC_HAVE_HEVC_BFRAME_REF_MODE #endif +// SDK 9.1 compile time feature checks +#if NVENCAPI_CHECK_VERSION(9, 1) +#define NVENC_HAVE_MULTIPLE_REF_FRAMES +#endif + typedef struct NvencSurface { NV_ENC_INPUT_PTR input_surface; |