#[repr(C)]
pub struct _CUVIDAV1PICPARAMS {
Show 64 fields pub width: c_uint, pub height: c_uint, pub frame_offset: c_uint, pub decodePicIdx: c_int, pub _bitfield_align_1: [u16; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 12]>, pub tile_widths: [c_ushort; 64], pub tile_heights: [c_ushort; 64], pub _bitfield_align_2: [u8; 0], pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1]>, pub cdef_y_strength: [c_uchar; 8], pub cdef_uv_strength: [c_uchar; 8], pub _bitfield_align_3: [u8; 0], pub _bitfield_3: __BindgenBitfieldUnit<[u8; 1]>, pub base_qindex: c_uchar, pub qp_y_dc_delta_q: c_char, pub qp_u_dc_delta_q: c_char, pub qp_v_dc_delta_q: c_char, pub qp_u_ac_delta_q: c_char, pub qp_v_ac_delta_q: c_char, pub qm_y: c_uchar, pub qm_u: c_uchar, pub qm_v: c_uchar, pub _bitfield_align_4: [u8; 0], pub _bitfield_4: __BindgenBitfieldUnit<[u8; 1]>, pub segmentation_feature_data: [[c_short; 8]; 8], pub segmentation_feature_mask: [c_uchar; 8], pub loop_filter_level: [c_uchar; 2], pub loop_filter_level_u: c_uchar, pub loop_filter_level_v: c_uchar, pub loop_filter_sharpness: c_uchar, pub loop_filter_ref_deltas: [c_char; 8], pub loop_filter_mode_deltas: [c_char; 2], pub _bitfield_align_5: [u8; 0], pub _bitfield_5: __BindgenBitfieldUnit<[u8; 1]>, pub lr_unit_size: [c_uchar; 3], pub lr_type: [c_uchar; 3], pub primary_ref_frame: c_uchar, pub ref_frame_map: [c_uchar; 8], pub _bitfield_align_6: [u8; 0], pub _bitfield_6: __BindgenBitfieldUnit<[u8; 1]>, pub reserved5_32bits: [c_uchar; 4], pub ref_frame: [_CUVIDAV1PICPARAMS__bindgen_ty_1; 7], pub global_motion: [_CUVIDAV1PICPARAMS__bindgen_ty_2; 7], pub _bitfield_align_7: [u8; 0], pub _bitfield_7: __BindgenBitfieldUnit<[u8; 2]>, pub num_y_points: c_uchar, pub scaling_points_y: [[c_uchar; 2]; 14], pub num_cb_points: c_uchar, pub scaling_points_cb: [[c_uchar; 2]; 10], pub num_cr_points: c_uchar, pub scaling_points_cr: [[c_uchar; 2]; 10], pub reserved7_8bits: c_uchar, pub random_seed: c_ushort, pub ar_coeffs_y: [c_short; 24], pub ar_coeffs_cb: [c_short; 25], pub ar_coeffs_cr: [c_short; 25], pub cb_mult: c_uchar, pub cb_luma_mult: c_uchar, pub cb_offset: c_short, pub cr_mult: c_uchar, pub cr_luma_mult: c_uchar, pub cr_offset: c_short, pub reserved: [c_int; 7],
}

Fields§

§width: c_uint§height: c_uint§frame_offset: c_uint§decodePicIdx: c_int§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 12]>§tile_widths: [c_ushort; 64]§tile_heights: [c_ushort; 64]§_bitfield_align_2: [u8; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 1]>§cdef_y_strength: [c_uchar; 8]§cdef_uv_strength: [c_uchar; 8]§_bitfield_align_3: [u8; 0]§_bitfield_3: __BindgenBitfieldUnit<[u8; 1]>§base_qindex: c_uchar§qp_y_dc_delta_q: c_char§qp_u_dc_delta_q: c_char§qp_v_dc_delta_q: c_char§qp_u_ac_delta_q: c_char§qp_v_ac_delta_q: c_char§qm_y: c_uchar§qm_u: c_uchar§qm_v: c_uchar§_bitfield_align_4: [u8; 0]§_bitfield_4: __BindgenBitfieldUnit<[u8; 1]>§segmentation_feature_data: [[c_short; 8]; 8]§segmentation_feature_mask: [c_uchar; 8]§loop_filter_level: [c_uchar; 2]§loop_filter_level_u: c_uchar§loop_filter_level_v: c_uchar§loop_filter_sharpness: c_uchar§loop_filter_ref_deltas: [c_char; 8]§loop_filter_mode_deltas: [c_char; 2]§_bitfield_align_5: [u8; 0]§_bitfield_5: __BindgenBitfieldUnit<[u8; 1]>§lr_unit_size: [c_uchar; 3]§lr_type: [c_uchar; 3]§primary_ref_frame: c_uchar§ref_frame_map: [c_uchar; 8]§_bitfield_align_6: [u8; 0]§_bitfield_6: __BindgenBitfieldUnit<[u8; 1]>§reserved5_32bits: [c_uchar; 4]§ref_frame: [_CUVIDAV1PICPARAMS__bindgen_ty_1; 7]§global_motion: [_CUVIDAV1PICPARAMS__bindgen_ty_2; 7]§_bitfield_align_7: [u8; 0]§_bitfield_7: __BindgenBitfieldUnit<[u8; 2]>§num_y_points: c_uchar§scaling_points_y: [[c_uchar; 2]; 14]§num_cb_points: c_uchar§scaling_points_cb: [[c_uchar; 2]; 10]§num_cr_points: c_uchar§scaling_points_cr: [[c_uchar; 2]; 10]§reserved7_8bits: c_uchar§random_seed: c_ushort§ar_coeffs_y: [c_short; 24]§ar_coeffs_cb: [c_short; 25]§ar_coeffs_cr: [c_short; 25]§cb_mult: c_uchar§cb_luma_mult: c_uchar§cb_offset: c_short§cr_mult: c_uchar§cr_luma_mult: c_uchar§cr_offset: c_short§reserved: [c_int; 7]

