Enum InvalidConfig
enum InvalidConfig
Enumeration of possible invalid configuration errors.
Variants
-
InvalidWidth(usize) The width is invalid.
-
InvalidHeight(usize) The height is invalid.
-
InvalidAspectRatioNum(usize) Aspect ratio numerator is invalid.
-
InvalidAspectRatioDen(usize) Aspect ratio denominator is invalid.
-
InvalidRenderWidth(usize) The render width (width adjusted based on the aspect ratio) is invalid.
-
InvalidRenderHeight(usize) The render height (height adjusted based on the aspect ratio) is invalid.
-
InvalidRdoLookaheadFrames { actual: usize, max: usize, min: usize } RDO lookahead frame count is invalid.
-
InvalidMaxKeyFrameInterval { actual: u64, max: u64 } Maximal keyframe interval is invalid.
-
InvalidTileCols(usize) Tile columns is invalid.
-
InvalidTileRows(usize) Tile rows is invalid.
-
InvalidFrameRateNum { actual: u64, max: u64 } Framerate numerator is invalid.
-
InvalidFrameRateDen { actual: u64, max: u64 } Framerate denominator is invalid.
-
InvalidReservoirFrameDelay(i32) Reservoir frame delay is invalid.
-
InvalidSwitchFrameInterval(u64) Reservoir frame delay is invalid.
-
InvalidOptionWithStillPicture(&'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.
-
LevelUndefined The specified level is undefined in the current version of AV1.
-
LevelConstraintsExceeded The configuration exceeded the specified level constraints.
Implementations
impl Clone for InvalidConfig
fn clone(self: &Self) -> InvalidConfig
impl Copy for InvalidConfig
impl Debug for InvalidConfig
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for InvalidConfig
fn fmt(self: &Self, __formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result
impl Eq for InvalidConfig
impl Error for InvalidConfig
impl Freeze for InvalidConfig
impl PartialEq for InvalidConfig
fn eq(self: &Self, other: &InvalidConfig) -> bool
impl RefUnwindSafe for InvalidConfig
impl Send for InvalidConfig
impl StructuralPartialEq for InvalidConfig
impl Sync for InvalidConfig
impl Unpin for InvalidConfig
impl UnwindSafe for InvalidConfig
impl<T> Any for InvalidConfig
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for InvalidConfig
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for InvalidConfig
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for InvalidConfig
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for InvalidConfig
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for InvalidConfig
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> ToString for InvalidConfig
fn to_string(self: &Self) -> String
impl<T, U> Into for InvalidConfig
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for InvalidConfig
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for InvalidConfig
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>