Realm

vk · Structs · S13

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::StdVideoH265PictureType

Contract

Open integer representation of StdVideoH265PictureType.

Khronos registry source: StdVideoH265PictureType

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> StdVideoH265PictureType
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH265PictureType
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH265PictureType) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH265PpsFlags

Contract

Native structure StdVideoH265PpsFlags.

Khronos registry source: StdVideoH265PpsFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

dependent_slice_segments_enabled_flag

Method
pub const fn dependent_slice_segments_enabled_flag(&self) -> u32

Read native bitfield dependent_slice_segments_enabled_flag.

set_dependent_slice_segments_enabled_flag

Method
pub fn set_dependent_slice_segments_enabled_flag(&mut self, value: u32)

Set native bitfield dependent_slice_segments_enabled_flag, retaining its low 1 bits.

output_flag_present_flag

Method
pub const fn output_flag_present_flag(&self) -> u32

Read native bitfield output_flag_present_flag.

set_output_flag_present_flag

Method
pub fn set_output_flag_present_flag(&mut self, value: u32)

Set native bitfield output_flag_present_flag, retaining its low 1 bits.

sign_data_hiding_enabled_flag

Method
pub const fn sign_data_hiding_enabled_flag(&self) -> u32

Read native bitfield sign_data_hiding_enabled_flag.

set_sign_data_hiding_enabled_flag

Method
pub fn set_sign_data_hiding_enabled_flag(&mut self, value: u32)

Set native bitfield sign_data_hiding_enabled_flag, retaining its low 1 bits.

cabac_init_present_flag

Method
pub const fn cabac_init_present_flag(&self) -> u32

Read native bitfield cabac_init_present_flag.

set_cabac_init_present_flag

Method
pub fn set_cabac_init_present_flag(&mut self, value: u32)

Set native bitfield cabac_init_present_flag, retaining its low 1 bits.

constrained_intra_pred_flag

Method
pub const fn constrained_intra_pred_flag(&self) -> u32

Read native bitfield constrained_intra_pred_flag.

set_constrained_intra_pred_flag

Method
pub fn set_constrained_intra_pred_flag(&mut self, value: u32)

Set native bitfield constrained_intra_pred_flag, retaining its low 1 bits.

transform_skip_enabled_flag

Method
pub const fn transform_skip_enabled_flag(&self) -> u32

Read native bitfield transform_skip_enabled_flag.

set_transform_skip_enabled_flag

Method
pub fn set_transform_skip_enabled_flag(&mut self, value: u32)

Set native bitfield transform_skip_enabled_flag, retaining its low 1 bits.

cu_qp_delta_enabled_flag

Method
pub const fn cu_qp_delta_enabled_flag(&self) -> u32

Read native bitfield cu_qp_delta_enabled_flag.

set_cu_qp_delta_enabled_flag

Method
pub fn set_cu_qp_delta_enabled_flag(&mut self, value: u32)

Set native bitfield cu_qp_delta_enabled_flag, retaining its low 1 bits.

pps_slice_chroma_qp_offsets_present_flag

Method
pub const fn pps_slice_chroma_qp_offsets_present_flag(&self) -> u32

Read native bitfield pps_slice_chroma_qp_offsets_present_flag.

set_pps_slice_chroma_qp_offsets_present_flag

Method
pub fn set_pps_slice_chroma_qp_offsets_present_flag(&mut self, value: u32)

Set native bitfield pps_slice_chroma_qp_offsets_present_flag, retaining its low 1 bits.

weighted_pred_flag

Method
pub const fn weighted_pred_flag(&self) -> u32

Read native bitfield weighted_pred_flag.

set_weighted_pred_flag

Method
pub fn set_weighted_pred_flag(&mut self, value: u32)

Set native bitfield weighted_pred_flag, retaining its low 1 bits.

weighted_bipred_flag

Method
pub const fn weighted_bipred_flag(&self) -> u32

Read native bitfield weighted_bipred_flag.

set_weighted_bipred_flag

Method
pub fn set_weighted_bipred_flag(&mut self, value: u32)

Set native bitfield weighted_bipred_flag, retaining its low 1 bits.

transquant_bypass_enabled_flag

Method
pub const fn transquant_bypass_enabled_flag(&self) -> u32

Read native bitfield transquant_bypass_enabled_flag.

set_transquant_bypass_enabled_flag

Method
pub fn set_transquant_bypass_enabled_flag(&mut self, value: u32)

Set native bitfield transquant_bypass_enabled_flag, retaining its low 1 bits.

tiles_enabled_flag

Method
pub const fn tiles_enabled_flag(&self) -> u32

Read native bitfield tiles_enabled_flag.

set_tiles_enabled_flag

Method
pub fn set_tiles_enabled_flag(&mut self, value: u32)

Set native bitfield tiles_enabled_flag, retaining its low 1 bits.

entropy_coding_sync_enabled_flag

Method
pub const fn entropy_coding_sync_enabled_flag(&self) -> u32

Read native bitfield entropy_coding_sync_enabled_flag.

set_entropy_coding_sync_enabled_flag

Method
pub fn set_entropy_coding_sync_enabled_flag(&mut self, value: u32)

Set native bitfield entropy_coding_sync_enabled_flag, retaining its low 1 bits.

uniform_spacing_flag

Method
pub const fn uniform_spacing_flag(&self) -> u32

Read native bitfield uniform_spacing_flag.

set_uniform_spacing_flag

Method
pub fn set_uniform_spacing_flag(&mut self, value: u32)

Set native bitfield uniform_spacing_flag, retaining its low 1 bits.

loop_filter_across_tiles_enabled_flag

Method
pub const fn loop_filter_across_tiles_enabled_flag(&self) -> u32

Read native bitfield loop_filter_across_tiles_enabled_flag.

set_loop_filter_across_tiles_enabled_flag

Method
pub fn set_loop_filter_across_tiles_enabled_flag(&mut self, value: u32)

Set native bitfield loop_filter_across_tiles_enabled_flag, retaining its low 1 bits.

pps_loop_filter_across_slices_enabled_flag

Method
pub const fn pps_loop_filter_across_slices_enabled_flag(&self) -> u32

Read native bitfield pps_loop_filter_across_slices_enabled_flag.

set_pps_loop_filter_across_slices_enabled_flag

Method
pub fn set_pps_loop_filter_across_slices_enabled_flag(&mut self, value: u32)

Set native bitfield pps_loop_filter_across_slices_enabled_flag, retaining its low 1 bits.

deblocking_filter_control_present_flag

Method
pub const fn deblocking_filter_control_present_flag(&self) -> u32

Read native bitfield deblocking_filter_control_present_flag.

set_deblocking_filter_control_present_flag

Method
pub fn set_deblocking_filter_control_present_flag(&mut self, value: u32)

Set native bitfield deblocking_filter_control_present_flag, retaining its low 1 bits.

deblocking_filter_override_enabled_flag

Method
pub const fn deblocking_filter_override_enabled_flag(&self) -> u32

Read native bitfield deblocking_filter_override_enabled_flag.

set_deblocking_filter_override_enabled_flag

Method
pub fn set_deblocking_filter_override_enabled_flag(&mut self, value: u32)

Set native bitfield deblocking_filter_override_enabled_flag, retaining its low 1 bits.

pps_deblocking_filter_disabled_flag

Method
pub const fn pps_deblocking_filter_disabled_flag(&self) -> u32

Read native bitfield pps_deblocking_filter_disabled_flag.

set_pps_deblocking_filter_disabled_flag

