Skip to main content

NVencInitializeParams

Struct NVencInitializeParams 

Source
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: NVencOutputStatsLevel

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.