Showing the changes to codec/common/src/cpu.cpp (1 of 14 files). Show all
Unified · Split
| @@ -259,9 +259,9 @@ uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors) { · 258 unmodified lines | |||
| 259 | while (fgets (buf, sizeof (buf), f)) { | 259 | while (fgets (buf, sizeof (buf), f)) { |
| 260 | if (!strncmp (buf, "Features", strlen ("Features"))) { | 260 | if (!strncmp (buf, "Features", strlen ("Features"))) { |
| 261 | // The asimd and fp features are listed on 64 bit ARMv8 kernels | 261 | // The asimd and fp features are listed on 64 bit ARMv8 kernels |
| 262 | if (strstr (buf, " neon ") || strstr(buf, " asimd ")) | 262 | if (strstr (buf, " neon ") || strstr (buf, " asimd ")) |
| 263 | flags |= WELS_CPU_NEON; | 263 | flags |= WELS_CPU_NEON; |
| 264 | if (strstr (buf, " vfpv3 ") || strstr(buf, " fp ")) | 264 | if (strstr (buf, " vfpv3 ") || strstr (buf, " fp ")) |
| 265 | flags |= WELS_CPU_VFPv3; | 265 | flags |= WELS_CPU_VFPv3; |
| 266 | break; | 266 | break; |
| 267 | } | 267 | } |