Method
pub fn set_pps_deblocking_filter_disabled_flag(&mut self, value: u32)

Set native bitfield pps_deblocking_filter_disabled_flag, retaining its low 1 bits.

pps_scaling_list_data_present_flag

Method
pub const fn pps_scaling_list_data_present_flag(&self) -> u32

Read native bitfield pps_scaling_list_data_present_flag.

set_pps_scaling_list_data_present_flag

Method
pub fn set_pps_scaling_list_data_present_flag(&mut self, value: u32)

Set native bitfield pps_scaling_list_data_present_flag, retaining its low 1 bits.

lists_modification_present_flag

Method
pub const fn lists_modification_present_flag(&self) -> u32

Read native bitfield lists_modification_present_flag.

set_lists_modification_present_flag

Method
pub fn set_lists_modification_present_flag(&mut self, value: u32)

Set native bitfield lists_modification_present_flag, retaining its low 1 bits.

slice_segment_header_extension_present_flag

Method
pub const fn slice_segment_header_extension_present_flag(&self) -> u32

Read native bitfield slice_segment_header_extension_present_flag.

set_slice_segment_header_extension_present_flag

Method
pub fn set_slice_segment_header_extension_present_flag(&mut self, value: u32)

Set native bitfield slice_segment_header_extension_present_flag, retaining its low 1 bits.

pps_extension_present_flag

Method
pub const fn pps_extension_present_flag(&self) -> u32

Read native bitfield pps_extension_present_flag.

set_pps_extension_present_flag

Method
pub fn set_pps_extension_present_flag(&mut self, value: u32)

Set native bitfield pps_extension_present_flag, retaining its low 1 bits.

cross_component_prediction_enabled_flag

Method
pub const fn cross_component_prediction_enabled_flag(&self) -> u32

Read native bitfield cross_component_prediction_enabled_flag.

set_cross_component_prediction_enabled_flag

Method
pub fn set_cross_component_prediction_enabled_flag(&mut self, value: u32)

Set native bitfield cross_component_prediction_enabled_flag, retaining its low 1 bits.

chroma_qp_offset_list_enabled_flag

Method
pub const fn chroma_qp_offset_list_enabled_flag(&self) -> u32

Read native bitfield chroma_qp_offset_list_enabled_flag.

set_chroma_qp_offset_list_enabled_flag

Method
pub fn set_chroma_qp_offset_list_enabled_flag(&mut self, value: u32)

Set native bitfield chroma_qp_offset_list_enabled_flag, retaining its low 1 bits.

pps_curr_pic_ref_enabled_flag

Method
pub const fn pps_curr_pic_ref_enabled_flag(&self) -> u32

Read native bitfield pps_curr_pic_ref_enabled_flag.

set_pps_curr_pic_ref_enabled_flag

Method
pub fn set_pps_curr_pic_ref_enabled_flag(&mut self, value: u32)

Set native bitfield pps_curr_pic_ref_enabled_flag, retaining its low 1 bits.

residual_adaptive_colour_transform_enabled_flag

Method
pub const fn residual_adaptive_colour_transform_enabled_flag(&self) -> u32

Read native bitfield residual_adaptive_colour_transform_enabled_flag.

set_residual_adaptive_colour_transform_enabled_flag

Method
pub fn set_residual_adaptive_colour_transform_enabled_flag( &mut self, value: u32, )

Set native bitfield residual_adaptive_colour_transform_enabled_flag, retaining its low 1 bits.

pps_slice_act_qp_offsets_present_flag

Method
pub const fn pps_slice_act_qp_offsets_present_flag(&self) -> u32

Read native bitfield pps_slice_act_qp_offsets_present_flag.

set_pps_slice_act_qp_offsets_present_flag

Method
pub fn set_pps_slice_act_qp_offsets_present_flag(&mut self, value: u32)

Set native bitfield pps_slice_act_qp_offsets_present_flag, retaining its low 1 bits.

pps_palette_predictor_initializers_present_flag

Method
pub const fn pps_palette_predictor_initializers_present_flag(&self) -> u32

Read native bitfield pps_palette_predictor_initializers_present_flag.

set_pps_palette_predictor_initializers_present_flag

Method
pub fn set_pps_palette_predictor_initializers_present_flag( &mut self, value: u32, )

Set native bitfield pps_palette_predictor_initializers_present_flag, retaining its low 1 bits.

monochrome_palette_flag

Method
pub const fn monochrome_palette_flag(&self) -> u32

Read native bitfield monochrome_palette_flag.

set_monochrome_palette_flag

Method
pub fn set_monochrome_palette_flag(&mut self, value: u32)

Set native bitfield monochrome_palette_flag, retaining its low 1 bits.

pps_range_extension_flag

Method
pub const fn pps_range_extension_flag(&self) -> u32

Read native bitfield pps_range_extension_flag.

set_pps_range_extension_flag

Method
pub fn set_pps_range_extension_flag(&mut self, value: u32)

Set native bitfield pps_range_extension_flag, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoH265PpsFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoH265PredictorPaletteEntries

Contract

Native structure StdVideoH265PredictorPaletteEntries.

Khronos registry source: StdVideoH265PredictorPaletteEntries

Fields

predictor_palette_entries

Field
predictor_palette_entries: [[u16; 128]; 3]

Native field PredictorPaletteEntries.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_predictor_palette_entries

Method
pub fn set_predictor_palette_entries(self, value: [[u16; 128]; 3]) -> Self

Set native field PredictorPaletteEntries without native effects.

clone

Method
fn clone(&self) -> StdVideoH265PredictorPaletteEntries
Returns a duplicate of the value. Read more

Stvk::StdVideoH265ProfileIdc

Contract

Open integer representation of StdVideoH265ProfileIdc.

Khronos registry source: StdVideoH265ProfileIdc

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> StdVideoH265ProfileIdc
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH265ProfileIdc
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH265ProfileIdc) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH265ProfileTierLevel

#[repr(C)]pub struct StdVideoH265ProfileTierLevel { pub flags: StdVideoH265ProfileTierLevelFlags, pub general_profile_idc: StdVideoH265ProfileIdc, pub general_level_idc: StdVideoH265LevelIdc, }
Native structure StdVideoH265ProfileTierLevel.

Contract

Native structure StdVideoH265ProfileTierLevel.

Khronos registry source: StdVideoH265ProfileTierLevel

Fields

flags

Field
flags: StdVideoH265ProfileTierLevelFlags

Native field flags.

general_profile_idc

Field
general_profile_idc: StdVideoH265ProfileIdc

Native field general_profile_idc.

general_level_idc

Field
general_level_idc: StdVideoH265LevelIdc

Native field general_level_idc.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoH265ProfileTierLevelFlags) -> Self

Set native field flags without native effects.

set_general_profile_idc

Method
pub fn set_general_profile_idc(self, value: StdVideoH265ProfileIdc) -> Self

Set native field general_profile_idc without native effects.

set_general_level_idc

Method
pub fn set_general_level_idc(self, value: StdVideoH265LevelIdc) -> Self

Set native field general_level_idc without native effects.

clone

Method
fn clone(&self) -> StdVideoH265ProfileTierLevel
Returns a duplicate of the value. Read more

Stvk::StdVideoH265ProfileTierLevelFlags

Contract

Native structure StdVideoH265ProfileTierLevelFlags.

Khronos registry source: StdVideoH265ProfileTierLevelFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

general_tier_flag

Method
pub const fn general_tier_flag(&self) -> u32

Read native bitfield general_tier_flag.

set_general_tier_flag

Method
pub fn set_general_tier_flag(&mut self, value: u32)

