#[repr(C)]pub struct NV_ENC_CONFIG {
pub version: u32,
pub profileGUID: GUID,
pub gopLength: u32,
pub frameIntervalP: i32,
pub monoChromeEncoding: u32,
pub frameFieldMode: u32,
pub mvPrecision: u32,
pub rcParams: NV_ENC_RC_PARAMS,
pub encodeCodecConfig: NV_ENC_CODEC_CONFIG,
pub reserved: [u32; 278],
pub reserved2: [*mut c_void; 64],
}Expand description
Encoder configuration.
Fields§
§version: u32§profileGUID: GUID§gopLength: u32§frameIntervalP: i32§monoChromeEncoding: u32§frameFieldMode: u32§mvPrecision: u32§rcParams: NV_ENC_RC_PARAMS§encodeCodecConfig: NV_ENC_CODEC_CONFIG§reserved: [u32; 278]§reserved2: [*mut c_void; 64]Trait Implementations§
Source§impl Clone for NV_ENC_CONFIG
impl Clone for NV_ENC_CONFIG
Source§fn clone(&self) -> NV_ENC_CONFIG
fn clone(&self) -> NV_ENC_CONFIG
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 moreimpl Copy for NV_ENC_CONFIG
Auto Trait Implementations§
impl Freeze for NV_ENC_CONFIG
impl RefUnwindSafe for NV_ENC_CONFIG
impl !Send for NV_ENC_CONFIG
impl !Sync for NV_ENC_CONFIG
impl Unpin for NV_ENC_CONFIG
impl UnsafeUnpin for NV_ENC_CONFIG
impl UnwindSafe for NV_ENC_CONFIG
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