Crate yuv

source · []
Expand description

This crate contains two things:

  1. color enums that can be used to describe color spaces in image and video formats, as defined in ISO/IEC 23091-4/ITU-T H.273
  2. Routines to convert between YUV family of color spaces and RGB.

Modules

Enums describing color characteristics (color space, gamma, range)

YUV -> RGB converter. See RGBConvert::new

Structs

An RGB pixel (from the rgb crate) The RGB pixel

A generic 3-component pixel, which is usually luma + chroma

Enums

This library doesn’t support all combinations of color spaces