Struct H264

Source
pub struct H264;

Trait Implementations§

Source§

impl<Backend> StatelessCodec<Backend> for H264

Source§

type Reference = DpbEntry<<Backend as StatelessVideoEncoderBackend<H264>>::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<H264>>::Picture, <Backend as StatelessVideoEncoderBackend<H264>>::Reconstructed>

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

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

Source§

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

Source§

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

Source§

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

Source§

impl<M, H> StatelessVideoEncoderBackend<H264> for VaapiBackend<M, H>
where M: SurfaceMemoryDescriptor, H: Borrow<Surface<M>> + 'static,

Source§

type Picture = H

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, H>

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

type ReconPromise = ReadyPromise<<VaapiBackend<M, H> as StatelessVideoEncoderBackend<H264>>::Reconstructed>

Auto Trait Implementations§

§

impl Freeze for H264

§

impl RefUnwindSafe for H264

§

impl Send for H264

§

impl Sync for H264

§

impl Unpin for H264

§

impl UnwindSafe for H264

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.