Crate y4m [−] [src]
Structs
Decoder |
YUV4MPEG2 decoder. |
Encoder |
YUV4MPEG2 encoder. |
EncoderBuilder |
Encoder builder. Allows to set y4m file parameters using builder pattern. |
Frame |
A single frame. |
Ratio |
Simple ratio structure since stdlib lacks one. |
Enums
Colorspace |
Colorspace. It's a color model in fact, but let's conform to the spec. NOTE: Only 8-bit and 10-bit formats are currently supported. |
Error |
Both encoding and decoding errors. |
Functions
decode |
Create a new decoder instance. Alias for |
encode |
Create a new encoder builder. Alias for |