pub struct NVencInitializeParams {Show 20 fields
pub version: u32,
pub encode_guid: Guid,
pub preset_guid: Guid,
pub encode_width: u32,
pub encode_height: u32,
pub dar_width: u32,
pub dar_height: u32,
pub frame_rate_num: u32,
pub frame_rate_den: u32,
pub enable_encode_async: u32,
pub enable_ptd: u32,
pub bit_flags: NVencInitializeParamsBitfields,
pub encode_config: *mut NVencConfig,
pub max_encode_width: u32,
pub max_encode_height: u32,
pub max_me_hint_counts_per_block: [NVencExternalMeHintCountsPerBlockType; 2],
pub tuning_info: NVencTuningInfo,
pub buffer_format: NVencBufferFormat,
pub num_state_buffers: u32,
pub output_stats_level: NVencOutputStatsLevel,
/* private fields */
}Fields§
§version: u32§encode_guid: Guid§preset_guid: Guid§encode_width: u32§encode_height: u32§dar_width: u32§dar_height: u32§frame_rate_num: u32§frame_rate_den: u32§enable_encode_async: u32§enable_ptd: u32§bit_flags: NVencInitializeParamsBitfields§encode_config: *mut NVencConfig§max_encode_width: u32§max_encode_height: u32§max_me_hint_counts_per_block: [NVencExternalMeHintCountsPerBlockType; 2]§tuning_info: NVencTuningInfo§buffer_format: NVencBufferFormat§num_state_buffers: u32§output_stats_level: NVencOutputStatsLevelAuto Trait Implementations§
impl !Send for NVencInitializeParams
impl !Sync for NVencInitializeParams
impl Freeze for NVencInitializeParams
impl RefUnwindSafe for NVencInitializeParams
impl Unpin for NVencInitializeParams
impl UnsafeUnpin for NVencInitializeParams
impl UnwindSafe for NVencInitializeParams
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