Set native bitfield general_tier_flag, retaining its low 1 bits.

general_progressive_source_flag

Method
pub const fn general_progressive_source_flag(&self) -> u32

Read native bitfield general_progressive_source_flag.

set_general_progressive_source_flag

Method
pub fn set_general_progressive_source_flag(&mut self, value: u32)

Set native bitfield general_progressive_source_flag, retaining its low 1 bits.

general_interlaced_source_flag

Method
pub const fn general_interlaced_source_flag(&self) -> u32

Read native bitfield general_interlaced_source_flag.

set_general_interlaced_source_flag

Method
pub fn set_general_interlaced_source_flag(&mut self, value: u32)

Set native bitfield general_interlaced_source_flag, retaining its low 1 bits.

general_non_packed_constraint_flag

Method
pub const fn general_non_packed_constraint_flag(&self) -> u32

Read native bitfield general_non_packed_constraint_flag.

set_general_non_packed_constraint_flag

Method
pub fn set_general_non_packed_constraint_flag(&mut self, value: u32)

Set native bitfield general_non_packed_constraint_flag, retaining its low 1 bits.

general_frame_only_constraint_flag

Method
pub const fn general_frame_only_constraint_flag(&self) -> u32

Read native bitfield general_frame_only_constraint_flag.

set_general_frame_only_constraint_flag

Method
pub fn set_general_frame_only_constraint_flag(&mut self, value: u32)

Set native bitfield general_frame_only_constraint_flag, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoH265ProfileTierLevelFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoH265ScalingLists

#[repr(C)]pub struct StdVideoH265ScalingLists { pub scaling_list4x4: [[u8; 16]; 6], pub scaling_list8x8: [[u8; 64]; 6], pub scaling_list16x16: [[u8; 64]; 6], pub scaling_list32x32: [[u8; 64]; 2], pub scaling_list_dc_coef16x16: [u8; 6], pub scaling_list_dc_coef32x32: [u8; 2], }
Native structure StdVideoH265ScalingLists.

Contract

Native structure StdVideoH265ScalingLists.

Khronos registry source: StdVideoH265ScalingLists

Fields

scaling_list4x4

Field
scaling_list4x4: [[u8; 16]; 6]

Native field ScalingList4x4.

scaling_list8x8

Field
scaling_list8x8: [[u8; 64]; 6]

Native field ScalingList8x8.

scaling_list16x16

Field
scaling_list16x16: [[u8; 64]; 6]

Native field ScalingList16x16.

scaling_list32x32

Field
scaling_list32x32: [[u8; 64]; 2]

Native field ScalingList32x32.

scaling_list_dc_coef16x16

Field
scaling_list_dc_coef16x16: [u8; 6]

Native field ScalingListDCCoef16x16.

scaling_list_dc_coef32x32

Field
scaling_list_dc_coef32x32: [u8; 2]

Native field ScalingListDCCoef32x32.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_scaling_list4x4

Method
pub fn set_scaling_list4x4(self, value: [[u8; 16]; 6]) -> Self

Set native field ScalingList4x4 without native effects.

set_scaling_list8x8

Method
pub fn set_scaling_list8x8(self, value: [[u8; 64]; 6]) -> Self

Set native field ScalingList8x8 without native effects.

set_scaling_list16x16

Method
pub fn set_scaling_list16x16(self, value: [[u8; 64]; 6]) -> Self

Set native field ScalingList16x16 without native effects.

set_scaling_list32x32

Method
pub fn set_scaling_list32x32(self, value: [[u8; 64]; 2]) -> Self

Set native field ScalingList32x32 without native effects.

set_scaling_list_dc_coef16x16

Method
pub fn set_scaling_list_dc_coef16x16(self, value: [u8; 6]) -> Self

Set native field ScalingListDCCoef16x16 without native effects.

set_scaling_list_dc_coef32x32

Method
pub fn set_scaling_list_dc_coef32x32(self, value: [u8; 2]) -> Self

Set native field ScalingListDCCoef32x32 without native effects.

clone

Method
fn clone(&self) -> StdVideoH265ScalingLists
Returns a duplicate of the value. Read more

Stvk::StdVideoH265SequenceParameterSetVui

pub struct StdVideoH265SequenceParameterSetVui<'a> { pub flags: StdVideoH265SpsVuiFlags, pub aspect_ratio_idc: StdVideoH265AspectRatioIdc, pub sar_width: u16, pub sar_height: u16, pub video_format: u8, pub colour_primaries: u8, pub transfer_characteristics: u8, pub matrix_coeffs: u8, pub chroma_sample_loc_type_top_field: u8, pub chroma_sample_loc_type_bottom_field: u8, pub reserved1: u8, pub reserved2: u8, pub def_disp_win_left_offset: u16, pub def_disp_win_right_offset: u16, pub def_disp_win_top_offset: u16, pub def_disp_win_bottom_offset: u16, pub vui_num_units_in_tick: u32, pub vui_time_scale: u32, pub vui_num_ticks_poc_diff_one_minus1: u32, pub min_spatial_segmentation_idc: u16, pub reserved3: u16, pub max_bytes_per_pic_denom: u8, pub max_bits_per_min_cu_denom: u8, pub log2_max_mv_length_horizontal: u8, pub log2_max_mv_length_vertical: u8, pub p_hrd_parameters: *const StdVideoH265HrdParameters<'a>, /* private fields */ }
Native structure StdVideoH265SequenceParameterSetVui.

Contract

Native structure StdVideoH265SequenceParameterSetVui.

Khronos registry source: StdVideoH265SequenceParameterSetVui

Fields

flags

Field
flags: StdVideoH265SpsVuiFlags

Native field flags.

aspect_ratio_idc

Field
aspect_ratio_idc: StdVideoH265AspectRatioIdc

Native field aspect_ratio_idc.

sar_width

Field
sar_width: u16

Native field sar_width.

sar_height

Field
sar_height: u16

Native field sar_height.

video_format

Field
video_format: u8

Native field video_format.

colour_primaries

Field
colour_primaries: u8

Native field colour_primaries.

transfer_characteristics

Field
transfer_characteristics: u8

Native field transfer_characteristics.

matrix_coeffs

Field
matrix_coeffs: u8

Native field matrix_coeffs.

chroma_sample_loc_type_top_field

Field
chroma_sample_loc_type_top_field: u8

Native field chroma_sample_loc_type_top_field.

chroma_sample_loc_type_bottom_field

Field
chroma_sample_loc_type_bottom_field: u8

Native field chroma_sample_loc_type_bottom_field.

reserved1

Field
reserved1: u8

Native field reserved1.

reserved2

Field
reserved2: u8

Native field reserved2.

def_disp_win_left_offset

Field
def_disp_win_left_offset: u16

Native field def_disp_win_left_offset.

def_disp_win_right_offset

Field
def_disp_win_right_offset: u16

Native field def_disp_win_right_offset.

def_disp_win_top_offset

Field
def_disp_win_top_offset: u16

Native field def_disp_win_top_offset.

def_disp_win_bottom_offset

Field
def_disp_win_bottom_offset: u16

Native field def_disp_win_bottom_offset.

vui_num_units_in_tick

Field
vui_num_units_in_tick: u32

Native field vui_num_units_in_tick.

vui_time_scale

Field
vui_time_scale: u32

Native field vui_time_scale.

vui_num_ticks_poc_diff_one_minus1

Field
vui_num_ticks_poc_diff_one_minus1: u32

Native field vui_num_ticks_poc_diff_one_minus1.

min_spatial_segmentation_idc

