#[repr(C)]
pub struct _CUVIDPARSERPARAMS {
Show 16 fields pub CodecType: cudaVideoCodec, pub ulMaxNumDecodeSurfaces: c_uint, pub ulClockRate: c_uint, pub ulErrorThreshold: c_uint, pub ulMaxDisplayDelay: c_uint, pub _bitfield_align_1: [u32; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, pub uReserved1: [c_uint; 4], pub pUserData: *mut c_void, pub pfnSequenceCallback: PFNVIDSEQUENCECALLBACK, pub pfnDecodePicture: PFNVIDDECODECALLBACK, pub pfnDisplayPicture: PFNVIDDISPLAYCALLBACK, pub pfnGetOperatingPoint: PFNVIDOPPOINTCALLBACK, pub pfnGetSEIMsg: PFNVIDSEIMSGCALLBACK, pub pvReserved2: [*mut c_void; 5], pub pExtVideoInfo: *mut CUVIDEOFORMATEX,
}

Fields§

§CodecType: cudaVideoCodec§ulMaxNumDecodeSurfaces: c_uint§ulClockRate: c_uint§ulErrorThreshold: c_uint§ulMaxDisplayDelay: c_uint§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§uReserved1: [c_uint; 4]§pUserData: *mut c_void§pfnSequenceCallback: PFNVIDSEQUENCECALLBACK§pfnDecodePicture: PFNVIDDECODECALLBACK§pfnDisplayPicture: PFNVIDDISPLAYCALLBACK§pfnGetOperatingPoint: PFNVIDOPPOINTCALLBACK§pfnGetSEIMsg: PFNVIDSEIMSGCALLBACK§pvReserved2: [*mut c_void; 5]§pExtVideoInfo: *mut CUVIDEOFORMATEX

Implementations§

source§

impl _CUVIDPARSERPARAMS

source

pub fn bAnnexb(&self) -> c_uint

source

pub fn set_bAnnexb(&mut self, val: c_uint)

source

pub fn uReserved(&self) -> c_uint

source

pub fn set_uReserved(&mut self, val: c_uint)

source

pub fn new_bitfield_1( bAnnexb: c_uint, uReserved: c_uint ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations§

source§

impl Default for _CUVIDPARSERPARAMS

source§

fn default() -> Self

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

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, 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.