#[repr(C)]pub struct _NV_ENC_STAT {Show 18 fields
pub version: u32,
pub reserved: u32,
pub outputBitStream: NV_ENC_OUTPUT_PTR,
pub bitStreamSize: u32,
pub picType: u32,
pub lastValidByteOffset: u32,
pub sliceOffsets: [u32; 16],
pub picIdx: u32,
pub frameAvgQP: u32,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub ltrFrameIdx: u32,
pub intraMBCount: u32,
pub interMBCount: u32,
pub averageMVX: i32,
pub averageMVY: i32,
pub reserved1: [u32; 226],
pub reserved2: [*mut c_void; 64],
}
Fields§
§version: u32
§reserved: u32
§outputBitStream: NV_ENC_OUTPUT_PTR
§bitStreamSize: u32
§picType: u32
§lastValidByteOffset: u32
§sliceOffsets: [u32; 16]
§picIdx: u32
§frameAvgQP: u32
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§ltrFrameIdx: u32
§intraMBCount: u32
§interMBCount: u32
§averageMVX: i32
§averageMVY: i32
§reserved1: [u32; 226]
§reserved2: [*mut c_void; 64]
Implementations§
Source§impl _NV_ENC_STAT
impl _NV_ENC_STAT
pub fn ltrFrame(&self) -> u32
pub fn set_ltrFrame(&mut self, val: u32)
pub fn reservedBitFields(&self) -> u32
pub fn set_reservedBitFields(&mut self, val: u32)
pub fn new_bitfield_1( ltrFrame: u32, reservedBitFields: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for _NV_ENC_STAT
impl Clone for _NV_ENC_STAT
Source§fn clone(&self) -> _NV_ENC_STAT
fn clone(&self) -> _NV_ENC_STAT
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_STAT
impl Debug for _NV_ENC_STAT
Source§impl Default for _NV_ENC_STAT
impl Default for _NV_ENC_STAT
Source§impl Hash for _NV_ENC_STAT
impl Hash for _NV_ENC_STAT
Source§impl Ord for _NV_ENC_STAT
impl Ord for _NV_ENC_STAT
Source§fn cmp(&self, other: &_NV_ENC_STAT) -> Ordering
fn cmp(&self, other: &_NV_ENC_STAT) -> 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_STAT
impl PartialEq for _NV_ENC_STAT
Source§impl PartialOrd for _NV_ENC_STAT
impl PartialOrd for _NV_ENC_STAT
impl Copy for _NV_ENC_STAT
impl Eq for _NV_ENC_STAT
impl StructuralPartialEq for _NV_ENC_STAT
Auto Trait Implementations§
impl Freeze for _NV_ENC_STAT
impl RefUnwindSafe for _NV_ENC_STAT
impl !Send for _NV_ENC_STAT
impl !Sync for _NV_ENC_STAT
impl Unpin for _NV_ENC_STAT
impl UnwindSafe for _NV_ENC_STAT
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