#[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

source

pub fn profile(&self) -> c_ushort

source

pub fn set_profile(&mut self, val: c_ushort)

source

pub fn frameContextIdx(&self) -> c_ushort

source

pub fn set_frameContextIdx(&mut self, val: c_ushort)

source

pub fn frameType(&self) -> c_ushort

source

pub fn set_frameType(&mut self, val: c_ushort)

source

pub fn showFrame(&self) -> c_ushort

source

pub fn set_showFrame(&mut self, val: c_ushort)

source

pub fn errorResilient(&self) -> c_ushort

source

pub fn set_errorResilient(&mut self, val: c_ushort)

source

pub fn frameParallelDecoding(&self) -> c_ushort

source

pub fn set_frameParallelDecoding(&mut self, val: c_ushort)

source

pub fn subSamplingX(&self) -> c_ushort

source

pub fn set_subSamplingX(&mut self, val: c_ushort)

source

pub fn subSamplingY(&self) -> c_ushort

source

pub fn set_subSamplingY(&mut self, val: c_ushort)

source

pub fn intraOnly(&self) -> c_ushort

source

pub fn set_intraOnly(&mut self, val: c_ushort)

source

pub fn allow_high_precision_mv(&self) -> c_ushort

source

pub fn set_allow_high_precision_mv(&mut self, val: c_ushort)

source

pub fn refreshEntropyProbs(&self) -> c_ushort

source

pub fn set_refreshEntropyProbs(&mut self, val: c_ushort)

source

pub fn reserved2Bits(&self) -> c_ushort

source

pub fn set_reserved2Bits(&mut self, val: c_ushort)

source

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]>

source

pub fn segmentEnabled(&self) -> c_uchar

source

pub fn set_segmentEnabled(&mut self, val: c_uchar)

source

pub fn segmentMapUpdate(&self) -> c_uchar

source

pub fn set_segmentMapUpdate(&mut self, val: c_uchar)

source

pub fn segmentMapTemporalUpdate(&self) -> c_uchar

source

pub fn set_segmentMapTemporalUpdate(&mut self, val: c_uchar)

source

pub fn segmentFeatureMode(&self) -> c_uchar

source

pub fn set_segmentFeatureMode(&mut self, val: c_uchar)

source

pub fn reserved4Bits(&self) -> c_uchar

source

pub fn set_reserved4Bits(&mut self, val: c_uchar)

source

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

source§

fn clone(&self) -> _CUVIDVP9PICPARAMS

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for _CUVIDVP9PICPARAMS

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for _CUVIDVP9PICPARAMS

source§

fn default() -> _CUVIDVP9PICPARAMS

Returns the “default value” for a type. Read more
source§

impl Hash for _CUVIDVP9PICPARAMS

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for _CUVIDVP9PICPARAMS

source§

fn cmp(&self, other: &_CUVIDVP9PICPARAMS) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<_CUVIDVP9PICPARAMS> for _CUVIDVP9PICPARAMS

source§

fn eq(&self, other: &_CUVIDVP9PICPARAMS) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<_CUVIDVP9PICPARAMS> for _CUVIDVP9PICPARAMS

source§

fn partial_cmp(&self, other: &_CUVIDVP9PICPARAMS) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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 more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for _CUVIDVP9PICPARAMS

source§

impl Eq for _CUVIDVP9PICPARAMS

source§

impl StructuralEq for _CUVIDVP9PICPARAMS

source§

impl StructuralPartialEq for _CUVIDVP9PICPARAMS

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.