Field
min_spatial_segmentation_idc: u16

Native field min_spatial_segmentation_idc.

reserved3

Field
reserved3: u16

Native field reserved3.

max_bytes_per_pic_denom

Field
max_bytes_per_pic_denom: u8

Native field max_bytes_per_pic_denom.

max_bits_per_min_cu_denom

Field
max_bits_per_min_cu_denom: u8

Native field max_bits_per_min_cu_denom.

log2_max_mv_length_horizontal

Field
log2_max_mv_length_horizontal: u8

Native field log2_max_mv_length_horizontal.

log2_max_mv_length_vertical

Field
log2_max_mv_length_vertical: u8

Native field log2_max_mv_length_vertical.

p_hrd_parameters

Field
p_hrd_parameters: *const StdVideoH265HrdParameters<'a>

Native field pHrdParameters.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoH265SpsVuiFlags) -> Self

Set native field flags without native effects.

set_aspect_ratio_idc

Method
pub fn set_aspect_ratio_idc(self, value: StdVideoH265AspectRatioIdc) -> Self

Set native field aspect_ratio_idc without native effects.

set_sar_width

Method
pub fn set_sar_width(self, value: u16) -> Self

Set native field sar_width without native effects.

set_sar_height

Method
pub fn set_sar_height(self, value: u16) -> Self

Set native field sar_height without native effects.

set_video_format

Method
pub fn set_video_format(self, value: u8) -> Self

Set native field video_format without native effects.

set_colour_primaries

Method
pub fn set_colour_primaries(self, value: u8) -> Self

Set native field colour_primaries without native effects.

set_transfer_characteristics

Method
pub fn set_transfer_characteristics(self, value: u8) -> Self

Set native field transfer_characteristics without native effects.

set_matrix_coeffs

Method
pub fn set_matrix_coeffs(self, value: u8) -> Self

Set native field matrix_coeffs without native effects.

set_chroma_sample_loc_type_top_field

Method
pub fn set_chroma_sample_loc_type_top_field(self, value: u8) -> Self

Set native field chroma_sample_loc_type_top_field without native effects.

set_chroma_sample_loc_type_bottom_field

Method
pub fn set_chroma_sample_loc_type_bottom_field(self, value: u8) -> Self

Set native field chroma_sample_loc_type_bottom_field without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: u8) -> Self

Set native field reserved1 without native effects.

set_reserved2

Method
pub fn set_reserved2(self, value: u8) -> Self

Set native field reserved2 without native effects.

set_def_disp_win_left_offset

Method
pub fn set_def_disp_win_left_offset(self, value: u16) -> Self

Set native field def_disp_win_left_offset without native effects.

set_def_disp_win_right_offset

Method
pub fn set_def_disp_win_right_offset(self, value: u16) -> Self

Set native field def_disp_win_right_offset without native effects.

set_def_disp_win_top_offset

Method
pub fn set_def_disp_win_top_offset(self, value: u16) -> Self

Set native field def_disp_win_top_offset without native effects.

set_def_disp_win_bottom_offset

Method
pub fn set_def_disp_win_bottom_offset(self, value: u16) -> Self

Set native field def_disp_win_bottom_offset without native effects.

set_vui_num_units_in_tick

Method
pub fn set_vui_num_units_in_tick(self, value: u32) -> Self

Set native field vui_num_units_in_tick without native effects.

set_vui_time_scale

Method
pub fn set_vui_time_scale(self, value: u32) -> Self

Set native field vui_time_scale without native effects.

set_vui_num_ticks_poc_diff_one_minus1

Method
pub fn set_vui_num_ticks_poc_diff_one_minus1(self, value: u32) -> Self

Set native field vui_num_ticks_poc_diff_one_minus1 without native effects.

set_min_spatial_segmentation_idc

Method
pub fn set_min_spatial_segmentation_idc(self, value: u16) -> Self

Set native field min_spatial_segmentation_idc without native effects.

set_reserved3

Method
pub fn set_reserved3(self, value: u16) -> Self

Set native field reserved3 without native effects.

set_max_bytes_per_pic_denom

Method
pub fn set_max_bytes_per_pic_denom(self, value: u8) -> Self

Set native field max_bytes_per_pic_denom without native effects.

set_max_bits_per_min_cu_denom

Method
pub fn set_max_bits_per_min_cu_denom(self, value: u8) -> Self

Set native field max_bits_per_min_cu_denom without native effects.

set_log2_max_mv_length_horizontal

Method
pub fn set_log2_max_mv_length_horizontal(self, value: u8) -> Self

Set native field log2_max_mv_length_horizontal without native effects.

set_log2_max_mv_length_vertical

Method
pub fn set_log2_max_mv_length_vertical(self, value: u8) -> Self

Set native field log2_max_mv_length_vertical without native effects.

set_hrd_parameters

Method
pub fn set_hrd_parameters( self, value: &'a StdVideoH265HrdParameters<'a>, ) -> Self

Set native field pHrdParameters without native effects.

clone

Method
fn clone(&self) -> StdVideoH265SequenceParameterSetVui<'a>
Returns a duplicate of the value. Read more

Stvk::StdVideoH265ShortTermRefPicSet

#[repr(C)]pub struct StdVideoH265ShortTermRefPicSet { pub flags: StdVideoH265ShortTermRefPicSetFlags, pub delta_idx_minus1: u32, pub use_delta_flag: u16, pub abs_delta_rps_minus1: u16, pub used_by_curr_pic_flag: u16, pub used_by_curr_pic_s0_flag: u16, pub used_by_curr_pic_s1_flag: u16, pub reserved1: u16, pub reserved2: u8, pub reserved3: u8, pub num_negative_pics: u8, pub num_positive_pics: u8, pub delta_poc_s0_minus1: [u16; 16], pub delta_poc_s1_minus1: [u16; 16], }
Native structure StdVideoH265ShortTermRefPicSet.

Contract

Native structure StdVideoH265ShortTermRefPicSet.

Khronos registry source: StdVideoH265ShortTermRefPicSet

Fields

flags

Field
flags: StdVideoH265ShortTermRefPicSetFlags

Native field flags.

delta_idx_minus1

Field
delta_idx_minus1: u32

Native field delta_idx_minus1.

use_delta_flag

Field
use_delta_flag: u16

Native field use_delta_flag.

abs_delta_rps_minus1

Field
abs_delta_rps_minus1: u16

Native field abs_delta_rps_minus1.

used_by_curr_pic_flag

Field
used_by_curr_pic_flag: u16

Native field used_by_curr_pic_flag.

used_by_curr_pic_s0_flag

Field
used_by_curr_pic_s0_flag: u16

Native field used_by_curr_pic_s0_flag.

used_by_curr_pic_s1_flag

Field
used_by_curr_pic_s1_flag: u16

Native field used_by_curr_pic_s1_flag.

reserved1

Field
reserved1: u16

Native field reserved1.

reserved2

Field
reserved2: u8

Native field reserved2.

reserved3

Field
reserved3: u8

Native field reserved3.

num_negative_pics

Field
num_negative_pics: u8

Native field num_negative_pics.

num_positive_pics

Field
num_positive_pics: u8

Native field num_positive_pics.

delta_poc_s0_minus1

Field
delta_poc_s0_minus1: [u16; 16]

Native field delta_poc_s0_minus1.

delta_poc_s1_minus1

Field
delta_poc_s1_minus1: [u16; 16]

Native field delta_poc_s1_minus1.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoH265ShortTermRefPicSetFlags) -> Self

Set native field flags without native effects.