Implementations§

source§

impl _CUVIDAV1PICPARAMS

source

pub fn profile(&self) -> c_uint

source

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

source

pub fn use_128x128_superblock(&self) -> c_uint

source

pub fn set_use_128x128_superblock(&mut self, val: c_uint)

source

pub fn subsampling_x(&self) -> c_uint

source

pub fn set_subsampling_x(&mut self, val: c_uint)

source

pub fn subsampling_y(&self) -> c_uint

source

pub fn set_subsampling_y(&mut self, val: c_uint)

source

pub fn mono_chrome(&self) -> c_uint

source

pub fn set_mono_chrome(&mut self, val: c_uint)

source

pub fn bit_depth_minus8(&self) -> c_uint

source

pub fn set_bit_depth_minus8(&mut self, val: c_uint)

source

pub fn enable_filter_intra(&self) -> c_uint

source

pub fn set_enable_filter_intra(&mut self, val: c_uint)

source

pub fn enable_intra_edge_filter(&self) -> c_uint

source

pub fn set_enable_intra_edge_filter(&mut self, val: c_uint)

source

pub fn enable_interintra_compound(&self) -> c_uint

source

pub fn set_enable_interintra_compound(&mut self, val: c_uint)

source

pub fn enable_masked_compound(&self) -> c_uint

source

pub fn set_enable_masked_compound(&mut self, val: c_uint)

source

pub fn enable_dual_filter(&self) -> c_uint

source

pub fn set_enable_dual_filter(&mut self, val: c_uint)

source

pub fn enable_order_hint(&self) -> c_uint

source

pub fn set_enable_order_hint(&mut self, val: c_uint)

source

pub fn order_hint_bits_minus1(&self) -> c_uint

source

pub fn set_order_hint_bits_minus1(&mut self, val: c_uint)

source

pub fn enable_jnt_comp(&self) -> c_uint

source

pub fn set_enable_jnt_comp(&mut self, val: c_uint)

source

pub fn enable_superres(&self) -> c_uint

source

pub fn set_enable_superres(&mut self, val: c_uint)

source

pub fn enable_cdef(&self) -> c_uint

source

pub fn set_enable_cdef(&mut self, val: c_uint)

source

pub fn enable_restoration(&self) -> c_uint

source

pub fn set_enable_restoration(&mut self, val: c_uint)

source

pub fn enable_fgs(&self) -> c_uint

source

pub fn set_enable_fgs(&mut self, val: c_uint)

source

pub fn reserved0_7bits(&self) -> c_uint

source

pub fn set_reserved0_7bits(&mut self, val: c_uint)

source

pub fn frame_type(&self) -> c_uint

source

pub fn set_frame_type(&mut self, val: c_uint)

source

pub fn show_frame(&self) -> c_uint

source

pub fn set_show_frame(&mut self, val: c_uint)

source

pub fn disable_cdf_update(&self) -> c_uint

source

pub fn set_disable_cdf_update(&mut self, val: c_uint)

source

pub fn allow_screen_content_tools(&self) -> c_uint

source

pub fn set_allow_screen_content_tools(&mut self, val: c_uint)

source

pub fn force_integer_mv(&self) -> c_uint

source

pub fn set_force_integer_mv(&mut self, val: c_uint)

