Clone this repo:
  1. a8c1810 Add 10/12 bit YUV To YUV functions by Yuan Tong · 30 hours ago master
  2. 08815a2 Scale 12 functions that are scale 16 but with only low 12 bits valid by Frank Barchard · 7 days ago
  3. 63dd43d [libyuv] - Switch from gflags to absl/flags. by Mirko Bonadei · 8 days ago
  4. d768774 add yuvconvstants util by Frank Barchard · 2 weeks ago
  5. d4ecb70 Add P010ToP410 and P210ToP410 by Yuan Tong · 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.