[][src]Crate yuv

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

color

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

convert

YUV -> RGB converter. See RGBConvert::new

Structs

RGB

An RGB pixel (from the rgb crate)

YUV

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

Enums

Error

This library doesn't support all combinations of color spaces