Expand description
ยงYUV4MPEG2 (.y4m) Encoder/Decoder
Macrosยง
- parse_
error ๐
Structsยง
- Decoder
- YUV4MPEG2 decoder.
- Encoder
- YUV4MPEG2 encoder.
- Encoder
Builder - Encoder builder. Allows to set y4m file parameters using builder pattern.
- Frame
- A single frame.
- Limits
- Limits on the resources
Decoderis allowed to use. - Ratio
- Simple ratio structure since stdlib lacks one.
- Vendor
Extension String - A newtype wrapper around Vec
to ensure validity as a vendor extension.
Enumsยง
- Colorspace
- Colorspace (color model/pixel format). Only subset of them is supported.
- Error
- Both encoding and decoding errors.
- Parse
Error - Granular ParseError Definiations
Constantsยง
- FIELD_
SEP ๐ - FILE_
MAGICK ๐ - FRAME_
MAGICK ๐ - MAX_
PARAMS_ ๐SIZE - RATIO_
SEP ๐ - TERMINATOR ๐
Traitsยง
- Enhanced
Read ๐
Functionsยง
- decode
- Create a new decoder instance. Alias for
Decoder::new. - encode
- Create a new encoder builder. Alias for
EncoderBuilder::new. - get_
plane_ ๐sizes - parse_
bytes ๐