Sunshine master
Self-hosted game stream host for Moonlight.
nvenc_version.h File Reference

NVENC SDK version selection helpers. More...

#include <cstdint>
#include <utility>
Include dependency graph for nvenc_version.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  nvenc
 Standalone NVENC encoder.
 

Enumerations

enum class  nvenc::nvenc_sdk_version : std::uint32_t { nvenc::unsupported = 0U , nvenc::sdk_11_0 = 1100U , nvenc::sdk_12_0 = 1200U , nvenc::sdk_13_0 = 1300U }
 NVENC SDK implementations compiled into Sunshine. More...
 

Functions

constexpr std::uint32_t nvenc::decode_nvenc_driver_version (std::uint32_t version)
 Convert the packed driver API version to a comparable integer.
 
constexpr nvenc_sdk_version nvenc::select_nvenc_sdk_version (std::uint32_t max_version)
 Select the newest compiled SDK supported by the installed driver.
 

Detailed Description

NVENC SDK version selection helpers.