Remove most clang-cl special cases from cpu_id.cc

They are not needed, and due to them there was a call to _xgetbv()
without a declaration of the function.  This used to work because we
implicitly included intrin.h in all translation units with clang-cl, but
we want to stop doing that.

BUG=chromium:592745
R=fbarchard@google.com

Review URL: https://codereview.chromium.org/1780473003 .
1 file changed
tree: 35a81afb3885f149d582914c3d631c8931e81f77
  1. .gitignore
  2. .gn
  3. AUTHORS
  4. Android.mk
  5. BUILD.gn
  6. CMakeLists.txt
  7. DEPS
  8. LICENSE
  9. LICENSE_THIRD_PARTY
  10. OWNERS
  11. PATENTS
  12. PRESUBMIT.py
  13. README.chromium
  14. README.md
  15. all.gyp
  16. chromium/
  17. codereview.settings
  18. docs/
  19. download_vs_toolchain.py
  20. gyp_libyuv
  21. gyp_libyuv.py
  22. include/
  23. libyuv.gyp
  24. libyuv.gypi
  25. libyuv_nacl.gyp
  26. libyuv_test.gyp
  27. linux.mk
  28. public.mk
  29. setup_links.py
  30. source/
  31. sync_chromium.py
  32. third_party/
  33. tools/
  34. unit_test/
  35. util/
  36. winarm.mk
README.md

libyuv is an open source project that includes YUV scaling and conversion functionality.

  • Scale YUV to prepare content for compression, with point, bilinear or box filter.
  • Convert to YUV from webcam formats.
  • Convert from YUV to formats for rendering/effects.
  • Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode.
  • Optimized for SSE2/SSSE3/AVX2 on x86/x64.
  • Optimized for Neon on Arm.
  • Optimized for DSP R2 on Mips.

Development

See [Getting started] 1 for instructions on how to get started developing.

You can also browse the [docs directory] 2 for more documentation.