set_delta_idx_minus1

Method
pub fn set_delta_idx_minus1(self, value: u32) -> Self

Set native field delta_idx_minus1 without native effects.

set_use_delta_flag

Method
pub fn set_use_delta_flag(self, value: u16) -> Self

Set native field use_delta_flag without native effects.

set_abs_delta_rps_minus1

Method
pub fn set_abs_delta_rps_minus1(self, value: u16) -> Self

Set native field abs_delta_rps_minus1 without native effects.

set_used_by_curr_pic_flag

Method
pub fn set_used_by_curr_pic_flag(self, value: u16) -> Self

Set native field used_by_curr_pic_flag without native effects.

set_used_by_curr_pic_s0_flag

Method
pub fn set_used_by_curr_pic_s0_flag(self, value: u16) -> Self

Set native field used_by_curr_pic_s0_flag without native effects.

set_used_by_curr_pic_s1_flag

Method
pub fn set_used_by_curr_pic_s1_flag(self, value: u16) -> Self

Set native field used_by_curr_pic_s1_flag without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: u16) -> Self

Set native field reserved1 without native effects.

set_reserved2

Method
pub fn set_reserved2(self, value: u8) -> Self

Set native field reserved2 without native effects.

set_reserved3

Method
pub fn set_reserved3(self, value: u8) -> Self

Set native field reserved3 without native effects.

set_num_negative_pics

Method
pub fn set_num_negative_pics(self, value: u8) -> Self

Set native field num_negative_pics without native effects.

set_num_positive_pics

Method
pub fn set_num_positive_pics(self, value: u8) -> Self

Set native field num_positive_pics without native effects.

set_delta_poc_s0_minus1

Method
pub fn set_delta_poc_s0_minus1(self, value: [u16; 16]) -> Self

Set native field delta_poc_s0_minus1 without native effects.

set_delta_poc_s1_minus1

Method
pub fn set_delta_poc_s1_minus1(self, value: [u16; 16]) -> Self

Set native field delta_poc_s1_minus1 without native effects.

clone

Method
fn clone(&self) -> StdVideoH265ShortTermRefPicSet
Returns a duplicate of the value. Read more

Stvk::StdVideoH265ShortTermRefPicSetFlags

Contract

Native structure StdVideoH265ShortTermRefPicSetFlags.

Khronos registry source: StdVideoH265ShortTermRefPicSetFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

inter_ref_pic_set_prediction_flag

Method
pub const fn inter_ref_pic_set_prediction_flag(&self) -> u32

Read native bitfield inter_ref_pic_set_prediction_flag.

set_inter_ref_pic_set_prediction_flag

Method
pub fn set_inter_ref_pic_set_prediction_flag(&mut self, value: u32)

Set native bitfield inter_ref_pic_set_prediction_flag, retaining its low 1 bits.

delta_rps_sign

Method
pub const fn delta_rps_sign(&self) -> u32

Read native bitfield delta_rps_sign.

set_delta_rps_sign

Method
pub fn set_delta_rps_sign(&mut self, value: u32)

Set native bitfield delta_rps_sign, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoH265ShortTermRefPicSetFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoH265SliceType

Contract

Open integer representation of StdVideoH265SliceType.

Khronos registry source: StdVideoH265SliceType

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> StdVideoH265SliceType
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> StdVideoH265SliceType
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &StdVideoH265SliceType) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::StdVideoH265SpsFlags

Contract

Native structure StdVideoH265SpsFlags.

Khronos registry source: StdVideoH265SpsFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

sps_temporal_id_nesting_flag

Method
pub const fn sps_temporal_id_nesting_flag(&self) -> u32

Read native bitfield sps_temporal_id_nesting_flag.

set_sps_temporal_id_nesting_flag

Method
pub fn set_sps_temporal_id_nesting_flag(&mut self, value: u32)

Set native bitfield sps_temporal_id_nesting_flag, retaining its low 1 bits.

separate_colour_plane_flag

Method
pub const fn separate_colour_plane_flag(&self) -> u32

Read native bitfield separate_colour_plane_flag.

set_separate_colour_plane_flag

Method
pub fn set_separate_colour_plane_flag(&mut self, value: u32)

Set native bitfield separate_colour_plane_flag, retaining its low 1 bits.

conformance_window_flag

Method
pub const fn conformance_window_flag(&self) -> u32

Read native bitfield conformance_window_flag.

set_conformance_window_flag

Method
pub fn set_conformance_window_flag(&mut self, value: u32)

Set native bitfield conformance_window_flag, retaining its low 1 bits.

sps_sub_layer_ordering_info_present_flag

Method
pub const fn sps_sub_layer_ordering_info_present_flag(&self) -> u32

Read native bitfield sps_sub_layer_ordering_info_present_flag.

set_sps_sub_layer_ordering_info_present_flag

Method
pub fn set_sps_sub_layer_ordering_info_present_flag(&mut self, value: u32)

Set native bitfield sps_sub_layer_ordering_info_present_flag, retaining its low 1 bits.

scaling_list_enabled_flag

Method
pub const fn scaling_list_enabled_flag(&self) -> u32

Read native bitfield scaling_list_enabled_flag.

set_scaling_list_enabled_flag

Method
pub fn set_scaling_list_enabled_flag(&mut self, value: u32)

Set native bitfield scaling_list_enabled_flag, retaining its low 1 bits.

sps_scaling_list_data_present_flag

Method
pub const fn sps_scaling_list_data_present_flag(&self) -> u32

Read native bitfield sps_scaling_list_data_present_flag.

set_sps_scaling_list_data_present_flag

Method
pub fn set_sps_scaling_list_data_present_flag(&mut self, value: u32)

Set native bitfield sps_scaling_list_data_present_flag, retaining its low 1 bits.

amp_enabled_flag

Method
pub const fn amp_enabled_flag(&self) -> u32

Read native bitfield amp_enabled_flag.

set_amp_enabled_flag

Method
pub fn set_amp_enabled_flag(&mut self, value: u32)

Set native bitfield amp_enabled_flag, retaining its low 1 bits.

sample_adaptive_offset_enabled_flag

Method
pub const fn sample_adaptive_offset_enabled_flag(&self) -> u32

Read native bitfield sample_adaptive_offset_enabled_flag.

set_sample_adaptive_offset_enabled_flag

Method
pub fn set_sample_adaptive_offset_enabled_flag(&mut self, value: u32)

Set native bitfield sample_adaptive_offset_enabled_flag, retaining its low 1 bits.

pcm_enabled_flag

Method
pub const fn pcm_enabled_flag(&self) -> u32

Read native bitfield pcm_enabled_flag.

set_pcm_enabled_flag

Method
pub fn set_pcm_enabled_flag(&mut self, value: u32)

Set native bitfield pcm_enabled_flag, retaining its low 1 bits.

pcm_loop_filter_disabled_flag

Method
pub const fn pcm_loop_filter_disabled_flag(&self) -> u32

Read native bitfield pcm_loop_filter_disabled_flag.

set_pcm_loop_filter_disabled_flag

Method
pub fn set_pcm_loop_filter_disabled_flag(&mut self, value: u32)

Set native bitfield pcm_loop_filter_disabled_flag, retaining its low 1 bits.

long_term_ref_pics_present_flag

Method
pub const fn long_term_ref_pics_present_flag(&self) -> u32

Read native bitfield long_term_ref_pics_present_flag.

set_long_term_ref_pics_present_flag

Method
pub fn set_long_term_ref_pics_present_flag(&mut self, value: u32)

Set native bitfield long_term_ref_pics_present_flag, retaining its low 1 bits.

