obs-qsv: Add newer platforms to CPU enum

Adding BDW and SKL to QSV CPU enum to check CPUID before enabling newer
QSV features
master
brittneysclark 2019-07-12 08:04:57 -07:00
parent 617086b040
commit 2b59b010bb
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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
};