obs-qsv: Add newer platforms to CPU enum
Adding BDW and SKL to QSV CPU enum to check CPUID before enabling newer QSV featuresmaster
parent
617086b040
commit
2b59b010bb
|
@ -293,6 +293,15 @@ enum qsv_cpu_platform qsv_get_cpu_platform()
|
|||
case 0x45:
|
||||
case 0x46:
|
||||
return QSV_CPU_PLATFORM_HSW;
|
||||
case 0x3d:
|
||||
case 0x47:
|
||||
case 0x4f:
|
||||
case 0x56:
|
||||
return QSV_CPU_PLATFORM_BDW;
|
||||
|
||||
case 0x4e:
|
||||
case 0x5e:
|
||||
return QSV_CPU_PLATFORM_SKL;
|
||||
}
|
||||
|
||||
//assume newer revisions are at least as capable as Haswell
|
||||
|
|
|
@ -110,6 +110,8 @@ enum qsv_cpu_platform {
|
|||
QSV_CPU_PLATFORM_SLM,
|
||||
QSV_CPU_PLATFORM_CHT,
|
||||
QSV_CPU_PLATFORM_HSW,
|
||||
QSV_CPU_PLATFORM_BDW,
|
||||
QSV_CPU_PLATFORM_SKL,
|
||||
QSV_CPU_PLATFORM_INTEL
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue