Crate ravif[][src]

Structs

Encoder configuration struct

Basic struct used for both owned (alias ImgVec) and borrowed (alias ImgRef) image fragments.

Enums

Functions

Clear/change RGB components of fully-transparent RGBA pixels to make them cheaper to encode with AV1

If config.color_space is ColorSpace::YCbCr, then it takes 8-bit BT709 color space.

Make a new AVIF image from RGB pixels

Make a new AVIF image from RGBA pixels (non-premultiplied, alpha last)

Type Definitions

8-bit RGB

8-bit RGBA, alpha is last. 0 = transparent, 255 = opaque.