sps_temporal_mvp_enabled_flag

Method
pub const fn sps_temporal_mvp_enabled_flag(&self) -> u32

Read native bitfield sps_temporal_mvp_enabled_flag.

set_sps_temporal_mvp_enabled_flag

Method
pub fn set_sps_temporal_mvp_enabled_flag(&mut self, value: u32)

Set native bitfield sps_temporal_mvp_enabled_flag, retaining its low 1 bits.

strong_intra_smoothing_enabled_flag

Method
pub const fn strong_intra_smoothing_enabled_flag(&self) -> u32

Read native bitfield strong_intra_smoothing_enabled_flag.

set_strong_intra_smoothing_enabled_flag

Method
pub fn set_strong_intra_smoothing_enabled_flag(&mut self, value: u32)

Set native bitfield strong_intra_smoothing_enabled_flag, retaining its low 1 bits.

vui_parameters_present_flag

Method
pub const fn vui_parameters_present_flag(&self) -> u32

Read native bitfield vui_parameters_present_flag.

set_vui_parameters_present_flag

Method
pub fn set_vui_parameters_present_flag(&mut self, value: u32)

Set native bitfield vui_parameters_present_flag, retaining its low 1 bits.

sps_extension_present_flag

Method
pub const fn sps_extension_present_flag(&self) -> u32

Read native bitfield sps_extension_present_flag.

set_sps_extension_present_flag

Method
pub fn set_sps_extension_present_flag(&mut self, value: u32)

Set native bitfield sps_extension_present_flag, retaining its low 1 bits.

sps_range_extension_flag

Method
pub const fn sps_range_extension_flag(&self) -> u32

Read native bitfield sps_range_extension_flag.

set_sps_range_extension_flag

Method
pub fn set_sps_range_extension_flag(&mut self, value: u32)

Set native bitfield sps_range_extension_flag, retaining its low 1 bits.

transform_skip_rotation_enabled_flag

Method
pub const fn transform_skip_rotation_enabled_flag(&self) -> u32

Read native bitfield transform_skip_rotation_enabled_flag.

set_transform_skip_rotation_enabled_flag

Method
pub fn set_transform_skip_rotation_enabled_flag(&mut self, value: u32)

Set native bitfield transform_skip_rotation_enabled_flag, retaining its low 1 bits.

transform_skip_context_enabled_flag

Method
pub const fn transform_skip_context_enabled_flag(&self) -> u32

Read native bitfield transform_skip_context_enabled_flag.

set_transform_skip_context_enabled_flag

Method
pub fn set_transform_skip_context_enabled_flag(&mut self, value: u32)

Set native bitfield transform_skip_context_enabled_flag, retaining its low 1 bits.

implicit_rdpcm_enabled_flag

Method
pub const fn implicit_rdpcm_enabled_flag(&self) -> u32

Read native bitfield implicit_rdpcm_enabled_flag.

set_implicit_rdpcm_enabled_flag

Method
pub fn set_implicit_rdpcm_enabled_flag(&mut self, value: u32)

Set native bitfield implicit_rdpcm_enabled_flag, retaining its low 1 bits.

explicit_rdpcm_enabled_flag

Method
pub const fn explicit_rdpcm_enabled_flag(&self) -> u32

Read native bitfield explicit_rdpcm_enabled_flag.

set_explicit_rdpcm_enabled_flag

Method
pub fn set_explicit_rdpcm_enabled_flag(&mut self, value: u32)

Set native bitfield explicit_rdpcm_enabled_flag, retaining its low 1 bits.

extended_precision_processing_flag

Method
pub const fn extended_precision_processing_flag(&self) -> u32

Read native bitfield extended_precision_processing_flag.

set_extended_precision_processing_flag

Method
pub fn set_extended_precision_processing_flag(&mut self, value: u32)

Set native bitfield extended_precision_processing_flag, retaining its low 1 bits.

intra_smoothing_disabled_flag

Method
pub const fn intra_smoothing_disabled_flag(&self) -> u32

Read native bitfield intra_smoothing_disabled_flag.

set_intra_smoothing_disabled_flag

Method
pub fn set_intra_smoothing_disabled_flag(&mut self, value: u32)

Set native bitfield intra_smoothing_disabled_flag, retaining its low 1 bits.

high_precision_offsets_enabled_flag

Method
pub const fn high_precision_offsets_enabled_flag(&self) -> u32

Read native bitfield high_precision_offsets_enabled_flag.

set_high_precision_offsets_enabled_flag

Method
pub fn set_high_precision_offsets_enabled_flag(&mut self, value: u32)

Set native bitfield high_precision_offsets_enabled_flag, retaining its low 1 bits.

persistent_rice_adaptation_enabled_flag

Method
pub const fn persistent_rice_adaptation_enabled_flag(&self) -> u32

Read native bitfield persistent_rice_adaptation_enabled_flag.

set_persistent_rice_adaptation_enabled_flag

Method
pub fn set_persistent_rice_adaptation_enabled_flag(&mut self, value: u32)

Set native bitfield persistent_rice_adaptation_enabled_flag, retaining its low 1 bits.

cabac_bypass_alignment_enabled_flag

Method
pub const fn cabac_bypass_alignment_enabled_flag(&self) -> u32

Read native bitfield cabac_bypass_alignment_enabled_flag.

set_cabac_bypass_alignment_enabled_flag

Method
pub fn set_cabac_bypass_alignment_enabled_flag(&mut self, value: u32)

Set native bitfield cabac_bypass_alignment_enabled_flag, retaining its low 1 bits.

sps_scc_extension_flag

Method
pub const fn sps_scc_extension_flag(&self) -> u32

Read native bitfield sps_scc_extension_flag.

set_sps_scc_extension_flag

Method
pub fn set_sps_scc_extension_flag(&mut self, value: u32)

Set native bitfield sps_scc_extension_flag, retaining its low 1 bits.

sps_curr_pic_ref_enabled_flag

Method
pub const fn sps_curr_pic_ref_enabled_flag(&self) -> u32

Read native bitfield sps_curr_pic_ref_enabled_flag.

set_sps_curr_pic_ref_enabled_flag

Method
pub fn set_sps_curr_pic_ref_enabled_flag(&mut self, value: u32)

Set native bitfield sps_curr_pic_ref_enabled_flag, retaining its low 1 bits.

palette_mode_enabled_flag

Method
pub const fn palette_mode_enabled_flag(&self) -> u32

Read native bitfield palette_mode_enabled_flag.

set_palette_mode_enabled_flag

Method
pub fn set_palette_mode_enabled_flag(&mut self, value: u32)

Set native bitfield palette_mode_enabled_flag, retaining its low 1 bits.

sps_palette_predictor_initializers_present_flag

Method
pub const fn sps_palette_predictor_initializers_present_flag(&self) -> u32

Read native bitfield sps_palette_predictor_initializers_present_flag.

set_sps_palette_predictor_initializers_present_flag

Method
pub fn set_sps_palette_predictor_initializers_present_flag( &mut self, value: u32, )

Set native bitfield sps_palette_predictor_initializers_present_flag, retaining its low 1 bits.

intra_boundary_filtering_disabled_flag

Method
pub const fn intra_boundary_filtering_disabled_flag(&self) -> u32

Read native bitfield intra_boundary_filtering_disabled_flag.

set_intra_boundary_filtering_disabled_flag

Method
pub fn set_intra_boundary_filtering_disabled_flag(&mut self, value: u32)

Set native bitfield intra_boundary_filtering_disabled_flag, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoH265SpsFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoH265SpsVuiFlags

