Struct AV1

Source
pub struct AV1;

Trait Implementations§

Source§

impl<Backend> StatelessCodec<Backend> for AV1

Source§

type Reference = <Backend as StatelessVideoEncoderBackend<AV1>>::Reconstructed

Codec specific representation of frame reference wrapping a backend reference type containing a codec specific frame metadata
Source§

type Request = BackendRequest<<Backend as StatelessVideoEncoderBackend<AV1>>::Picture, <Backend as StatelessVideoEncoderBackend<AV1>>::Reconstructed>

A request type that will be delivered to codec specific stateless encoder backend
Source§

type CodedPromise = BitstreamPromise<<Backend as StatelessVideoEncoderBackend<AV1>>::CodedPromise>

Source§

type ReferencePromise = <Backend as StatelessVideoEncoderBackend<AV1>>::ReconPromise

Source§

impl<Handle, Backend> StatelessEncoderExecute<AV1, Handle, Backend> for StatelessEncoder<Handle, Backend>

Source§

fn execute( &mut self, request: BackendRequest<Backend::Picture, Backend::Reconstructed>, ) -> EncodeResult<()>

Source§

impl<M, Handle> StatelessVideoEncoderBackend<AV1> for VaapiBackend<M, Handle>
where M: SurfaceMemoryDescriptor, Handle: Borrow<Surface<M>>,

Source§

type Picture = Handle

Backend’s specific representation of the input frame, transformed with import_picture. Might be a wrapper of the input handle with additional backend specific data or a copy of an input frame in internal backend’s representation.
Source§

type Reconstructed = Reconstructed

Backend’s reconstructed frame handle.
Source§

type CodedPromise = CodedOutputPromise<M, Handle>

Backend’s specific BackendPromise for bitstream, a result of StatelessCodec::Request submission.
Source§

type ReconPromise = ReadyPromise<<VaapiBackend<M, Handle> as StatelessVideoEncoderBackend<AV1>>::Reconstructed>

Auto Trait Implementations§

§

impl Freeze for AV1

§

impl RefUnwindSafe for AV1

§

impl Send for AV1

§

impl Sync for AV1

§

impl Unpin for AV1

§

impl UnwindSafe for AV1

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.