[][src]Struct hl_capture::encode::PixFmtConverter

struct PixFmtConverter {
    inner: Option<PixFmtConverterInner>,
    output_format: Pixel,
}

Lazily-initialized pixel format converter.

Fields

inner: Option<PixFmtConverterInner>output_format: Pixel

Methods

impl PixFmtConverter[src]

fn new(output_format: Pixel) -> Self[src]

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

fn output_frame(&mut self) -> Option<&mut Video>[src]

Auto Trait Implementations

impl Unpin for PixFmtConverter

impl !Sync for PixFmtConverter

impl !Send for PixFmtConverter

impl RefUnwindSafe for PixFmtConverter

impl UnwindSafe for PixFmtConverter

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]