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. chromium/
  2. docs/
  3. include/
  4. source/
  5. third_party/
  6. tools/
  7. unit_test/
  8. util/
  9. .gitignore
  10. .gn
  11. all.gyp
  12. Android.mk
  13. AUTHORS
  14. BUILD.gn
  15. CMakeLists.txt
  16. codereview.settings
  17. DEPS
  18. download_vs_toolchain.py
  19. gyp_libyuv
  20. gyp_libyuv.py
  21. libyuv.gyp
  22. libyuv.gypi
  23. libyuv_nacl.gyp
  24. libyuv_test.gyp
  25. LICENSE
  26. LICENSE_THIRD_PARTY
  27. linux.mk
  28. OWNERS
  29. PATENTS
  30. PRESUBMIT.py
  31. public.mk
  32. README.chromium
  33. README.md
  34. setup_links.py
  35. sync_chromium.py
  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.