#[repr(C)]
pub struct _NV_ENC_PIC_PARAMS_H264 {
Show 22 fields pub displayPOCSyntax: u32, pub reserved3: u32, pub refPicFlag: u32, pub colourPlaneId: u32, pub forceIntraRefreshWithFrameCnt: u32, pub _bitfield_align_1: [u32; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, pub sliceTypeData: *mut u8, pub sliceTypeArrayCnt: u32, pub seiPayloadArrayCnt: u32, pub seiPayloadArray: *mut NV_ENC_SEI_PAYLOAD, pub sliceMode: u32, pub sliceModeData: u32, pub ltrMarkFrameIdx: u32, pub ltrUseFrameBitmap: u32, pub ltrUsageMode: u32, pub forceIntraSliceCount: u32, pub forceIntraSliceIdx: *mut u32, pub h264ExtPicParams: NV_ENC_PIC_PARAMS_H264_EXT, pub timeCode: NV_ENC_TIME_CODE, pub reserved: [u32; 203], pub reserved2: [*mut c_void; 61],
}

Fields§

§displayPOCSyntax: u32§reserved3: u32§refPicFlag: u32§colourPlaneId: u32§forceIntraRefreshWithFrameCnt: u32§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§sliceTypeData: *mut u8§sliceTypeArrayCnt: u32§seiPayloadArrayCnt: u32§seiPayloadArray: *mut NV_ENC_SEI_PAYLOAD§sliceMode: u32§sliceModeData: u32§ltrMarkFrameIdx: u32§ltrUseFrameBitmap: u32§ltrUsageMode: u32§forceIntraSliceCount: u32§forceIntraSliceIdx: *mut u32§h264ExtPicParams: NV_ENC_PIC_PARAMS_H264_EXT§timeCode: NV_ENC_TIME_CODE§reserved: [u32; 203]§reserved2: [*mut c_void; 61]

Implementations§

source§

impl _NV_ENC_PIC_PARAMS_H264

source

pub fn constrainedFrame(&self) -> u32

source

pub fn set_constrainedFrame(&mut self, val: u32)

source

pub fn sliceModeDataUpdate(&self) -> u32

source

pub fn set_sliceModeDataUpdate(&mut self, val: u32)

source

pub fn ltrMarkFrame(&self) -> u32

source

pub fn set_ltrMarkFrame(&mut self, val: u32)

source

pub fn ltrUseFrames(&self) -> u32

source

pub fn set_ltrUseFrames(&mut self, val: u32)

source

pub fn reservedBitFields(&self) -> u32

source

pub fn set_reservedBitFields(&mut self, val: u32)

source

pub fn new_bitfield_1( constrainedFrame: u32, sliceModeDataUpdate: u32, ltrMarkFrame: u32, ltrUseFrames: u32, reservedBitFields: u32 ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations§

source§

impl Clone for _NV_ENC_PIC_PARAMS_H264

source§

fn clone(&self) -> _NV_ENC_PIC_PARAMS_H264

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for _NV_ENC_PIC_PARAMS_H264

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for _NV_ENC_PIC_PARAMS_H264

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.