#[repr(C)]pub struct _NV_ENC_LOCK_BITSTREAM {Show 30 fields
pub version: u32,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub outputBitstream: *mut c_void,
pub sliceOffsets: *mut u32,
pub frameIdx: u32,
pub hwEncodeStatus: u32,
pub numSlices: u32,
pub bitstreamSizeInBytes: u32,
pub outputTimeStamp: u64,
pub outputDuration: u64,
pub bitstreamBufferPtr: *mut c_void,
pub pictureType: NV_ENC_PIC_TYPE,
pub pictureStruct: NV_ENC_PIC_STRUCT,
pub frameAvgQP: u32,
pub frameSatd: u32,
pub ltrFrameIdx: u32,
pub ltrFrameBitmap: u32,
pub temporalId: u32,
pub intraMBCount: u32,
pub interMBCount: u32,
pub averageMVX: i32,
pub averageMVY: i32,
pub alphaLayerSizeInBytes: u32,
pub outputStatsPtrSize: u32,
pub outputStatsPtr: *mut c_void,
pub frameIdxDisplay: u32,
pub reserved1: [u32; 220],
pub reserved2: [*mut c_void; 63],
pub reservedInternal: [u32; 8],
}
Fields§
§version: u32
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§outputBitstream: *mut c_void
§sliceOffsets: *mut u32
§frameIdx: u32
§hwEncodeStatus: u32
§numSlices: u32
§bitstreamSizeInBytes: u32
§outputTimeStamp: u64
§outputDuration: u64
§bitstreamBufferPtr: *mut c_void
§pictureType: NV_ENC_PIC_TYPE
§pictureStruct: NV_ENC_PIC_STRUCT
§frameAvgQP: u32
§frameSatd: u32
§ltrFrameIdx: u32
§ltrFrameBitmap: u32
§temporalId: u32
§intraMBCount: u32
§interMBCount: u32
§averageMVX: i32
§averageMVY: i32
§alphaLayerSizeInBytes: u32
§outputStatsPtrSize: u32
§outputStatsPtr: *mut c_void
§frameIdxDisplay: u32
§reserved1: [u32; 220]
§reserved2: [*mut c_void; 63]
§reservedInternal: [u32; 8]
Implementations§
source§impl _NV_ENC_LOCK_BITSTREAM
impl _NV_ENC_LOCK_BITSTREAM
pub fn doNotWait(&self) -> u32
pub fn set_doNotWait(&mut self, val: u32)
pub fn ltrFrame(&self) -> u32
pub fn set_ltrFrame(&mut self, val: u32)
pub fn getRCStats(&self) -> u32
pub fn set_getRCStats(&mut self, val: u32)
pub fn reservedBitFields(&self) -> u32
pub fn set_reservedBitFields(&mut self, val: u32)
pub fn new_bitfield_1( doNotWait: u32, ltrFrame: u32, getRCStats: u32, reservedBitFields: u32 ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
source§impl Clone for _NV_ENC_LOCK_BITSTREAM
impl Clone for _NV_ENC_LOCK_BITSTREAM
source§fn clone(&self) -> _NV_ENC_LOCK_BITSTREAM
fn clone(&self) -> _NV_ENC_LOCK_BITSTREAM
Returns a copy 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 moresource§impl Debug for _NV_ENC_LOCK_BITSTREAM
impl Debug for _NV_ENC_LOCK_BITSTREAM
source§impl Default for _NV_ENC_LOCK_BITSTREAM
impl Default for _NV_ENC_LOCK_BITSTREAM
source§impl Hash for _NV_ENC_LOCK_BITSTREAM
impl Hash for _NV_ENC_LOCK_BITSTREAM
source§impl Ord for _NV_ENC_LOCK_BITSTREAM
impl Ord for _NV_ENC_LOCK_BITSTREAM
source§fn cmp(&self, other: &_NV_ENC_LOCK_BITSTREAM) -> Ordering
fn cmp(&self, other: &_NV_ENC_LOCK_BITSTREAM) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<_NV_ENC_LOCK_BITSTREAM> for _NV_ENC_LOCK_BITSTREAM
impl PartialEq<_NV_ENC_LOCK_BITSTREAM> for _NV_ENC_LOCK_BITSTREAM
source§fn eq(&self, other: &_NV_ENC_LOCK_BITSTREAM) -> bool
fn eq(&self, other: &_NV_ENC_LOCK_BITSTREAM) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_NV_ENC_LOCK_BITSTREAM> for _NV_ENC_LOCK_BITSTREAM
impl PartialOrd<_NV_ENC_LOCK_BITSTREAM> for _NV_ENC_LOCK_BITSTREAM
source§fn partial_cmp(&self, other: &_NV_ENC_LOCK_BITSTREAM) -> Option<Ordering>
fn partial_cmp(&self, other: &_NV_ENC_LOCK_BITSTREAM) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for _NV_ENC_LOCK_BITSTREAM
impl Eq for _NV_ENC_LOCK_BITSTREAM
impl StructuralEq for _NV_ENC_LOCK_BITSTREAM
impl StructuralPartialEq for _NV_ENC_LOCK_BITSTREAM
Auto Trait Implementations§
impl RefUnwindSafe for _NV_ENC_LOCK_BITSTREAM
impl !Send for _NV_ENC_LOCK_BITSTREAM
impl !Sync for _NV_ENC_LOCK_BITSTREAM
impl Unpin for _NV_ENC_LOCK_BITSTREAM
impl UnwindSafe for _NV_ENC_LOCK_BITSTREAM
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