pub(crate) struct VaapiBackend<StreamData>where
    for<'a> &'a StreamData: StreamInfo,
{ pub(crate) metadata_state: StreamMetadataState, pub(crate) negotiation_status: NegotiationStatus<Box<StreamData>>, pub(crate) pending_jobs: VecDeque<Rc<RefCell<GenericBackendHandle>>>, }

Fields

metadata_state: StreamMetadataState

The metadata state. Updated whenever the decoder reads new data from the stream.

negotiation_status: NegotiationStatus<Box<StreamData>>

The negotiation status

pending_jobs: VecDeque<Rc<RefCell<GenericBackendHandle>>>

The FIFO for all pending pictures, in the order they were submitted.

Implementations

Trait Implementations

The type that the backend returns as a result of a decode operation. This will usually be some backend-specific type with a resource and a resource pool so that said buffer can be reused for another decode operation when it goes out of scope. Read more
Returns the current coded resolution of the bitstream being processed. This may be None if we have not read the stream parameters yet. Read more
Returns the current display resolution of the bitstream being processed. This may be None if we have not read the stream parameters yet. Read more
Gets the number of output resources allocated by the backend.
Gets the number of output resources left in the backend.
Gets the chosen format. This is set to a default after the decoder reads enough stream metadata from the bitstream. Some buffers need to be processed first before the default format can be set. Read more
Try altering the decoded format.
Poll for any ready pictures. block dictates whether this call should block on the operation or return immediately. Read more
Whether the handle is ready for presentation. The decoder will check this before returning the handle to clients. Read more
Block on handle handle.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.