source

pub fn coded_denom(&self) -> c_uint

source

pub fn set_coded_denom(&mut self, val: c_uint)

source

pub fn allow_intrabc(&self) -> c_uint

source

pub fn set_allow_intrabc(&mut self, val: c_uint)

source

pub fn allow_high_precision_mv(&self) -> c_uint

source

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

source

pub fn interp_filter(&self) -> c_uint

source

pub fn set_interp_filter(&mut self, val: c_uint)

source

pub fn switchable_motion_mode(&self) -> c_uint

source

pub fn set_switchable_motion_mode(&mut self, val: c_uint)

source

pub fn use_ref_frame_mvs(&self) -> c_uint

source

pub fn set_use_ref_frame_mvs(&mut self, val: c_uint)

source

pub fn disable_frame_end_update_cdf(&self) -> c_uint

source

pub fn set_disable_frame_end_update_cdf(&mut self, val: c_uint)

source

pub fn delta_q_present(&self) -> c_uint

source

pub fn set_delta_q_present(&mut self, val: c_uint)

source

pub fn delta_q_res(&self) -> c_uint

source

pub fn set_delta_q_res(&mut self, val: c_uint)

source

pub fn using_qmatrix(&self) -> c_uint

source

pub fn set_using_qmatrix(&mut self, val: c_uint)

source

pub fn coded_lossless(&self) -> c_uint

source

pub fn set_coded_lossless(&mut self, val: c_uint)

source

pub fn use_superres(&self) -> c_uint

source

pub fn set_use_superres(&mut self, val: c_uint)

source

pub fn tx_mode(&self) -> c_uint

source

pub fn set_tx_mode(&mut self, val: c_uint)

source

pub fn reference_mode(&self) -> c_uint

source

pub fn set_reference_mode(&mut self, val: c_uint)

source

pub fn allow_warped_motion(&self) -> c_uint

source

pub fn set_allow_warped_motion(&mut self, val: c_uint)

source

pub fn reduced_tx_set(&self) -> c_uint

source

pub fn set_reduced_tx_set(&mut self, val: c_uint)

source

pub fn skip_mode(&self) -> c_uint

source

pub fn set_skip_mode(&mut self, val: c_uint)

source

pub fn reserved1_3bits(&self) -> c_uint

source

pub fn set_reserved1_3bits(&mut self, val: c_uint)

source

pub fn num_tile_cols(&self) -> c_uint

source

pub fn set_num_tile_cols(&mut self, val: c_uint)

source

pub fn num_tile_rows(&self) -> c_uint

source

pub fn set_num_tile_rows(&mut self, val: c_uint)

source

pub fn context_update_tile_id(&self) -> c_uint

source

pub fn set_context_update_tile_id(&mut self, val: c_uint)

source

pub fn new_bitfield_1( profile: c_uint, use_128x128_superblock: c_uint, subsampling_x: c_uint, subsampling_y: c_uint, mono_chrome: c_uint, bit_depth_minus8: c_uint, enable_filter_intra: c_uint, enable_intra_edge_filter: c_uint, enable_interintra_compound: c_uint, enable_masked_compound: c_uint, enable_dual_filter: c_uint, enable_order_hint: c_uint, order_hint_bits_minus1: c_uint, enable_jnt_comp: c_uint, enable_superres: c_uint, enable_cdef: c_uint, enable_restoration: c_uint, enable_fgs: c_uint, reserved0_7bits: c_uint, frame_type: c_uint, show_frame: c_uint, disable_cdf_update: c_uint, allow_screen_content_tools: c_uint, force_integer_mv: c_uint, coded_denom: c_uint, allow_intrabc: c_uint, allow_high_precision_mv: c_uint, interp_filter: c_uint, switchable_motion_mode: c_uint, use_ref_frame_mvs: c_uint, disable_frame_end_update_cdf: c_uint, delta_q_present: c_uint, delta_q_res: c_uint, using_qmatrix: c_uint, coded_lossless: c_uint, use_superres: c_uint, tx_mode: c_uint, reference_mode: c_uint, allow_warped_motion: c_uint, reduced_tx_set: c_uint, skip_mode: c_uint, reserved1_3bits: c_uint, num_tile_cols: c_uint, num_tile_rows: c_uint, context_update_tile_id: c_uint ) -> __BindgenBitfieldUnit<[u8; 12]>

source

pub fn cdef_damping_minus_3(&self) -> c_uchar

source

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

source

pub fn cdef_bits(&self) -> c_uchar

source

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

source

pub fn reserved2_4bits(&self) -> c_uchar

source

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

source

