pub struct NvEncConfig {
pub width: u32,
pub height: u32,
pub fps_num: u32,
pub fps_den: u32,
pub bitrate: u32,
pub max_bitrate: u32,
pub gop_length: u32,
pub b_frames: u32,
pub nv12_pitch: u32,
}Expand description
Encoder configuration parameters.
Fields§
§width: u32§height: u32§fps_num: u32§fps_den: u32§bitrate: u32§max_bitrate: u32§gop_length: u32§b_frames: u32§nv12_pitch: u32Trait Implementations§
Source§impl Clone for NvEncConfig
impl Clone for NvEncConfig
Source§fn clone(&self) -> NvEncConfig
fn clone(&self) -> NvEncConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NvEncConfig
impl RefUnwindSafe for NvEncConfig
impl Send for NvEncConfig
impl Sync for NvEncConfig
impl Unpin for NvEncConfig
impl UnsafeUnpin for NvEncConfig
impl UnwindSafe for NvEncConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more