[][src]Enum rav1e::InvalidConfig

#[non_exhaustive]pub enum InvalidConfig {
    InvalidWidth(usize),
    InvalidHeight(usize),
    InvalidAspectRatioNum(usize),
    InvalidAspectRatioDen(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),
    TargetBitrateNeeded,
    RateControlConfigurationMismatch,
}

Enumeration of possible invalid configuration errors.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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.

InvalidRdoLookaheadFrames

RDO lookahead frame count is invalid.

Fields of InvalidRdoLookaheadFrames

actual: usize

The actual value.

max: usize

The maximal supported value.

min: usize

The minimal supported value.

InvalidMaxKeyFrameInterval

Maximal keyframe interval is invalid.

Fields of InvalidMaxKeyFrameInterval

actual: u64

The actual value.

max: u64

The maximal supported value.

InvalidTileCols(usize)

Tile columns is invalid.

InvalidTileRows(usize)

Tile rows is invalid.

InvalidFrameRateNum

Framerate numerator is invalid.

Fields of InvalidFrameRateNum

actual: u64

The actual value.

max: u64

The maximal supported value.

InvalidFrameRateDen

Framerate denominator is invalid.

Fields of InvalidFrameRateDen

actual: u64

The actual value.

max: u64

The maximal supported value.

InvalidReservoirFrameDelay(i32)

Reservoir frame delay is invalid.

InvalidSwitchFrameInterval(u64)

Reservoir frame delay is invalid.

TargetBitrateNeeded

The rate control needs a target bitrate in order to produce results

RateControlConfigurationMismatch

The configuration

Trait Implementations

impl Clone for InvalidConfig[src]

impl Copy for InvalidConfig[src]

impl Debug for InvalidConfig[src]

impl Display for InvalidConfig[src]

impl Eq for InvalidConfig[src]

impl Error for InvalidConfig[src]

impl PartialEq<InvalidConfig> for InvalidConfig[src]

impl StructuralEq for InvalidConfig[src]

impl StructuralPartialEq for InvalidConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.