aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/nvenc.h
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2024-03-31 20:10:45 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2024-03-31 20:47:59 +0200
commit64e3fc906971e18ec9e2810826ac9bb285ea08bb (patch)
tree8df42bd13408f0b924101d002804badfc4b117da /libavcodec/nvenc.h
parent06c2a2c425f22e7dba5cad909737a631cc676e3f (diff)
downloadffmpeg-64e3fc906971e18ec9e2810826ac9bb285ea08bb.tar.gz
avcodec/nvenc: add support for HEVC temporal filtering
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r--libavcodec/nvenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h
index d99d8a0d76..c320c2514f 100644
--- a/libavcodec/nvenc.h
+++ b/libavcodec/nvenc.h
@@ -86,6 +86,7 @@ typedef void ID3D11Device;
// SDK 12.2 compile time feature checks
#if NVENCAPI_CHECK_VERSION(12, 2)
#define NVENC_HAVE_NEW_BIT_DEPTH_API
+#define NVENC_HAVE_TEMPORAL_FILTER
#endif
typedef struct NvencSurface
@@ -271,6 +272,7 @@ typedef struct NvencContext
int highbitdepth;
int max_slice_size;
int rgb_mode;
+ int tf_level;
} NvencContext;
int ff_nvenc_encode_init(AVCodecContext *avctx);