Fredrik Fornwall
6 years ago
5 changed files with 33 additions and 16 deletions
@ -0,0 +1,29 @@ |
|||
https://bitbucket.org/multicoreware/x265/issues/442/detect512-is-needed-on-all-architectures |
|||
|
|||
This function is used on all architectures, not just X86. |
|||
|
|||
--- x265-2.9/source/common/cpu.cpp
|
|||
+++ x265-2.9/source/common/cpu.cpp
|
|||
@@ -110,6 +110,11 @@
|
|||
{ "", 0 }, |
|||
}; |
|||
|
|||
+bool detect512()
|
|||
+{
|
|||
+ return(enable512);
|
|||
+}
|
|||
+
|
|||
#if X265_ARCH_X86 |
|||
|
|||
extern "C" { |
|||
@@ -123,10 +128,6 @@
|
|||
#pragma warning(disable: 4309) // truncation of constant value |
|||
#endif |
|||
|
|||
-bool detect512()
|
|||
-{
|
|||
- return(enable512);
|
|||
-}
|
|||
uint32_t cpu_detect(bool benableavx512 ) |
|||
{ |
|||
|
@ -1,14 +0,0 @@ |
|||
https://bitbucket.org/multicoreware/x265/commits/4504219210793536d921ee4e0b3058698c630bf4 |
|||
|
|||
diff -u -r ../x265_2.8/source/common/param.cpp ./source/common/param.cpp
|
|||
--- ../x265_2.8/source/common/param.cpp 2018-05-21 08:33:10.000000000 +0000
|
|||
+++ ./source/common/param.cpp 2018-06-26 03:48:16.649067505 +0000
|
|||
@@ -633,7 +633,7 @@
|
|||
if (bValueWasNull) |
|||
p->cpuid = atobool(value); |
|||
else |
|||
- p->cpuid = parseCpuName(value, bError);
|
|||
+ p->cpuid = parseCpuName(value, bError, false);
|
|||
#endif |
|||
} |
|||
OPT("fps") |
Loading…
Reference in new issue