CPU (X86): adds code name and tech detection

Fixes #1501
This commit is contained in:
李通洲
2026-06-07 10:46:37 +08:00
parent c706201282
commit e936ddef6b
5 changed files with 1439 additions and 0 deletions
+5
View File
@@ -22,6 +22,11 @@ const char* ffDetectCPU(const FFCPUOptions* options, FFCPUResult* cpu) {
ffStrbufSubstrBeforeFirstC(&cpu->name, '@'); // Cut the speed output in the name as we append our own
ffStrbufTrimRight(&cpu->name, ' '); // If we removed the @ in previous step there was most likely a space before it
ffStrbufRemoveDupWhitespaces(&cpu->name);
#if __i386__ || __x86_64__
ffCPUDetectX86Specific(cpu);
#endif
return NULL;
}