lemenkov/libyuv

Unofficial libyuv mirror. Please submit any issues or PRs upstream.

What it is

libyuv is an open-source library for scaling and converting YUV video data — the color format commonly used in video compression pipelines.

What it does

Capability Purpose
Scale YUV Prepares video for compression. Supports three filter methods: point, bilinear, and box.
Convert webcam formats → YUV Takes camera output and converts it into a format suitable for compression.
Convert YUV → RGB Produces RGB output for rendering and visual effects.
Rotate 90°/180°/270° Adjusts video orientation for mobile devices held in portrait mode.

Performance

The library is optimized for specific CPU instruction sets on each architecture:

  • x86/x64 — SSSE3, AVX2
  • Arm — Neon, SVE2, SME
  • Mips — MSA
  • RISC-V — RVV

Getting started

All information above is taken directly from the project README.

Related

  • Project
  • Project
  • Project
  • Project