Struct nvidia_video_codec_sdk::sys::nvEncodeAPI::_NV_ENC_STAT
source · #[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 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_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<_NV_ENC_STAT> for _NV_ENC_STAT
impl PartialEq<_NV_ENC_STAT> for _NV_ENC_STAT
source§fn eq(&self, other: &_NV_ENC_STAT) -> bool
fn eq(&self, other: &_NV_ENC_STAT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_NV_ENC_STAT> for _NV_ENC_STAT
impl PartialOrd<_NV_ENC_STAT> for _NV_ENC_STAT
source§fn partial_cmp(&self, other: &_NV_ENC_STAT) -> Option<Ordering>
fn partial_cmp(&self, other: &_NV_ENC_STAT) -> 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_STAT
impl Eq for _NV_ENC_STAT
impl StructuralEq for _NV_ENC_STAT
impl StructuralPartialEq for _NV_ENC_STAT
Auto Trait Implementations§
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