Contract

Native structure StdVideoH265SpsVuiFlags.

Khronos registry source: StdVideoH265SpsVuiFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

aspect_ratio_info_present_flag

Method
pub const fn aspect_ratio_info_present_flag(&self) -> u32

Read native bitfield aspect_ratio_info_present_flag.

set_aspect_ratio_info_present_flag

Method
pub fn set_aspect_ratio_info_present_flag(&mut self, value: u32)

Set native bitfield aspect_ratio_info_present_flag, retaining its low 1 bits.

overscan_info_present_flag

Method
pub const fn overscan_info_present_flag(&self) -> u32

Read native bitfield overscan_info_present_flag.

set_overscan_info_present_flag

Method
pub fn set_overscan_info_present_flag(&mut self, value: u32)

Set native bitfield overscan_info_present_flag, retaining its low 1 bits.

overscan_appropriate_flag

Method
pub const fn overscan_appropriate_flag(&self) -> u32

Read native bitfield overscan_appropriate_flag.

set_overscan_appropriate_flag

Method
pub fn set_overscan_appropriate_flag(&mut self, value: u32)

Set native bitfield overscan_appropriate_flag, retaining its low 1 bits.

video_signal_type_present_flag

Method
pub const fn video_signal_type_present_flag(&self) -> u32

Read native bitfield video_signal_type_present_flag.

set_video_signal_type_present_flag

Method
pub fn set_video_signal_type_present_flag(&mut self, value: u32)

Set native bitfield video_signal_type_present_flag, retaining its low 1 bits.

video_full_range_flag

Method
pub const fn video_full_range_flag(&self) -> u32

Read native bitfield video_full_range_flag.

set_video_full_range_flag

Method
pub fn set_video_full_range_flag(&mut self, value: u32)

Set native bitfield video_full_range_flag, retaining its low 1 bits.

colour_description_present_flag

Method
pub const fn colour_description_present_flag(&self) -> u32

Read native bitfield colour_description_present_flag.

set_colour_description_present_flag

Method
pub fn set_colour_description_present_flag(&mut self, value: u32)

Set native bitfield colour_description_present_flag, retaining its low 1 bits.

chroma_loc_info_present_flag

Method
pub const fn chroma_loc_info_present_flag(&self) -> u32

Read native bitfield chroma_loc_info_present_flag.

set_chroma_loc_info_present_flag

Method
pub fn set_chroma_loc_info_present_flag(&mut self, value: u32)

Set native bitfield chroma_loc_info_present_flag, retaining its low 1 bits.

neutral_chroma_indication_flag

Method
pub const fn neutral_chroma_indication_flag(&self) -> u32

Read native bitfield neutral_chroma_indication_flag.

set_neutral_chroma_indication_flag

Method
pub fn set_neutral_chroma_indication_flag(&mut self, value: u32)

Set native bitfield neutral_chroma_indication_flag, retaining its low 1 bits.

field_seq_flag

Method
pub const fn field_seq_flag(&self) -> u32

Read native bitfield field_seq_flag.

set_field_seq_flag

Method
pub fn set_field_seq_flag(&mut self, value: u32)

Set native bitfield field_seq_flag, retaining its low 1 bits.

frame_field_info_present_flag

Method
pub const fn frame_field_info_present_flag(&self) -> u32

Read native bitfield frame_field_info_present_flag.

set_frame_field_info_present_flag

Method
pub fn set_frame_field_info_present_flag(&mut self, value: u32)

Set native bitfield frame_field_info_present_flag, retaining its low 1 bits.

default_display_window_flag

Method
pub const fn default_display_window_flag(&self) -> u32

Read native bitfield default_display_window_flag.

set_default_display_window_flag

Method
pub fn set_default_display_window_flag(&mut self, value: u32)

Set native bitfield default_display_window_flag, retaining its low 1 bits.

vui_timing_info_present_flag

Method
pub const fn vui_timing_info_present_flag(&self) -> u32

Read native bitfield vui_timing_info_present_flag.

set_vui_timing_info_present_flag

Method
pub fn set_vui_timing_info_present_flag(&mut self, value: u32)

Set native bitfield vui_timing_info_present_flag, retaining its low 1 bits.

vui_poc_proportional_to_timing_flag

Method
pub const fn vui_poc_proportional_to_timing_flag(&self) -> u32

Read native bitfield vui_poc_proportional_to_timing_flag.

set_vui_poc_proportional_to_timing_flag

Method
pub fn set_vui_poc_proportional_to_timing_flag(&mut self, value: u32)

Set native bitfield vui_poc_proportional_to_timing_flag, retaining its low 1 bits.

vui_hrd_parameters_present_flag

Method
pub const fn vui_hrd_parameters_present_flag(&self) -> u32

Read native bitfield vui_hrd_parameters_present_flag.

set_vui_hrd_parameters_present_flag

Method
pub fn set_vui_hrd_parameters_present_flag(&mut self, value: u32)

Set native bitfield vui_hrd_parameters_present_flag, retaining its low 1 bits.

bitstream_restriction_flag

Method
pub const fn bitstream_restriction_flag(&self) -> u32

Read native bitfield bitstream_restriction_flag.

set_bitstream_restriction_flag

Method
pub fn set_bitstream_restriction_flag(&mut self, value: u32)

Set native bitfield bitstream_restriction_flag, retaining its low 1 bits.

tiles_fixed_structure_flag

Method
pub const fn tiles_fixed_structure_flag(&self) -> u32

Read native bitfield tiles_fixed_structure_flag.

set_tiles_fixed_structure_flag

Method
pub fn set_tiles_fixed_structure_flag(&mut self, value: u32)

Set native bitfield tiles_fixed_structure_flag, retaining its low 1 bits.

motion_vectors_over_pic_boundaries_flag

Method
pub const fn motion_vectors_over_pic_boundaries_flag(&self) -> u32

Read native bitfield motion_vectors_over_pic_boundaries_flag.

set_motion_vectors_over_pic_boundaries_flag

Method
pub fn set_motion_vectors_over_pic_boundaries_flag(&mut self, value: u32)

Set native bitfield motion_vectors_over_pic_boundaries_flag, retaining its low 1 bits.

restricted_ref_pic_lists_flag

Method
pub const fn restricted_ref_pic_lists_flag(&self) -> u32

Read native bitfield restricted_ref_pic_lists_flag.

set_restricted_ref_pic_lists_flag

Method
pub fn set_restricted_ref_pic_lists_flag(&mut self, value: u32)

Set native bitfield restricted_ref_pic_lists_flag, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoH265SpsVuiFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoH265SubLayerHrdParameters

#[repr(C)]pub struct StdVideoH265SubLayerHrdParameters { pub bit_rate_value_minus1: [u32; 32], pub cpb_size_value_minus1: [u32; 32], pub cpb_size_du_value_minus1: [u32; 32], pub bit_rate_du_value_minus1: [u32; 32], pub cbr_flag: u32, }
Native structure StdVideoH265SubLayerHrdParameters.

Contract

Native structure StdVideoH265SubLayerHrdParameters.

Khronos registry source: StdVideoH265SubLayerHrdParameters

Fields

bit_rate_value_minus1

Field
bit_rate_value_minus1: [u32; 32]

Native field bit_rate_value_minus1.

cpb_size_value_minus1

Field
cpb_size_value_minus1: [u32; 32]

Native field cpb_size_value_minus1.

cpb_size_du_value_minus1

Field
cpb_size_du_value_minus1: [u32; 32]

