#[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 duplicate 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 for _NV_ENC_LOCK_BITSTREAM
impl PartialEq for _NV_ENC_LOCK_BITSTREAM
Source§impl PartialOrd for _NV_ENC_LOCK_BITSTREAM
impl PartialOrd for _NV_ENC_LOCK_BITSTREAM
impl Copy for _NV_ENC_LOCK_BITSTREAM
impl Eq for _NV_ENC_LOCK_BITSTREAM
impl StructuralPartialEq for _NV_ENC_LOCK_BITSTREAM
Auto Trait Implementations§
impl Freeze for _NV_ENC_LOCK_BITSTREAM
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