obs-qsv: Add newer platforms to CPU enum
Adding BDW and SKL to QSV CPU enum to check CPUID before enabling newer QSV features
This commit is contained in:
parent
617086b040
commit
2b59b010bb
@ -293,6 +293,15 @@ enum qsv_cpu_platform qsv_get_cpu_platform()
|
|||||||
case 0x45:
|
case 0x45:
|
||||||
case 0x46:
|
case 0x46:
|
||||||
return QSV_CPU_PLATFORM_HSW;
|
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
|
//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_SLM,
|
||||||
QSV_CPU_PLATFORM_CHT,
|
QSV_CPU_PLATFORM_CHT,
|
||||||
QSV_CPU_PLATFORM_HSW,
|
QSV_CPU_PLATFORM_HSW,
|
||||||
|
QSV_CPU_PLATFORM_BDW,
|
||||||
|
QSV_CPU_PLATFORM_SKL,
|
||||||
QSV_CPU_PLATFORM_INTEL
|
QSV_CPU_PLATFORM_INTEL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user