Native field cpb_size_du_value_minus1.

bit_rate_du_value_minus1

Field
bit_rate_du_value_minus1: [u32; 32]

Native field bit_rate_du_value_minus1.

cbr_flag

Field
cbr_flag: u32

Native field cbr_flag.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_bit_rate_value_minus1

Method
pub fn set_bit_rate_value_minus1(self, value: [u32; 32]) -> Self

Set native field bit_rate_value_minus1 without native effects.

set_cpb_size_value_minus1

Method
pub fn set_cpb_size_value_minus1(self, value: [u32; 32]) -> Self

Set native field cpb_size_value_minus1 without native effects.

set_cpb_size_du_value_minus1

Method
pub fn set_cpb_size_du_value_minus1(self, value: [u32; 32]) -> Self

Set native field cpb_size_du_value_minus1 without native effects.

set_bit_rate_du_value_minus1

Method
pub fn set_bit_rate_du_value_minus1(self, value: [u32; 32]) -> Self

Set native field bit_rate_du_value_minus1 without native effects.

set_cbr_flag

Method
pub fn set_cbr_flag(self, value: u32) -> Self

Set native field cbr_flag without native effects.

clone

Method
fn clone(&self) -> StdVideoH265SubLayerHrdParameters
Returns a duplicate of the value. Read more

Stvk::StdVideoH265VideoParameterSet

pub struct StdVideoH265VideoParameterSet<'a> { pub flags: StdVideoH265VpsFlags, pub vps_video_parameter_set_id: u8, pub vps_max_sub_layers_minus1: u8, pub reserved1: u8, pub reserved2: u8, pub vps_num_units_in_tick: u32, pub vps_time_scale: u32, pub vps_num_ticks_poc_diff_one_minus1: u32, pub reserved3: u32, pub p_dec_pic_buf_mgr: *const StdVideoH265DecPicBufMgr, pub p_hrd_parameters: *const StdVideoH265HrdParameters<'a>, pub p_profile_tier_level: *const StdVideoH265ProfileTierLevel, /* private fields */ }
Native structure StdVideoH265VideoParameterSet.

Contract

Native structure StdVideoH265VideoParameterSet.

Khronos registry source: StdVideoH265VideoParameterSet

Fields

flags

Field
flags: StdVideoH265VpsFlags

Native field flags.

vps_video_parameter_set_id

Field
vps_video_parameter_set_id: u8

Native field vps_video_parameter_set_id.

vps_max_sub_layers_minus1

Field
vps_max_sub_layers_minus1: u8

Native field vps_max_sub_layers_minus1.

reserved1

Field
reserved1: u8

Native field reserved1.

reserved2

Field
reserved2: u8

Native field reserved2.

vps_num_units_in_tick

Field
vps_num_units_in_tick: u32

Native field vps_num_units_in_tick.

vps_time_scale

Field
vps_time_scale: u32

Native field vps_time_scale.

vps_num_ticks_poc_diff_one_minus1

Field
vps_num_ticks_poc_diff_one_minus1: u32

Native field vps_num_ticks_poc_diff_one_minus1.

reserved3

Field
reserved3: u32

Native field reserved3.

p_dec_pic_buf_mgr

Field
p_dec_pic_buf_mgr: *const StdVideoH265DecPicBufMgr

Native field pDecPicBufMgr.

p_hrd_parameters

Field
p_hrd_parameters: *const StdVideoH265HrdParameters<'a>

Native field pHrdParameters.

p_profile_tier_level

Field
p_profile_tier_level: *const StdVideoH265ProfileTierLevel

Native field pProfileTierLevel.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_flags

Method
pub fn set_flags(self, value: StdVideoH265VpsFlags) -> Self

Set native field flags without native effects.

set_vps_video_parameter_set_id

Method
pub fn set_vps_video_parameter_set_id(self, value: u8) -> Self

Set native field vps_video_parameter_set_id without native effects.

set_vps_max_sub_layers_minus1

Method
pub fn set_vps_max_sub_layers_minus1(self, value: u8) -> Self

Set native field vps_max_sub_layers_minus1 without native effects.

set_reserved1

Method
pub fn set_reserved1(self, value: u8) -> Self

Set native field reserved1 without native effects.

set_reserved2

Method
pub fn set_reserved2(self, value: u8) -> Self

Set native field reserved2 without native effects.

set_vps_num_units_in_tick

Method
pub fn set_vps_num_units_in_tick(self, value: u32) -> Self

Set native field vps_num_units_in_tick without native effects.

set_vps_time_scale

Method
pub fn set_vps_time_scale(self, value: u32) -> Self

Set native field vps_time_scale without native effects.

set_vps_num_ticks_poc_diff_one_minus1

Method
pub fn set_vps_num_ticks_poc_diff_one_minus1(self, value: u32) -> Self

Set native field vps_num_ticks_poc_diff_one_minus1 without native effects.

set_reserved3

Method
pub fn set_reserved3(self, value: u32) -> Self

Set native field reserved3 without native effects.

set_dec_pic_buf_mgr

Method
pub fn set_dec_pic_buf_mgr(self, value: &'a StdVideoH265DecPicBufMgr) -> Self

Set native field pDecPicBufMgr without native effects.

set_hrd_parameters

Method
pub fn set_hrd_parameters( self, value: &'a StdVideoH265HrdParameters<'a>, ) -> Self

Set native field pHrdParameters without native effects.

set_profile_tier_level

Method
pub fn set_profile_tier_level( self, value: &'a StdVideoH265ProfileTierLevel, ) -> Self

Set native field pProfileTierLevel without native effects.

clone

Method
fn clone(&self) -> StdVideoH265VideoParameterSet<'a>
Returns a duplicate of the value. Read more

Stvk::StdVideoH265VpsFlags

Contract

Native structure StdVideoH265VpsFlags.

Khronos registry source: StdVideoH265VpsFlags

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

vps_temporal_id_nesting_flag

Method
pub const fn vps_temporal_id_nesting_flag(&self) -> u32

Read native bitfield vps_temporal_id_nesting_flag.

set_vps_temporal_id_nesting_flag

Method
pub fn set_vps_temporal_id_nesting_flag(&mut self, value: u32)

Set native bitfield vps_temporal_id_nesting_flag, retaining its low 1 bits.

vps_sub_layer_ordering_info_present_flag

Method
pub const fn vps_sub_layer_ordering_info_present_flag(&self) -> u32

Read native bitfield vps_sub_layer_ordering_info_present_flag.

set_vps_sub_layer_ordering_info_present_flag

Method
pub fn set_vps_sub_layer_ordering_info_present_flag(&mut self, value: u32)

Set native bitfield vps_sub_layer_ordering_info_present_flag, retaining its low 1 bits.

vps_timing_info_present_flag

Method
pub const fn vps_timing_info_present_flag(&self) -> u32

Read native bitfield vps_timing_info_present_flag.

set_vps_timing_info_present_flag

Method
pub fn set_vps_timing_info_present_flag(&mut self, value: u32)

Set native bitfield vps_timing_info_present_flag, retaining its low 1 bits.

vps_poc_proportional_to_timing_flag

Method
pub const fn vps_poc_proportional_to_timing_flag(&self) -> u32

Read native bitfield vps_poc_proportional_to_timing_flag.

set_vps_poc_proportional_to_timing_flag

Method
pub fn set_vps_poc_proportional_to_timing_flag(&mut self, value: u32)

Set native bitfield vps_poc_proportional_to_timing_flag, retaining its low 1 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> StdVideoH265VpsFlags
Returns a duplicate of the value. Read more