Clone this repo:
  1. 8773064 Revert "Fix rounding in scaling routines." by Mirko Bonadei · 6 hours ago main upstream/main
  2. 37a8481 Fix rounding in scaling routines. by Sergey Silkin · 14 hours ago
  3. 125f151 ARGBToNV12 use Matrix by Frank Barchard · 15 hours ago
  4. 561a978 YUV to RGB avoid avx assist by Frank Barchard · 20 hours ago
  5. 5a17753 libyuv: Optimize Convert8To8Row_NEON for 32-bit ARM by Frank Barchard · 2 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.