Expand description
zenrav1e is an AV1 encoder optimized for still and animated AVIF images.
This is Imazen’s fork of rav1e, focused on compression efficiency for photographic content. Key improvements over upstream:
- Quantization matrices — frequency-dependent quantization weights (~10% BD-rate gain)
- Filter intra prediction — 5 recursive filter modes for smooth gradients
- Lossless mode — mathematically lossless encoding via
quantizer: 0 - Still picture mode — single-frame encoding without video overhead
Also supports full video encoding (intra, inter, switch frames) inherited from upstream rav1e.
§Usage
Encoding is done through the Context struct. Examples on
Context::receive_packet show how to create a Context, send frames
into it and receive packets of encoded data.
Modules§
- color
- Color model information
- config
- Encoder configuration and settings
- data
- Basic data structures
- prelude
- Commonly used types and traits.
- version
- Version information
Structs§
- Config
- Contains the encoder configuration.
- Context
- The encoder context.
- Encoder
Config - Encoder settings which impact the produced bitstream.
- Frame
- Represents a raw video frame
- Packet
- Represents a packet.
Enums§
- Encoder
Status - Status that can be returned by
Contextfunctions. - Invalid
Config - Enumeration of possible invalid configuration errors.
- Pixel
Type - Types that can be used as pixel types.
Traits§
- Cast
From Primitive - Trait for casting between primitive types.
- Pixel
- A type that can be used as a pixel type.