Crate y4m

source ·
Expand description

Structs

  • YUV4MPEG2 decoder.
  • YUV4MPEG2 encoder.
  • Encoder builder. Allows to set y4m file parameters using builder pattern.
  • A single frame.
  • Limits on the resources Decoder is allowed to use.
  • Simple ratio structure since stdlib lacks one.
  • A newtype wrapper around Vec to ensure validity as a vendor extension.

Enums

  • Colorspace (color model/pixel format). Only subset of them is supported.
  • Both encoding and decoding errors.
  • Granular ParseError Definiations

Functions

  • Create a new decoder instance. Alias for Decoder::new.
  • Create a new encoder builder. Alias for EncoderBuilder::new.