[][src]Struct hl_capture::encode::PixFmtConverterInner

struct PixFmtConverterInner {
    context: Context,
    output_frame: Video,
}

Pixel format converter.

Fields

context: Contextoutput_frame: Video

Methods

impl PixFmtConverterInner[src]

fn new(
    (width, height): (u32, u32),
    input: Pixel,
    output: Pixel
) -> Result<Self, Error>
[src]

fn convert(&mut self, frame: &Video) -> Result<&mut Video, Error>[src]

fn format(&self) -> Pixel[src]

Auto Trait Implementations

impl Unpin for PixFmtConverterInner

impl !Sync for PixFmtConverterInner

impl !Send for PixFmtConverterInner

impl RefUnwindSafe for PixFmtConverterInner

impl UnwindSafe for PixFmtConverterInner

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]