diff options
author | Rodeo <[email protected]> | 2015-02-03 13:35:30 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-02-03 13:35:30 +0000 |
commit | 24cc4de85ca8bb8d0499d6008947a0045e564210 (patch) | |
tree | 1cd5ebec36c0ea650655bb97cd0cae48b811da91 /libhb/qsv_common.c | |
parent | ed749ed715a9ea7a83bd45bddc1175cf085b0a99 (diff) |
libhb: add support for detection of new Intel processor releases.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6864 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/qsv_common.c')
-rw-r--r-- | libhb/qsv_common.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index b1a4b26c9..6aa9e805f 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -47,6 +47,7 @@ enum QSV_G1, // Sandy Bridge or equivalent QSV_G2, // Ivy Bridge or equivalent QSV_G3, // Haswell or equivalent + QSV_G4, // Broadwell or equivalent }; static int qsv_hardware_generation(int cpu_platform) { @@ -58,10 +59,13 @@ static int qsv_hardware_generation(int cpu_platform) return QSV_G1; case HB_CPU_PLATFORM_INTEL_IVB: case HB_CPU_PLATFORM_INTEL_SLM: + case HB_CPU_PLATFORM_INTEL_CHT: return QSV_G2; case HB_CPU_PLATFORM_INTEL_HSW: - default: return QSV_G3; + case HB_CPU_PLATFORM_INTEL_BDW: + default: + return QSV_G4; } } |