Enum rav1e::config::InvalidConfig [−][src]
#[non_exhaustive]
pub enum InvalidConfig {
Show 18 variants
InvalidWidth(usize),
InvalidHeight(usize),
InvalidAspectRatioNum(usize),
InvalidAspectRatioDen(usize),
InvalidRenderWidth(usize),
InvalidRenderHeight(usize),
InvalidRdoLookaheadFrames {
actual: usize,
max: usize,
min: usize,
},
InvalidMaxKeyFrameInterval {
actual: u64,
max: u64,
},
InvalidTileCols(usize),
InvalidTileRows(usize),
InvalidFrameRateNum {
actual: u64,
max: u64,
},
InvalidFrameRateDen {
actual: u64,
max: u64,
},
InvalidReservoirFrameDelay(i32),
InvalidSwitchFrameInterval(u64),
InvalidOptionWithStillPicture(&'static str),
TargetBitrateNeeded,
RateControlConfigurationMismatch,
ColorConfigurationMismatch,
}
Expand description
Enumeration of possible invalid configuration errors.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InvalidWidth(usize)
Tuple Fields
0: usize
The width is invalid.
InvalidHeight(usize)
Tuple Fields
0: usize
The height is invalid.
InvalidAspectRatioNum(usize)
Tuple Fields
0: usize
Aspect ratio numerator is invalid.
InvalidAspectRatioDen(usize)
Tuple Fields
0: usize
Aspect ratio denominator is invalid.
InvalidRenderWidth(usize)
Tuple Fields
0: usize
The render width (width adjusted based on the aspect ratio) is invalid.
InvalidRenderHeight(usize)
Tuple Fields
0: usize
The render height (height adjusted based on the aspect ratio) is invalid.
InvalidRdoLookaheadFrames
Fields
actual: usize
The actual value.
max: usize
The maximal supported value.
min: usize
The minimal supported value.
RDO lookahead frame count is invalid.
InvalidMaxKeyFrameInterval
Maximal keyframe interval is invalid.
InvalidTileCols(usize)
Tuple Fields
0: usize
Tile columns is invalid.
InvalidTileRows(usize)
Tuple Fields
0: usize
Tile rows is invalid.
InvalidFrameRateNum
Framerate numerator is invalid.
InvalidFrameRateDen
Framerate denominator is invalid.
InvalidReservoirFrameDelay(i32)
Tuple Fields
0: i32
Reservoir frame delay is invalid.
InvalidSwitchFrameInterval(u64)
Tuple Fields
0: u64
Reservoir frame delay is invalid.
InvalidOptionWithStillPicture(&'static str)
Tuple Fields
0: &'static str
An option unsupported in still picture mode was enabled along with it.
TargetBitrateNeeded
The rate control needs a target bitrate in order to produce results
RateControlConfigurationMismatch
The configuration
ColorConfigurationMismatch
The color configuration mismatches AV1 constraints.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InvalidConfig
impl Send for InvalidConfig
impl Sync for InvalidConfig
impl Unpin for InvalidConfig
impl UnwindSafe for InvalidConfig
Blanket Implementations
Mutably borrows from an owned value. Read more