Add basic NVENC support on Linux

We're not offloading scaling and YUV conversion from the CPU yet,
so the gains aren't as high as one of the fully accelerated
backends like Windows NVENC or Linux VAAPI.

Still, offloading the H.264/HEVC encoding itself is an improvement
over doing everything on the CPU.
This commit is contained in:
Cameron Gutman
2021-07-09 08:13:05 -05:00
parent d33f742241
commit 971c784f14
3 changed files with 31 additions and 4 deletions
+1
View File
@@ -75,6 +75,7 @@ enum class mem_type_e {
system,
vaapi,
dxgi,
cuda,
unknown
};