diff options
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r-- | libavcodec/nvenc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h index e7e6182196..26c6515c57 100644 --- a/libavcodec/nvenc.h +++ b/libavcodec/nvenc.h @@ -91,6 +91,9 @@ typedef struct NVENCLibraryContext enum { PRESET_DEFAULT, + PRESET_SLOW, + PRESET_MEDIUM, + PRESET_FAST, PRESET_HP, PRESET_HQ, PRESET_BD , @@ -111,7 +114,9 @@ enum { enum { NVENC_LOWLATENCY = 1, - NVENC_LOSSLESS, + NVENC_LOSSLESS = 2, + NVENC_ONE_PASS = 4, + NVENC_TWO_PASSES = 8, }; enum { |