Struct nvidia_video_codec_sdk::sys::cuviddec::_CUVIDVP9PICPARAMS
source · #[repr(C)]pub struct _CUVIDVP9PICPARAMS {Show 36 fields
pub width: c_uint,
pub height: c_uint,
pub LastRefIdx: c_uchar,
pub GoldenRefIdx: c_uchar,
pub AltRefIdx: c_uchar,
pub colorSpace: c_uchar,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub reserved16Bits: c_ushort,
pub refFrameSignBias: [c_uchar; 4],
pub bitDepthMinus8Luma: c_uchar,
pub bitDepthMinus8Chroma: c_uchar,
pub loopFilterLevel: c_uchar,
pub loopFilterSharpness: c_uchar,
pub modeRefLfEnabled: c_uchar,
pub log2_tile_columns: c_uchar,
pub log2_tile_rows: c_uchar,
pub _bitfield_align_2: [u8; 0],
pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1]>,
pub segmentFeatureEnable: [[c_uchar; 4]; 8],
pub segmentFeatureData: [[c_short; 4]; 8],
pub mb_segment_tree_probs: [c_uchar; 7],
pub segment_pred_probs: [c_uchar; 3],
pub reservedSegment16Bits: [c_uchar; 2],
pub qpYAc: c_int,
pub qpYDc: c_int,
pub qpChDc: c_int,
pub qpChAc: c_int,
pub activeRefIdx: [c_uint; 3],
pub resetFrameContext: c_uint,
pub mcomp_filter_type: c_uint,
pub mbRefLfDelta: [c_uint; 4],
pub mbModeLfDelta: [c_uint; 2],
pub frameTagSize: c_uint,
pub offsetToDctParts: c_uint,
pub reserved128Bits: [c_uint; 4],
}
Fields§
§width: c_uint
§height: c_uint
§LastRefIdx: c_uchar
§GoldenRefIdx: c_uchar
§AltRefIdx: c_uchar
§colorSpace: c_uchar
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
§reserved16Bits: c_ushort
§refFrameSignBias: [c_uchar; 4]
§bitDepthMinus8Luma: c_uchar
§bitDepthMinus8Chroma: c_uchar
§loopFilterLevel: c_uchar
§loopFilterSharpness: c_uchar
§modeRefLfEnabled: c_uchar
§log2_tile_columns: c_uchar
§log2_tile_rows: c_uchar
§_bitfield_align_2: [u8; 0]
§_bitfield_2: __BindgenBitfieldUnit<[u8; 1]>
§segmentFeatureEnable: [[c_uchar; 4]; 8]
§segmentFeatureData: [[c_short; 4]; 8]
§mb_segment_tree_probs: [c_uchar; 7]
§segment_pred_probs: [c_uchar; 3]
§reservedSegment16Bits: [c_uchar; 2]
§qpYAc: c_int
§qpYDc: c_int
§qpChDc: c_int
§qpChAc: c_int
§activeRefIdx: [c_uint; 3]
§resetFrameContext: c_uint
§mcomp_filter_type: c_uint
§mbRefLfDelta: [c_uint; 4]
§mbModeLfDelta: [c_uint; 2]
§frameTagSize: c_uint
§offsetToDctParts: c_uint
§reserved128Bits: [c_uint; 4]
Implementations§
source§impl _CUVIDVP9PICPARAMS
impl _CUVIDVP9PICPARAMS
pub fn profile(&self) -> c_ushort
pub fn set_profile(&mut self, val: c_ushort)
pub fn frameContextIdx(&self) -> c_ushort
pub fn set_frameContextIdx(&mut self, val: c_ushort)
pub fn frameType(&self) -> c_ushort
pub fn set_frameType(&mut self, val: c_ushort)
pub fn showFrame(&self) -> c_ushort
pub fn set_showFrame(&mut self, val: c_ushort)
pub fn errorResilient(&self) -> c_ushort
pub fn set_errorResilient(&mut self, val: c_ushort)
pub fn frameParallelDecoding(&self) -> c_ushort
pub fn set_frameParallelDecoding(&mut self, val: c_ushort)
pub fn subSamplingX(&self) -> c_ushort
pub fn set_subSamplingX(&mut self, val: c_ushort)
pub fn subSamplingY(&self) -> c_ushort
pub fn set_subSamplingY(&mut self, val: c_ushort)
pub fn intraOnly(&self) -> c_ushort
pub fn set_intraOnly(&mut self, val: c_ushort)
pub fn allow_high_precision_mv(&self) -> c_ushort
pub fn set_allow_high_precision_mv(&mut self, val: c_ushort)
pub fn refreshEntropyProbs(&self) -> c_ushort
pub fn set_refreshEntropyProbs(&mut self, val: c_ushort)
pub fn reserved2Bits(&self) -> c_ushort
pub fn set_reserved2Bits(&mut self, val: c_ushort)
pub fn new_bitfield_1( profile: c_ushort, frameContextIdx: c_ushort, frameType: c_ushort, showFrame: c_ushort, errorResilient: c_ushort, frameParallelDecoding: c_ushort, subSamplingX: c_ushort, subSamplingY: c_ushort, intraOnly: c_ushort, allow_high_precision_mv: c_ushort, refreshEntropyProbs: c_ushort, reserved2Bits: c_ushort ) -> __BindgenBitfieldUnit<[u8; 2]>
pub fn segmentEnabled(&self) -> c_uchar
pub fn set_segmentEnabled(&mut self, val: c_uchar)
pub fn segmentMapUpdate(&self) -> c_uchar
pub fn set_segmentMapUpdate(&mut self, val: c_uchar)
pub fn segmentMapTemporalUpdate(&self) -> c_uchar
pub fn set_segmentMapTemporalUpdate(&mut self, val: c_uchar)
pub fn segmentFeatureMode(&self) -> c_uchar
pub fn set_segmentFeatureMode(&mut self, val: c_uchar)
pub fn reserved4Bits(&self) -> c_uchar
pub fn set_reserved4Bits(&mut self, val: c_uchar)
pub fn new_bitfield_2( segmentEnabled: c_uchar, segmentMapUpdate: c_uchar, segmentMapTemporalUpdate: c_uchar, segmentFeatureMode: c_uchar, reserved4Bits: c_uchar ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for _CUVIDVP9PICPARAMS
impl Clone for _CUVIDVP9PICPARAMS
source§fn clone(&self) -> _CUVIDVP9PICPARAMS
fn clone(&self) -> _CUVIDVP9PICPARAMS
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 _CUVIDVP9PICPARAMS
impl Debug for _CUVIDVP9PICPARAMS
source§impl Default for _CUVIDVP9PICPARAMS
impl Default for _CUVIDVP9PICPARAMS
source§fn default() -> _CUVIDVP9PICPARAMS
fn default() -> _CUVIDVP9PICPARAMS
Returns the “default value” for a type. Read more
source§impl Hash for _CUVIDVP9PICPARAMS
impl Hash for _CUVIDVP9PICPARAMS
source§impl Ord for _CUVIDVP9PICPARAMS
impl Ord for _CUVIDVP9PICPARAMS
source§fn cmp(&self, other: &_CUVIDVP9PICPARAMS) -> Ordering
fn cmp(&self, other: &_CUVIDVP9PICPARAMS) -> 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<_CUVIDVP9PICPARAMS> for _CUVIDVP9PICPARAMS
impl PartialEq<_CUVIDVP9PICPARAMS> for _CUVIDVP9PICPARAMS
source§fn eq(&self, other: &_CUVIDVP9PICPARAMS) -> bool
fn eq(&self, other: &_CUVIDVP9PICPARAMS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_CUVIDVP9PICPARAMS> for _CUVIDVP9PICPARAMS
impl PartialOrd<_CUVIDVP9PICPARAMS> for _CUVIDVP9PICPARAMS
source§fn partial_cmp(&self, other: &_CUVIDVP9PICPARAMS) -> Option<Ordering>
fn partial_cmp(&self, other: &_CUVIDVP9PICPARAMS) -> 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 _CUVIDVP9PICPARAMS
impl Eq for _CUVIDVP9PICPARAMS
impl StructuralEq for _CUVIDVP9PICPARAMS
impl StructuralPartialEq for _CUVIDVP9PICPARAMS
Auto Trait Implementations§
impl RefUnwindSafe for _CUVIDVP9PICPARAMS
impl Send for _CUVIDVP9PICPARAMS
impl Sync for _CUVIDVP9PICPARAMS
impl Unpin for _CUVIDVP9PICPARAMS
impl UnwindSafe for _CUVIDVP9PICPARAMS
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