#[repr(C)]pub struct _NV_ENC_MEONLY_PARAMS {Show 13 fields
pub version: u32,
pub inputWidth: u32,
pub inputHeight: u32,
pub inputBuffer: NV_ENC_INPUT_PTR,
pub referenceFrame: NV_ENC_INPUT_PTR,
pub mvBuffer: NV_ENC_OUTPUT_PTR,
pub bufferFmt: NV_ENC_BUFFER_FORMAT,
pub completionEvent: *mut c_void,
pub viewID: u32,
pub meHintCountsPerBlock: [NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE; 2],
pub meExternalHints: *mut NVENC_EXTERNAL_ME_HINT,
pub reserved1: [u32; 243],
pub reserved2: [*mut c_void; 59],
}
Fields§
§version: u32
§inputWidth: u32
§inputHeight: u32
§inputBuffer: NV_ENC_INPUT_PTR
§referenceFrame: NV_ENC_INPUT_PTR
§mvBuffer: NV_ENC_OUTPUT_PTR
§bufferFmt: NV_ENC_BUFFER_FORMAT
§completionEvent: *mut c_void
§viewID: u32
§meHintCountsPerBlock: [NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE; 2]
§meExternalHints: *mut NVENC_EXTERNAL_ME_HINT
§reserved1: [u32; 243]
§reserved2: [*mut c_void; 59]
Trait Implementations§
source§impl Clone for _NV_ENC_MEONLY_PARAMS
impl Clone for _NV_ENC_MEONLY_PARAMS
source§fn clone(&self) -> _NV_ENC_MEONLY_PARAMS
fn clone(&self) -> _NV_ENC_MEONLY_PARAMS
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_MEONLY_PARAMS
impl Debug for _NV_ENC_MEONLY_PARAMS
source§impl Default for _NV_ENC_MEONLY_PARAMS
impl Default for _NV_ENC_MEONLY_PARAMS
source§impl Hash for _NV_ENC_MEONLY_PARAMS
impl Hash for _NV_ENC_MEONLY_PARAMS
source§impl Ord for _NV_ENC_MEONLY_PARAMS
impl Ord for _NV_ENC_MEONLY_PARAMS
source§fn cmp(&self, other: &_NV_ENC_MEONLY_PARAMS) -> Ordering
fn cmp(&self, other: &_NV_ENC_MEONLY_PARAMS) -> 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_MEONLY_PARAMS> for _NV_ENC_MEONLY_PARAMS
impl PartialEq<_NV_ENC_MEONLY_PARAMS> for _NV_ENC_MEONLY_PARAMS
source§fn eq(&self, other: &_NV_ENC_MEONLY_PARAMS) -> bool
fn eq(&self, other: &_NV_ENC_MEONLY_PARAMS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_NV_ENC_MEONLY_PARAMS> for _NV_ENC_MEONLY_PARAMS
impl PartialOrd<_NV_ENC_MEONLY_PARAMS> for _NV_ENC_MEONLY_PARAMS
source§fn partial_cmp(&self, other: &_NV_ENC_MEONLY_PARAMS) -> Option<Ordering>
fn partial_cmp(&self, other: &_NV_ENC_MEONLY_PARAMS) -> 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_MEONLY_PARAMS
impl Eq for _NV_ENC_MEONLY_PARAMS
impl StructuralEq for _NV_ENC_MEONLY_PARAMS
impl StructuralPartialEq for _NV_ENC_MEONLY_PARAMS
Auto Trait Implementations§
impl RefUnwindSafe for _NV_ENC_MEONLY_PARAMS
impl !Send for _NV_ENC_MEONLY_PARAMS
impl !Sync for _NV_ENC_MEONLY_PARAMS
impl Unpin for _NV_ENC_MEONLY_PARAMS
impl UnwindSafe for _NV_ENC_MEONLY_PARAMS
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