Clone this repo:
  1. 8869628 Remove unnecessary include of convert_argb by Frank Barchard · 5 days ago master
  2. 6efd8f2 NV12ToABGR and RAW Matrix macros by Frank Barchard · 6 days ago
  3. 94af531 Remove M420 and refactor NV12ToI420 by Frank Barchard · 7 days ago
  4. da41bca I400ToARGBMatrix Pass a color matrix to use different coefficients by Frank Barchard · 13 days ago
  5. d426247 YUV to RGB Matrix functions for color space support by Frank Barchard · 2 weeks 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 on Arm.
  • Optimized for MSA on Mips.


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

You can also browse the docs directory for more documentation.