summaryrefslogtreecommitdiffstats
path: root/libhb/ports.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-02-03 13:35:30 +0000
committerRodeo <[email protected]>2015-02-03 13:35:30 +0000
commit24cc4de85ca8bb8d0499d6008947a0045e564210 (patch)
tree1cd5ebec36c0ea650655bb97cd0cae48b811da91 /libhb/ports.c
parented749ed715a9ea7a83bd45bddc1175cf085b0a99 (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/ports.c')
-rw-r--r--libhb/ports.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libhb/ports.c b/libhb/ports.c
index f03064a66..4e542b202 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -262,6 +262,10 @@ const char* hb_get_cpu_platform_name()
return "Intel microarchitecture Silvermont";
case HB_CPU_PLATFORM_INTEL_HSW:
return "Intel microarchitecture Haswell";
+ case HB_CPU_PLATFORM_INTEL_BDW:
+ return "Intel microarchitecture Broadwell";
+ case HB_CPU_PLATFORM_INTEL_CHT:
+ return "Intel microarchitecture Airmont";
default:
return NULL;
@@ -327,13 +331,24 @@ static void init_cpu_info()
case 0x37:
case 0x4A:
case 0x4D:
+ case 0x5A:
+ case 0x5D:
hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_SLM;
break;
case 0x3C:
+ case 0x3F:
case 0x45:
case 0x46:
hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_HSW;
break;
+ case 0x3D:
+ case 0x4F:
+ case 0x56:
+ hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_BDW;
+ break;
+ case 0x4C:
+ hb_cpu_info.platform = HB_CPU_PLATFORM_INTEL_CHT;
+ break;
default:
break;
}