diff options
author | Roman Arzumanyan <rarzumanyan@nvidia.com> | 2019-02-14 13:20:25 +0100 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2019-02-14 13:22:09 +0100 |
commit | f1f66df6a204fdc08b8763004de2df3e20bab8f3 (patch) | |
tree | 635b459f1d4f92265d469d0480127a2d3e489422 /libavcodec/nvenc.h | |
parent | 15c6390139096b7e7634bf0f6aaab1cd8b3aa509 (diff) |
avcodec/nvenc: add b_as_ref support for HEVC
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 ebb7a80fc3..ddd6168409 100644 --- a/libavcodec/nvenc.h +++ b/libavcodec/nvenc.h @@ -49,6 +49,11 @@ typedef void ID3D11Device; #define NVENC_HAVE_QP_MAP_MODE #endif +// SDK 9.0 compile time feature checks +#if NVENCAPI_CHECK_VERSION(9, 0) +#define NVENC_HAVE_HEVC_BFRAME_REF_MODE +#endif + typedef struct NvencSurface { NV_ENC_INPUT_PTR input_surface; |