Clone this repo:
  1. d23308a add bmm detect and vdpphps in util/cpuid by Frank Barchard · 2 days ago main
  2. 3bdb3b9 I420ToRAW use 2 step AVX512 by Frank Barchard · 3 days ago
  3. 4be798d BGRAToI420 use BgraConstants for a direct conversion using AVX512BW by Frank Barchard · 3 days ago
  4. 95eedb9 ConvertToARGB: compute buffer offsets in ptrdiff_t by Wan-Teh Chang · 6 days ago
  5. ccd4151 Fix int negation overflow in ConvertToARGB/I420 by Wan-Teh Chang · 6 days ago

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 for compression.
  • Convert to RGB formats for rendering/effects.
  • Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode.
  • Optimized for SSSE3/AVX2 on x86/x64.
  • Optimized for Neon/SVE2/SME on Arm.
  • Optimized for MSA on Mips.
  • Optimized for RVV on RISC-V.

Development

See Getting started for instructions on how to get started developing.

You can also browse the docs directory for more documentation.