Struct nvidia_video_codec_sdk::sys::cuviddec::_CUVIDDECODECAPS
source · #[repr(C)]pub struct _CUVIDDECODECAPS {Show 16 fields
pub eCodecType: cudaVideoCodec,
pub eChromaFormat: cudaVideoChromaFormat,
pub nBitDepthMinus8: c_uint,
pub reserved1: [c_uint; 3],
pub bIsSupported: c_uchar,
pub nNumNVDECs: c_uchar,
pub nOutputFormatMask: c_ushort,
pub nMaxWidth: c_uint,
pub nMaxHeight: c_uint,
pub nMaxMBCount: c_uint,
pub nMinWidth: c_ushort,
pub nMinHeight: c_ushort,
pub bIsHistogramSupported: c_uchar,
pub nCounterBitDepth: c_uchar,
pub nMaxHistogramBins: c_ushort,
pub reserved3: [c_uint; 10],
}
Fields§
§eCodecType: cudaVideoCodec
§eChromaFormat: cudaVideoChromaFormat
§nBitDepthMinus8: c_uint
§reserved1: [c_uint; 3]
§bIsSupported: c_uchar
§nNumNVDECs: c_uchar
§nOutputFormatMask: c_ushort
§nMaxWidth: c_uint
§nMaxHeight: c_uint
§nMaxMBCount: c_uint
§nMinWidth: c_ushort
§nMinHeight: c_ushort
§bIsHistogramSupported: c_uchar
§nCounterBitDepth: c_uchar
§nMaxHistogramBins: c_ushort
§reserved3: [c_uint; 10]
Trait Implementations§
source§impl Clone for _CUVIDDECODECAPS
impl Clone for _CUVIDDECODECAPS
source§fn clone(&self) -> _CUVIDDECODECAPS
fn clone(&self) -> _CUVIDDECODECAPS
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 _CUVIDDECODECAPS
impl Debug for _CUVIDDECODECAPS
source§impl Default for _CUVIDDECODECAPS
impl Default for _CUVIDDECODECAPS
source§impl Hash for _CUVIDDECODECAPS
impl Hash for _CUVIDDECODECAPS
source§impl Ord for _CUVIDDECODECAPS
impl Ord for _CUVIDDECODECAPS
source§fn cmp(&self, other: &_CUVIDDECODECAPS) -> Ordering
fn cmp(&self, other: &_CUVIDDECODECAPS) -> 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<_CUVIDDECODECAPS> for _CUVIDDECODECAPS
impl PartialEq<_CUVIDDECODECAPS> for _CUVIDDECODECAPS
source§fn eq(&self, other: &_CUVIDDECODECAPS) -> bool
fn eq(&self, other: &_CUVIDDECODECAPS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_CUVIDDECODECAPS> for _CUVIDDECODECAPS
impl PartialOrd<_CUVIDDECODECAPS> for _CUVIDDECODECAPS
source§fn partial_cmp(&self, other: &_CUVIDDECODECAPS) -> Option<Ordering>
fn partial_cmp(&self, other: &_CUVIDDECODECAPS) -> 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 _CUVIDDECODECAPS
impl Eq for _CUVIDDECODECAPS
impl StructuralEq for _CUVIDDECODECAPS
impl StructuralPartialEq for _CUVIDDECODECAPS
Auto Trait Implementations§
impl RefUnwindSafe for _CUVIDDECODECAPS
impl Send for _CUVIDDECODECAPS
impl Sync for _CUVIDDECODECAPS
impl Unpin for _CUVIDDECODECAPS
impl UnwindSafe for _CUVIDDECODECAPS
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