Expand description
Encoder Configuration
Modules§
Structs§
- Config
- Contains the encoder configuration.
- Diff
Generator - Encoder
Config - Encoder settings which impact the produced bitstream.
- Grain
Table Segment - Specifies parameters for enabling decoder-side grain synthesis for
a segment of video from
start_time
toend_time
. - Motion
Speed Settings - Speed settings related to motion estimation and motion vector selection
- Noise
GenArgs - Settings and video data defining how to generate the film grain params.
- Partition
Range - Range of block sizes to use.
- Partition
Speed Settings - Speed settings related to partition decision
- Prediction
Speed Settings - Speed settings related to intra prediction mode selection
- Rate
Control Config - Rate control configuration
- Rate
Control Summary - Rate control pass summary
- Speed
Settings - Contains the speed settings.
- Tiling
Info - Tiling information
- Transform
Speed Settings - Speed settings related to transform size and type decision
Enums§
- Invalid
Config - Enumeration of possible invalid configuration errors.
- Prediction
Modes Setting - Prediction modes to search.
- Rate
Control Error - Rate control errors
- SGRComplexity
Level - Search level for self guided restoration
- Scene
Detection Speed - Prediction modes to search.
- Segmentation
Level - Search level for segmentation
- 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§
- 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.