SHA256
Refactor
This commit is contained in:
10 files changed
+27
-13
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ namespace ADOFAIRenderer.Util
|
||||
private const string IntelPattern =
|
||||
@"^Intel(?>\(R\))* (?>U*HD Graphics [0-9]+$|Arc\(TM\) [A-C][0-9]+ Graphics)";
|
||||
|
||||
private static readonly Dictionary<Codec, List<(GPUVendor, string)>> CodecMap = new Dictionary<Codec, List<(GPUVendor, string)>>
|
||||
private static readonly Dictionary<Codec, List<(GPUVendor, string)>> CodecMap = new()
|
||||
{
|
||||
[Codec.H264] = new List<(GPUVendor, string)> { (GPUVendor.NVIDIA, "h264_nvenc"), (GPUVendor.Intel, "h264_qsv"), (GPUVendor.AMD, "h264_amf"), (GPUVendor.Unknown, "libx264") },
|
||||
[Codec.H265] = new List<(GPUVendor, string)> { (GPUVendor.NVIDIA, "hevc_nvenc"), (GPUVendor.Intel, "hevc_qsv"), (GPUVendor.AMD, "hevc_amf"), (GPUVendor.Unknown, "libx265") },
|
||||
|
||||
Reference in new issue
Block a user