Enum cros_codecs::decoders::vp8::decoder::NegotiationStatus
source · [−]enum NegotiationStatus {
NonNegotiated,
Possible {
key_frame: (u64, Box<Header>, Vec<u8>, Box<Parser>),
},
DrainingQueuedBuffers,
Negotiated,
}
Expand description
Represents where we are in the negotiation status. We assume ownership of the incoming buffers in this special case so that clients do not have to do the bookkeeping themselves.
Variants
NonNegotiated
Still waiting for a key frame.
Possible
Saw a key frame. Negotiation is possible until the next call to decode()
DrainingQueuedBuffers
Processing the queued buffers.
Negotiated
Negotiated. Locks in the format until a new key frame is seen if that new key frame changes the stream parameters.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NegotiationStatus
impl Send for NegotiationStatus
impl Sync for NegotiationStatus
impl Unpin for NegotiationStatus
impl UnwindSafe for NegotiationStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more