30 return (version >> 4U) * 100U + (version & 0x0FU);
41 if (max_version >= std::to_underlying(
sdk_13_0)) {
44 if (max_version >= std::to_underlying(
sdk_12_0)) {
47 if (max_version >= std::to_underlying(
sdk_11_0)) {
Standalone NVENC encoder.
Definition nvenc_base.cpp:185
nvenc_sdk_version
NVENC SDK implementations compiled into Sunshine.
Definition nvenc_version.h:16
@ sdk_12_0
Video Codec SDK 12.0.
@ unsupported
No compatible SDK implementation is available.
@ sdk_13_0
Video Codec SDK 13.0.
@ sdk_11_0
Video Codec SDK 11.0.
constexpr std::uint32_t decode_nvenc_driver_version(std::uint32_t version)
Convert the packed driver API version to a comparable integer.
Definition nvenc_version.h:29
constexpr nvenc_sdk_version select_nvenc_sdk_version(std::uint32_t max_version)
Select the newest compiled SDK supported by the installed driver.
Definition nvenc_version.h:39