Expand description
Encoder Configuration
Re-exports§
pub use rate::Error as RateControlError;
pub use rate::RateControlConfig;
pub use rate::RateControlSummary;
pub use crate::tiling::TilingInfo;
pub use encoder::*;
pub use speedsettings::*;
Modules§
- encoder 🔒
- rate 🔒
- speedsettings 🔒
- v_frame
Structs§
- Config
- Contains the encoder configuration.
- Diff
Generator - Grain
Table Segment - Specifies parameters for enabling decoder-side grain synthesis for
a segment of video from
start_time
toend_time
. - Noise
GenArgs - Settings and video data defining how to generate the film grain params.
Enums§
- Invalid
Config - Enumeration of possible invalid configuration errors.
- Transfer
Function
Constants§
- DEFAULT_
GRAIN_ SEED - A randomly generated u16 to be used as a starting random seed for grain synthesis. The idea behind using a constant random seed is so that encodes are deterministic and reproducible.
- NUM_
UV_ COEFFS - The max number of coefficients per chroma plane for grain synthesis
- NUM_
UV_ POINTS - The max number of scaling points per chroma plane for grain synthesis
- NUM_
Y_ COEFFS - The max number of luma coefficients for grain synthesis
- NUM_
Y_ POINTS - The max number of luma scaling points for grain synthesis
Functions§
- check_
tile_ 🔒log2 - generate_
photon_ noise_ params - Generates a set of photon noise parameters for a segment of video
given a set of
args
. - parse_
grain_ table - This file has the implementation details of the grain table.
- write_
grain_ table - Write a set of generated film grain params to a table file, using the standard film grain table format supported by aomenc, rav1e, and svt-av1.