pub fn new_bitfield_2( cdef_damping_minus_3: c_uchar, cdef_bits: c_uchar, reserved2_4bits: c_uchar ) -> __BindgenBitfieldUnit<[u8; 1]>

source

pub fn SkipModeFrame0(&self) -> c_uchar

source

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

source

pub fn SkipModeFrame1(&self) -> c_uchar

source

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

source

pub fn new_bitfield_3( SkipModeFrame0: c_uchar, SkipModeFrame1: c_uchar ) -> __BindgenBitfieldUnit<[u8; 1]>

source

pub fn segmentation_enabled(&self) -> c_uchar

source

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

source

pub fn segmentation_update_map(&self) -> c_uchar

source

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

source

pub fn segmentation_update_data(&self) -> c_uchar

source

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

source

pub fn segmentation_temporal_update(&self) -> c_uchar

source

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

source

pub fn reserved3_4bits(&self) -> c_uchar

source

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

source

pub fn new_bitfield_4( segmentation_enabled: c_uchar, segmentation_update_map: c_uchar, segmentation_update_data: c_uchar, segmentation_temporal_update: c_uchar, reserved3_4bits: c_uchar ) -> __BindgenBitfieldUnit<[u8; 1]>

source

pub fn loop_filter_delta_enabled(&self) -> c_uchar

source

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

source

pub fn loop_filter_delta_update(&self) -> c_uchar

source

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

source

pub fn delta_lf_present(&self) -> c_uchar

source

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

source

pub fn delta_lf_res(&self) -> c_uchar

source

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

source

pub fn delta_lf_multi(&self) -> c_uchar

source

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

source

pub fn reserved4_2bits(&self) -> c_uchar

source

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

source

pub fn new_bitfield_5( loop_filter_delta_enabled: c_uchar, loop_filter_delta_update: c_uchar, delta_lf_present: c_uchar, delta_lf_res: c_uchar, delta_lf_multi: c_uchar, reserved4_2bits: c_uchar ) -> __BindgenBitfieldUnit<[u8; 1]>

source

pub fn temporal_layer_id(&self) -> c_uchar

source

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

source

pub fn spatial_layer_id(&self) -> c_uchar

source

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

source

pub fn new_bitfield_6( temporal_layer_id: c_uchar, spatial_layer_id: c_uchar ) -> __BindgenBitfieldUnit<[u8; 1]>

source

pub fn apply_grain(&self) -> c_ushort

source

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

source

pub fn overlap_flag(&self) -> c_ushort

source

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

source

pub fn scaling_shift_minus8(&self) -> c_ushort

source

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

source

pub fn chroma_scaling_from_luma(&self) -> c_ushort

source

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

source

pub fn ar_coeff_lag(&self) -> c_ushort

source

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

source

pub fn ar_coeff_shift_minus6(&self) -> c_ushort

source

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

source

pub fn grain_scale_shift(&self) -> c_ushort

source

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

source

pub fn clip_to_restricted_range(&self) -> c_ushort

source

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

source

pub fn reserved6_4bits(&self) -> c_ushort

source

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

source

pub fn new_bitfield_7( apply_grain: c_ushort, overlap_flag: c_ushort, scaling_shift_minus8: c_ushort, chroma_scaling_from_luma: c_ushort, ar_coeff_lag: c_ushort, ar_coeff_shift_minus6: c_ushort, grain_scale_shift: c_ushort, clip_to_restricted_range: c_ushort, reserved6_4bits: c_ushort ) -> __BindgenBitfieldUnit<[u8; 2]>

Trait Implementations§

source§

impl Clone for _CUVIDAV1PICPARAMS

source§

fn clone(&self) -> _CUVIDAV1PICPARAMS

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 _CUVIDAV1PICPARAMS

source§

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

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

impl Default for _CUVIDAV1PICPARAMS

source§

fn default() -> Self

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

impl Hash for _CUVIDAV1PICPARAMS

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 _CUVIDAV1PICPARAMS

source§

fn cmp(&self, other: &_CUVIDAV1PICPARAMS) -> 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<_CUVIDAV1PICPARAMS> for _CUVIDAV1PICPARAMS

source§

fn eq(&self, other: &_CUVIDAV1PICPARAMS) -> 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<_CUVIDAV1PICPARAMS> for _CUVIDAV1PICPARAMS

source§

fn partial_cmp(&self, other: &_CUVIDAV1PICPARAMS) -> 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 _CUVIDAV1PICPARAMS

source§

impl Eq for _CUVIDAV1PICPARAMS

source§

impl StructuralEq for _CUVIDAV1PICPARAMS

source§

impl StructuralPartialEq for _CUVIDAV1PICPARAMS

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.