Struct vpx_encode::Config
source · [−]pub struct Config {
pub width: c_uint,
pub height: c_uint,
pub timebase: [c_int; 2],
pub bitrate: c_uint,
pub codec: VideoCodecId,
}Fields
width: c_uintThe width (in pixels).
height: c_uintThe height (in pixels).
timebase: [c_int; 2]The timebase numerator and denominator (in seconds).
bitrate: c_uintThe target bitrate (in kilobits per second).
codec: VideoCodecIdThe codec
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more