Enum rav1e::prelude::EncoderStatus[][src]

pub enum EncoderStatus {
    NeedMoreData,
    EnoughData,
    LimitReached,
    Encoded,
    Failure,
    NotReady,
}

Status that can be returned by Context functions.

Variants

NeedMoreData

The encoder needs more data to produce an output packet.

May be emitted by Context::receive_packet() when frame reordering is enabled.

EnoughData

There are enough frames in the queue.

May be emitted by Context::send_frame() when trying to send a frame after the encoder has been flushed.

LimitReached

The encoder has already produced the number of frames requested.

May be emitted by Context::receive_packet() after a flush request had been processed or the frame limit had been reached.

Encoded

A frame had been encoded but not emitted yet.

Failure

Generic fatal error.

NotReady

A frame was encoded in the first pass of a 2-pass encode, but its stats data was not retrieved with Context::twopass_out(), or not enough stats data was provided in the second pass of a 2-pass encode to encode the next frame.

Trait Implementations

impl Clone for EncoderStatus[src]

impl Copy for EncoderStatus[src]

impl Debug for EncoderStatus[src]

impl Display for EncoderStatus[src]

impl Eq for EncoderStatus[src]

impl Error for EncoderStatus[src]

impl PartialEq<EncoderStatus> for EncoderStatus[src]

impl StructuralEq for EncoderStatus[src]

impl StructuralPartialEq for EncoderStatus[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> Pointable for T

type Init = T

The type for initializers.

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.