pub trait EncoderInput {
    // Required methods
    fn pitch(&self) -> u32;
    fn handle(&mut self) -> *mut c_void;
}
Expand description

If a type implements this trait it means it is a valid input buffer for the encoding API.

Required Methods§

source

fn pitch(&self) -> u32

Get the pitch (AKA stride) of the input resource.

source

fn handle(&mut self) -> *mut c_void

Get the handle of the input resource.

Implementors§