fix(nvenc): dynamic nv codec sdk selection (#5451)

This commit is contained in:
Dave Lane
2026-07-26 21:06:28 -04:00
committed by GitHub
parent 7cb92071ac
commit fb3d85cff4
32 changed files with 3284 additions and 501 deletions

View File

@@ -9,10 +9,10 @@
// local includes
#include "nvenc_utils.h"
namespace nvenc {
namespace NVENC_NAMESPACE {
nvenc_d3d11_on_cuda::nvenc_d3d11_on_cuda(ID3D11Device *d3d_device):
nvenc_d3d11(NV_ENC_DEVICE_TYPE_CUDA),
nvenc_d3d11_on_cuda::nvenc_d3d11_on_cuda(ID3D11Device *d3d_device, ::nvenc::shared_dll dll):
nvenc_d3d11(NV_ENC_DEVICE_TYPE_CUDA, std::move(dll)),
d3d_device(d3d_device) {
}
@@ -265,5 +265,5 @@ namespace nvenc {
}
}
} // namespace nvenc
} // namespace NVENC_NAMESPACE
#endif