Realm

vk · Structs · S12

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

StRustExperimental

Stvk::StdVideoH264ProfileIdc

Contract

Open integer representation of StdVideoH264ProfileIdc.

Khronos registry source: StdVideoH264ProfileIdc

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) -> StdVideoH264ProfileIdc
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() -> StdVideoH264ProfileIdc
Returns the “default value” for a type. Read more

eq

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

Stvk::StdVideoH264ScalingLists

#[repr(C)]pub struct StdVideoH264ScalingLists { pub scaling_list_present_mask: u16, pub use_default_scaling_matrix_mask: u16, pub scaling_list4x4: [[u8; 16]; 6], pub scaling_list8x8: [[u8; 64]; 6], }
Native structure StdVideoH264ScalingLists.

Contract

Native structure StdVideoH264ScalingLists.

Khronos registry source: StdVideoH264ScalingLists

Fields

scaling_list_present_mask

Field
scaling_list_present_mask: u16

Native field scaling_list_present_mask.

use_default_scaling_matrix_mask

Field
use_default_scaling_matrix_mask: u16

Native field use_default_scaling_matrix_mask.

scaling_list4x4

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

Native field ScalingList4x4.

scaling_list8x8

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

Native field ScalingList8x8.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_scaling_list_present_mask

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

Set native field scaling_list_present_mask without native effects.

set_use_default_scaling_matrix_mask

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

Set native field use_default_scaling_matrix_mask without native effects.

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.

clone

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

Stvk::StdVideoH264SequenceParameterSet

pub struct StdVideoH264SequenceParameterSet<'a> { pub flags: StdVideoH264SpsFlags, pub profile_idc: StdVideoH264ProfileIdc, pub level_idc: StdVideoH264LevelIdc, pub chroma_format_idc: StdVideoH264ChromaFormatIdc, pub seq_parameter_set_id: u8, pub bit_depth_luma_minus8: u8, pub bit_depth_chroma_minus8: u8, pub log2_max_frame_num_minus4: u8, pub pic_order_cnt_type: StdVideoH264PocType, pub offset_for_non_ref_pic: i32, pub offset_for_top_to_bottom_field: i32, pub log2_max_pic_order_cnt_lsb_minus4: u8, pub num_ref_frames_in_pic_order_cnt_cycle: u8, pub max_num_ref_frames: u8, pub reserved1: u8, pub pic_width_in_mbs_minus1: u32, pub pic_height_in_map_units_minus1: u32, pub frame_crop_left_offset: u32, pub frame_crop_right_offset: u32, pub frame_crop_top_offset: u32, pub frame_crop_bottom_offset: u32, pub reserved2: u32, pub p_offset_for_ref_frame: *const i32, pub p_scaling_lists: *const StdVideoH264ScalingLists, pub p_sequence_parameter_set_vui: *const StdVideoH264SequenceParameterSetVui<'a>, /* private fields */ }
Native structure StdVideoH264SequenceParameterSet.

Contract

Native structure StdVideoH264SequenceParameterSet.

Khronos registry source: StdVideoH264SequenceParameterSet

Fields

flags

Field
flags: StdVideoH264SpsFlags

Native field flags.

profile_idc

Field
profile_idc: StdVideoH264ProfileIdc

Native field profile_idc.

level_idc

Field
level_idc: StdVideoH264LevelIdc

Native field level_idc.

chroma_format_idc

Field
chroma_format_idc: StdVideoH264ChromaFormatIdc

Native field chroma_format_idc.

seq_parameter_set_id

Field
seq_parameter_set_id: u8

Native field seq_parameter_set_id.

bit_depth_luma_minus8

Field
bit_depth_luma_minus8: u8

Native field bit_depth_luma_minus8.

bit_depth_chroma_minus8

Field
bit_depth_chroma_minus8: u8

Native field bit_depth_chroma_minus8.

log2_max_frame_num_minus4

Field
log2_max_frame_num_minus4: u8

Native field log2_max_frame_num_minus4.

pic_order_cnt_type

Field
pic_order_cnt_type: StdVideoH264PocType

Native field pic_order_cnt_type.

offset_for_non_ref_pic

Field
offset_for_non_ref_pic: i32

Native field offset_for_non_ref_pic.

offset_for_top_to_bottom_field

Field
offset_for_top_to_bottom_field: i32

Native field offset_for_top_to_bottom_field.

log2_max_pic_order_cnt_lsb_minus4

Field
log2_max_pic_order_cnt_lsb_minus4: u8

Native field log2_max_pic_order_cnt_lsb_minus4.

num_ref_frames_in_pic_order_cnt_cycle

Field
num_ref_frames_in_pic_order_cnt_cycle: u8

Native field num_ref_frames_in_pic_order_cnt_cycle.

max_num_ref_frames

Field
max_num_ref_frames: u8

Native field max_num_ref_frames.

reserved1

Field
reserved1: u8

Native field reserved1.

pic_width_in_mbs_minus1

Field
pic_width_in_mbs_minus1: u32

Native field pic_width_in_mbs_minus1.

pic_height_in_map_units_minus1

Field
pic_height_in_map_units_minus1: u32

Native field pic_height_in_map_units_minus1.

frame_crop_left_offset

Field
frame_crop_left_offset: u32

Native field frame_crop_left_offset.

frame_crop_right_offset

Field
frame_crop_right_offset: u32

Native field frame_crop_right_offset.

frame_crop_top_offset

Field
frame_crop_top_offset: u32

Native field frame_crop_top_offset.

frame_crop_bottom_offset

Field
frame_crop_bottom_offset: u32

Native field frame_crop_bottom_offset.

reserved2

Field
reserved2: u32

Native field reserved2.

p_offset_for_ref_frame

Field
p_offset_for_ref_frame: *const i32

Native field pOffsetForRefFrame.

p_scaling_lists

Field
p_scaling_lists: *const StdVideoH264ScalingLists

Native field pScalingLists.

p_sequence_parameter_set_vui

Field
p_sequence_parameter_set_vui: *const StdVideoH264SequenceParameterSetVui<'a>

Native field pSequenceParameterSetVui.

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: StdVideoH264SpsFlags) -> Self

Set native field flags without native effects.

set_profile_idc

Method
pub fn set_profile_idc(self, value: StdVideoH264ProfileIdc) -> Self

Set native field profile_idc without native effects.

set_level_idc

Method
pub fn set_level_idc(self, value: StdVideoH264LevelIdc) -> Self

Set native field level_idc without native effects.

set_chroma_format_idc

Method
pub fn set_chroma_format_idc(self, value: StdVideoH264ChromaFormatIdc) -> Self

Set native field chroma_format_idc without native effects.

set_seq_parameter_set_id

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

Set native field seq_parameter_set_id without native effects.

set_bit_depth_luma_minus8

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

Set native field bit_depth_luma_minus8 without native effects.

set_bit_depth_chroma_minus8

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

Set native field bit_depth_chroma_minus8 without native effects.

set_log2_max_frame_num_minus4

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

Set native field log2_max_frame_num_minus4 without native effects.

set_pic_order_cnt_type

Method
pub fn set_pic_order_cnt_type(self, value: StdVideoH264PocType) -> Self

Set native field pic_order_cnt_type without native effects.

set_offset_for_non_ref_pic

Method
pub fn set_offset_for_non_ref_pic(self, value: i32) -> Self

Set native field offset_for_non_ref_pic without native effects.

set_offset_for_top_to_bottom_field

Method
pub fn set_offset_for_top_to_bottom_field(self, value: i32) -> Self

Set native field offset_for_top_to_bottom_field without native effects.

set_log2_max_pic_order_cnt_lsb_minus4

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

Set native field log2_max_pic_order_cnt_lsb_minus4 without native effects.

set_num_ref_frames_in_pic_order_cnt_cycle

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

Set native count num_ref_frames_in_pic_order_cnt_cycle directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_max_num_ref_frames

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

Set native field max_num_ref_frames without native effects.

set_reserved1

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

Set native field reserved1 without native effects.

set_pic_width_in_mbs_minus1

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

Set native field pic_width_in_mbs_minus1 without native effects.

set_pic_height_in_map_units_minus1

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

Set native field pic_height_in_map_units_minus1 without native effects.

set_frame_crop_left_offset

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

Set native field frame_crop_left_offset without native effects.

set_frame_crop_right_offset

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

Set native field frame_crop_right_offset without native effects.

set_frame_crop_top_offset

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

Set native field frame_crop_top_offset without native effects.

set_frame_crop_bottom_offset

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

Set native field frame_crop_bottom_offset without native effects.

set_reserved2

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

Set native field reserved2 without native effects.

set_offset_for_ref_frame

Method
pub fn set_offset_for_ref_frame( self, value: &'a [i32], ) -> Result<Self, ConstructionError>

Borrow pOffsetForRefFrame and set checked native count num_ref_frames_in_pic_order_cnt_cycle. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_scaling_lists

Method
pub fn set_scaling_lists(self, value: &'a StdVideoH264ScalingLists) -> Self

Set native field pScalingLists without native effects.

set_sequence_parameter_set_vui

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

Set native field pSequenceParameterSetVui without native effects.

clone

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

Stvk::StdVideoH264SequenceParameterSetVui

pub struct StdVideoH264SequenceParameterSetVui<'a> { pub flags: StdVideoH264SpsVuiFlags, pub aspect_ratio_idc: StdVideoH264AspectRatioIdc, pub sar_width: u16, pub sar_height: u16, pub video_format: u8, pub colour_primaries: u8, pub transfer_characteristics: u8, pub matrix_coefficients: u8, pub num_units_in_tick: u32, pub time_scale: u32, pub max_num_reorder_frames: u8, pub max_dec_frame_buffering: u8, pub chroma_sample_loc_type_top_field: u8, pub chroma_sample_loc_type_bottom_field: u8, pub reserved1: u32, pub p_hrd_parameters: *const StdVideoH264HrdParameters, /* private fields */ }
Native structure StdVideoH264SequenceParameterSetVui.

Contract

Native structure StdVideoH264SequenceParameterSetVui.

Khronos registry source: StdVideoH264SequenceParameterSetVui

Fields

flags

Field
flags: StdVideoH264SpsVuiFlags

Native field flags.

aspect_ratio_idc

Field
aspect_ratio_idc: StdVideoH264AspectRatioIdc

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_coefficients

Field
matrix_coefficients: u8

Native field matrix_coefficients.

num_units_in_tick

Field
num_units_in_tick: u32

Native field num_units_in_tick.

time_scale

Field
time_scale: u32

Native field time_scale.

max_num_reorder_frames

Field
max_num_reorder_frames: u8

Native field max_num_reorder_frames.

max_dec_frame_buffering

Field
max_dec_frame_buffering: u8

Native field max_dec_frame_buffering.

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: u32

Native field reserved1.

p_hrd_parameters

Field
p_hrd_parameters: *const StdVideoH264HrdParameters

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: StdVideoH264SpsVuiFlags) -> Self

Set native field flags without native effects.

set_aspect_ratio_idc

Method
pub fn set_aspect_ratio_idc(self, value: StdVideoH264AspectRatioIdc) -> 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_coefficients

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

Set native field matrix_coefficients without native effects.

set_num_units_in_tick

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

Set native field num_units_in_tick without native effects.

set_time_scale

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

Set native field time_scale without native effects.

set_max_num_reorder_frames

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

Set native field max_num_reorder_frames without native effects.

set_max_dec_frame_buffering

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

Set native field max_dec_frame_buffering 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: u32) -> Self

Set native field reserved1 without native effects.

set_hrd_parameters

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

Set native field pHrdParameters without native effects.

clone

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

Stvk::StdVideoH264SliceType

Contract

Open integer representation of StdVideoH264SliceType.

Khronos registry source: StdVideoH264SliceType

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) -> StdVideoH264SliceType
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() -> StdVideoH264SliceType
Returns the “default value” for a type. Read more

eq

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

Stvk::StdVideoH264SpsFlags

Contract

Native structure StdVideoH264SpsFlags.

Khronos registry source: StdVideoH264SpsFlags

Fields

_bitfield_1

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

Methods and associated items

constraint_set0_flag

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

Read native bitfield constraint_set0_flag.

set_constraint_set0_flag

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

Set native bitfield constraint_set0_flag, retaining its low 1 bits.

constraint_set1_flag

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

Read native bitfield constraint_set1_flag.

set_constraint_set1_flag

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

Set native bitfield constraint_set1_flag, retaining its low 1 bits.

constraint_set2_flag

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

Read native bitfield constraint_set2_flag.

set_constraint_set2_flag

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

Set native bitfield constraint_set2_flag, retaining its low 1 bits.

constraint_set3_flag

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

Read native bitfield constraint_set3_flag.

set_constraint_set3_flag

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

Set native bitfield constraint_set3_flag, retaining its low 1 bits.

constraint_set4_flag

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

Read native bitfield constraint_set4_flag.

set_constraint_set4_flag

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

Set native bitfield constraint_set4_flag, retaining its low 1 bits.

constraint_set5_flag

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

Read native bitfield constraint_set5_flag.

set_constraint_set5_flag

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

Set native bitfield constraint_set5_flag, retaining its low 1 bits.

direct_8x8_inference_flag

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

Read native bitfield direct_8x8_inference_flag.

set_direct_8x8_inference_flag

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

Set native bitfield direct_8x8_inference_flag, retaining its low 1 bits.

mb_adaptive_frame_field_flag

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

Read native bitfield mb_adaptive_frame_field_flag.

set_mb_adaptive_frame_field_flag

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

Set native bitfield mb_adaptive_frame_field_flag, retaining its low 1 bits.

frame_mbs_only_flag

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

Read native bitfield frame_mbs_only_flag.

set_frame_mbs_only_flag

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

Set native bitfield frame_mbs_only_flag, retaining its low 1 bits.

delta_pic_order_always_zero_flag

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

Read native bitfield delta_pic_order_always_zero_flag.

set_delta_pic_order_always_zero_flag

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

Set native bitfield delta_pic_order_always_zero_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.

gaps_in_frame_num_value_allowed_flag

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

Read native bitfield gaps_in_frame_num_value_allowed_flag.

set_gaps_in_frame_num_value_allowed_flag

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

Set native bitfield gaps_in_frame_num_value_allowed_flag, retaining its low 1 bits.

qpprime_y_zero_transform_bypass_flag

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

Read native bitfield qpprime_y_zero_transform_bypass_flag.

set_qpprime_y_zero_transform_bypass_flag

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

Set native bitfield qpprime_y_zero_transform_bypass_flag, retaining its low 1 bits.

frame_cropping_flag

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

Read native bitfield frame_cropping_flag.

set_frame_cropping_flag

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

Set native bitfield frame_cropping_flag, retaining its low 1 bits.

seq_scaling_matrix_present_flag

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

Read native bitfield seq_scaling_matrix_present_flag.

set_seq_scaling_matrix_present_flag

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

Set native bitfield seq_scaling_matrix_present_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.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoH264SpsVuiFlags

Contract

Native structure StdVideoH264SpsVuiFlags.

Khronos registry source: StdVideoH264SpsVuiFlags

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.

color_description_present_flag

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

Read native bitfield color_description_present_flag.

set_color_description_present_flag

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

Set native bitfield color_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.

timing_info_present_flag

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

Read native bitfield timing_info_present_flag.

set_timing_info_present_flag

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

Set native bitfield timing_info_present_flag, retaining its low 1 bits.

fixed_frame_rate_flag

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

Read native bitfield fixed_frame_rate_flag.

set_fixed_frame_rate_flag

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

Set native bitfield fixed_frame_rate_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.

nal_hrd_parameters_present_flag

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

Read native bitfield nal_hrd_parameters_present_flag.

set_nal_hrd_parameters_present_flag

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

Set native bitfield nal_hrd_parameters_present_flag, retaining its low 1 bits.

vcl_hrd_parameters_present_flag

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

Read native bitfield vcl_hrd_parameters_present_flag.

set_vcl_hrd_parameters_present_flag

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

Set native bitfield vcl_hrd_parameters_present_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) -> StdVideoH264SpsVuiFlags
Returns a duplicate of the value. Read more

Stvk::StdVideoH264WeightedBipredIdc

Contract

Open integer representation of StdVideoH264WeightedBipredIdc.

Khronos registry source: StdVideoH264WeightedBipredIdc

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) -> StdVideoH264WeightedBipredIdc
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() -> StdVideoH264WeightedBipredIdc
Returns the “default value” for a type. Read more

eq

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

Stvk::StdVideoH265AspectRatioIdc

Contract

Open integer representation of StdVideoH265AspectRatioIdc.

Khronos registry source: StdVideoH265AspectRatioIdc

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) -> StdVideoH265AspectRatioIdc
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() -> StdVideoH265AspectRatioIdc
Returns the “default value” for a type. Read more

eq

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

Stvk::StdVideoH265ChromaFormatIdc

Contract

Open integer representation of StdVideoH265ChromaFormatIdc.

Khronos registry source: StdVideoH265ChromaFormatIdc

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) -> StdVideoH265ChromaFormatIdc
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() -> StdVideoH265ChromaFormatIdc
Returns the “default value” for a type. Read more

eq

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

Stvk::StdVideoH265DecPicBufMgr

#[repr(C)]pub struct StdVideoH265DecPicBufMgr { pub max_latency_increase_plus1: [u32; 7], pub max_dec_pic_buffering_minus1: [u8; 7], pub max_num_reorder_pics: [u8; 7], }
Native structure StdVideoH265DecPicBufMgr.

Contract

Native structure StdVideoH265DecPicBufMgr.

Khronos registry source: StdVideoH265DecPicBufMgr

Fields

max_latency_increase_plus1

Field
max_latency_increase_plus1: [u32; 7]

Native field max_latency_increase_plus1.

max_dec_pic_buffering_minus1

Field
max_dec_pic_buffering_minus1: [u8; 7]

Native field max_dec_pic_buffering_minus1.

max_num_reorder_pics

Field
max_num_reorder_pics: [u8; 7]

Native field max_num_reorder_pics.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_max_latency_increase_plus1

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

Set native field max_latency_increase_plus1 without native effects.

set_max_dec_pic_buffering_minus1

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

Set native field max_dec_pic_buffering_minus1 without native effects.

set_max_num_reorder_pics

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

Set native field max_num_reorder_pics without native effects.

clone

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

Stvk::StdVideoH265HrdFlags

Contract

Native structure StdVideoH265HrdFlags.

Khronos registry source: StdVideoH265HrdFlags

Fields

_bitfield_1

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

Methods and associated items

nal_hrd_parameters_present_flag

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

Read native bitfield nal_hrd_parameters_present_flag.

set_nal_hrd_parameters_present_flag

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

Set native bitfield nal_hrd_parameters_present_flag, retaining its low 1 bits.

vcl_hrd_parameters_present_flag

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

Read native bitfield vcl_hrd_parameters_present_flag.

set_vcl_hrd_parameters_present_flag

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

Set native bitfield vcl_hrd_parameters_present_flag, retaining its low 1 bits.

sub_pic_hrd_params_present_flag

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

Read native bitfield sub_pic_hrd_params_present_flag.

set_sub_pic_hrd_params_present_flag

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

Set native bitfield sub_pic_hrd_params_present_flag, retaining its low 1 bits.

sub_pic_cpb_params_in_pic_timing_sei_flag

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

Read native bitfield sub_pic_cpb_params_in_pic_timing_sei_flag.

set_sub_pic_cpb_params_in_pic_timing_sei_flag

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

Set native bitfield sub_pic_cpb_params_in_pic_timing_sei_flag, retaining its low 1 bits.

fixed_pic_rate_general_flag

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

Read native bitfield fixed_pic_rate_general_flag.

set_fixed_pic_rate_general_flag

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

Set native bitfield fixed_pic_rate_general_flag, retaining its low 8 bits.

fixed_pic_rate_within_cvs_flag

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

Read native bitfield fixed_pic_rate_within_cvs_flag.

set_fixed_pic_rate_within_cvs_flag

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

Set native bitfield fixed_pic_rate_within_cvs_flag, retaining its low 8 bits.

low_delay_hrd_flag

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

Read native bitfield low_delay_hrd_flag.

set_low_delay_hrd_flag

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

Set native bitfield low_delay_hrd_flag, retaining its low 8 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

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

Stvk::StdVideoH265HrdParameters

pub struct StdVideoH265HrdParameters<'a> { pub flags: StdVideoH265HrdFlags, pub tick_divisor_minus2: u8, pub du_cpb_removal_delay_increment_length_minus1: u8, pub dpb_output_delay_du_length_minus1: u8, pub bit_rate_scale: u8, pub cpb_size_scale: u8, pub cpb_size_du_scale: u8, pub initial_cpb_removal_delay_length_minus1: u8, pub au_cpb_removal_delay_length_minus1: u8, pub dpb_output_delay_length_minus1: u8, pub cpb_cnt_minus1: [u8; 7], pub elemental_duration_in_tc_minus1: [u16; 7], pub reserved: [u16; 3], pub p_sub_layer_hrd_parameters_nal: *const StdVideoH265SubLayerHrdParameters, pub p_sub_layer_hrd_parameters_vcl: *const StdVideoH265SubLayerHrdParameters, /* private fields */ }
Native structure StdVideoH265HrdParameters.

Contract

Native structure StdVideoH265HrdParameters.

Khronos registry source: StdVideoH265HrdParameters

Fields

flags

Field
flags: StdVideoH265HrdFlags

Native field flags.

tick_divisor_minus2

Field
tick_divisor_minus2: u8

Native field tick_divisor_minus2.

du_cpb_removal_delay_increment_length_minus1

Field
du_cpb_removal_delay_increment_length_minus1: u8

Native field du_cpb_removal_delay_increment_length_minus1.

dpb_output_delay_du_length_minus1

Field
dpb_output_delay_du_length_minus1: u8

Native field dpb_output_delay_du_length_minus1.

bit_rate_scale

Field
bit_rate_scale: u8

Native field bit_rate_scale.

cpb_size_scale

Field
cpb_size_scale: u8

Native field cpb_size_scale.

cpb_size_du_scale

Field
cpb_size_du_scale: u8

Native field cpb_size_du_scale.

initial_cpb_removal_delay_length_minus1

Field
initial_cpb_removal_delay_length_minus1: u8

Native field initial_cpb_removal_delay_length_minus1.

au_cpb_removal_delay_length_minus1

Field
au_cpb_removal_delay_length_minus1: u8

Native field au_cpb_removal_delay_length_minus1.

dpb_output_delay_length_minus1

Field
dpb_output_delay_length_minus1: u8

Native field dpb_output_delay_length_minus1.

cpb_cnt_minus1

Field
cpb_cnt_minus1: [u8; 7]

Native field cpb_cnt_minus1.

elemental_duration_in_tc_minus1

Field
elemental_duration_in_tc_minus1: [u16; 7]

Native field elemental_duration_in_tc_minus1.

reserved

Field
reserved: [u16; 3]

Native field reserved.

p_sub_layer_hrd_parameters_nal

Field
p_sub_layer_hrd_parameters_nal: *const StdVideoH265SubLayerHrdParameters

Native field pSubLayerHrdParametersNal.

p_sub_layer_hrd_parameters_vcl

Field
p_sub_layer_hrd_parameters_vcl: *const StdVideoH265SubLayerHrdParameters

Native field pSubLayerHrdParametersVcl.

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: StdVideoH265HrdFlags) -> Self

Set native field flags without native effects.

set_tick_divisor_minus2

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

Set native field tick_divisor_minus2 without native effects.

set_du_cpb_removal_delay_increment_length_minus1

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

Set native field du_cpb_removal_delay_increment_length_minus1 without native effects.

set_dpb_output_delay_du_length_minus1

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

Set native field dpb_output_delay_du_length_minus1 without native effects.

set_bit_rate_scale

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

Set native field bit_rate_scale without native effects.

set_cpb_size_scale

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

Set native field cpb_size_scale without native effects.

set_cpb_size_du_scale

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

Set native field cpb_size_du_scale without native effects.

set_initial_cpb_removal_delay_length_minus1

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

Set native field initial_cpb_removal_delay_length_minus1 without native effects.

set_au_cpb_removal_delay_length_minus1

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

Set native field au_cpb_removal_delay_length_minus1 without native effects.

set_dpb_output_delay_length_minus1

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

Set native field dpb_output_delay_length_minus1 without native effects.

set_cpb_cnt_minus1

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

Set native field cpb_cnt_minus1 without native effects.

set_elemental_duration_in_tc_minus1

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

Set native field elemental_duration_in_tc_minus1 without native effects.

set_reserved

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

Set native field reserved without native effects.

set_sub_layer_hrd_parameters_nal

Method
pub fn set_sub_layer_hrd_parameters_nal( self, max_sub_layers_minus1: u8, value: &'a [StdVideoH265SubLayerHrdParameters], ) -> Result<Self, ConstructionError>

Borrow H.265 HRD storage using its enclosing SPS/VPS sub-layer extent. The caller supplies the matching enclosing *_max_sub_layers_minus1; presence flags and the enclosing record remain native-call obligations.

Errors

Returns a length mismatch unless the slice has max_sub_layers_minus1 + 1 entries.

set_sub_layer_hrd_parameters_vcl

Method
pub fn set_sub_layer_hrd_parameters_vcl( self, max_sub_layers_minus1: u8, value: &'a [StdVideoH265SubLayerHrdParameters], ) -> Result<Self, ConstructionError>

Borrow H.265 HRD storage using its enclosing SPS/VPS sub-layer extent. The caller supplies the matching enclosing *_max_sub_layers_minus1; presence flags and the enclosing record remain native-call obligations.

Errors

Returns a length mismatch unless the slice has max_sub_layers_minus1 + 1 entries.

clone

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

Stvk::StdVideoH265LevelIdc

Contract

Open integer representation of StdVideoH265LevelIdc.

Khronos registry source: StdVideoH265LevelIdc

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) -> StdVideoH265LevelIdc
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() -> StdVideoH265LevelIdc
Returns the “default value” for a type. Read more

eq

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

Stvk::StdVideoH265LongTermRefPicsSps

Contract

Native structure StdVideoH265LongTermRefPicsSps.

Khronos registry source: StdVideoH265LongTermRefPicsSps

Fields

used_by_curr_pic_lt_sps_flag

Field
used_by_curr_pic_lt_sps_flag: u32

Native field used_by_curr_pic_lt_sps_flag.

lt_ref_pic_poc_lsb_sps

Field
lt_ref_pic_poc_lsb_sps: [u32; 32]

Native field lt_ref_pic_poc_lsb_sps.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_used_by_curr_pic_lt_sps_flag

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

Set native field used_by_curr_pic_lt_sps_flag without native effects.

set_lt_ref_pic_poc_lsb_sps

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

Set native field lt_ref_pic_poc_lsb_sps without native effects.

clone

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

Stvk::StdVideoH265PictureParameterSet

pub struct StdVideoH265PictureParameterSet<'a> { pub flags: StdVideoH265PpsFlags, pub pps_pic_parameter_set_id: u8, pub pps_seq_parameter_set_id: u8, pub sps_video_parameter_set_id: u8, pub num_extra_slice_header_bits: u8, pub num_ref_idx_l0_default_active_minus1: u8, pub num_ref_idx_l1_default_active_minus1: u8, pub init_qp_minus26: i8, pub diff_cu_qp_delta_depth: u8, pub pps_cb_qp_offset: i8, pub pps_cr_qp_offset: i8, pub pps_beta_offset_div2: i8, pub pps_tc_offset_div2: i8, pub log2_parallel_merge_level_minus2: u8, pub log2_max_transform_skip_block_size_minus2: u8, pub diff_cu_chroma_qp_offset_depth: u8, pub chroma_qp_offset_list_len_minus1: u8, pub cb_qp_offset_list: [i8; 6], pub cr_qp_offset_list: [i8; 6], pub log2_sao_offset_scale_luma: u8, pub log2_sao_offset_scale_chroma: u8, pub pps_act_y_qp_offset_plus5: i8, pub pps_act_cb_qp_offset_plus5: i8, pub pps_act_cr_qp_offset_plus3: i8, pub pps_num_palette_predictor_initializers: u8, pub luma_bit_depth_entry_minus8: u8, pub chroma_bit_depth_entry_minus8: u8, pub num_tile_columns_minus1: u8, pub num_tile_rows_minus1: u8, pub reserved1: u8, pub reserved2: u8, pub column_width_minus1: [u16; 19], pub row_height_minus1: [u16; 21], pub reserved3: u32, pub p_scaling_lists: *const StdVideoH265ScalingLists, pub p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntries, /* private fields */ }
Native structure StdVideoH265PictureParameterSet.

Contract

Native structure StdVideoH265PictureParameterSet.

Khronos registry source: StdVideoH265PictureParameterSet

Fields

flags

Field
flags: StdVideoH265PpsFlags

Native field flags.

pps_pic_parameter_set_id

Field
pps_pic_parameter_set_id: u8

Native field pps_pic_parameter_set_id.

pps_seq_parameter_set_id

Field
pps_seq_parameter_set_id: u8

Native field pps_seq_parameter_set_id.

sps_video_parameter_set_id

Field
sps_video_parameter_set_id: u8

Native field sps_video_parameter_set_id.

num_extra_slice_header_bits

Field
num_extra_slice_header_bits: u8

Native field num_extra_slice_header_bits.

num_ref_idx_l0_default_active_minus1

Field
num_ref_idx_l0_default_active_minus1: u8

Native field num_ref_idx_l0_default_active_minus1.

num_ref_idx_l1_default_active_minus1

Field
num_ref_idx_l1_default_active_minus1: u8

Native field num_ref_idx_l1_default_active_minus1.

init_qp_minus26

Field
init_qp_minus26: i8

Native field init_qp_minus26.

diff_cu_qp_delta_depth

Field
diff_cu_qp_delta_depth: u8

Native field diff_cu_qp_delta_depth.

pps_cb_qp_offset

Field
pps_cb_qp_offset: i8

Native field pps_cb_qp_offset.

pps_cr_qp_offset

Field
pps_cr_qp_offset: i8

Native field pps_cr_qp_offset.

pps_beta_offset_div2

Field
pps_beta_offset_div2: i8

Native field pps_beta_offset_div2.

pps_tc_offset_div2

Field
pps_tc_offset_div2: i8

Native field pps_tc_offset_div2.

log2_parallel_merge_level_minus2

Field
log2_parallel_merge_level_minus2: u8

Native field log2_parallel_merge_level_minus2.

log2_max_transform_skip_block_size_minus2

Field
log2_max_transform_skip_block_size_minus2: u8

Native field log2_max_transform_skip_block_size_minus2.

diff_cu_chroma_qp_offset_depth

Field
diff_cu_chroma_qp_offset_depth: u8

Native field diff_cu_chroma_qp_offset_depth.

chroma_qp_offset_list_len_minus1

Field
chroma_qp_offset_list_len_minus1: u8

Native field chroma_qp_offset_list_len_minus1.

cb_qp_offset_list

Field
cb_qp_offset_list: [i8; 6]

Native field cb_qp_offset_list.

cr_qp_offset_list

Field
cr_qp_offset_list: [i8; 6]

Native field cr_qp_offset_list.

log2_sao_offset_scale_luma

Field
log2_sao_offset_scale_luma: u8

Native field log2_sao_offset_scale_luma.

log2_sao_offset_scale_chroma

Field
log2_sao_offset_scale_chroma: u8

Native field log2_sao_offset_scale_chroma.

pps_act_y_qp_offset_plus5

Field
pps_act_y_qp_offset_plus5: i8

Native field pps_act_y_qp_offset_plus5.

pps_act_cb_qp_offset_plus5

Field
pps_act_cb_qp_offset_plus5: i8

Native field pps_act_cb_qp_offset_plus5.

pps_act_cr_qp_offset_plus3

Field
pps_act_cr_qp_offset_plus3: i8

Native field pps_act_cr_qp_offset_plus3.

pps_num_palette_predictor_initializers

Field
pps_num_palette_predictor_initializers: u8

Native field pps_num_palette_predictor_initializers.

luma_bit_depth_entry_minus8

Field
luma_bit_depth_entry_minus8: u8

Native field luma_bit_depth_entry_minus8.

chroma_bit_depth_entry_minus8

Field
chroma_bit_depth_entry_minus8: u8

Native field chroma_bit_depth_entry_minus8.

num_tile_columns_minus1

Field
num_tile_columns_minus1: u8

Native field num_tile_columns_minus1.

num_tile_rows_minus1

Field
num_tile_rows_minus1: u8

Native field num_tile_rows_minus1.

reserved1

Field
reserved1: u8

Native field reserved1.

reserved2

Field
reserved2: u8

Native field reserved2.

column_width_minus1

Field
column_width_minus1: [u16; 19]

Native field column_width_minus1.

row_height_minus1

Field
row_height_minus1: [u16; 21]

Native field row_height_minus1.

reserved3

Field
reserved3: u32

Native field reserved3.

p_scaling_lists

Field
p_scaling_lists: *const StdVideoH265ScalingLists

Native field pScalingLists.

p_predictor_palette_entries

Field
p_predictor_palette_entries: *const StdVideoH265PredictorPaletteEntries

Native field pPredictorPaletteEntries.

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: StdVideoH265PpsFlags) -> Self

Set native field flags without native effects.

set_pps_pic_parameter_set_id

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

Set native field pps_pic_parameter_set_id without native effects.

set_pps_seq_parameter_set_id

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

Set native field pps_seq_parameter_set_id without native effects.

set_sps_video_parameter_set_id

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

Set native field sps_video_parameter_set_id without native effects.

set_num_extra_slice_header_bits

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

Set native field num_extra_slice_header_bits without native effects.

set_num_ref_idx_l0_default_active_minus1

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

Set native field num_ref_idx_l0_default_active_minus1 without native effects.

set_num_ref_idx_l1_default_active_minus1

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

Set native field num_ref_idx_l1_default_active_minus1 without native effects.

set_init_qp_minus26

Method
pub fn set_init_qp_minus26(self, value: i8) -> Self

Set native field init_qp_minus26 without native effects.

set_diff_cu_qp_delta_depth

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

Set native field diff_cu_qp_delta_depth without native effects.

set_pps_cb_qp_offset

Method
pub fn set_pps_cb_qp_offset(self, value: i8) -> Self

Set native field pps_cb_qp_offset without native effects.

set_pps_cr_qp_offset

Method
pub fn set_pps_cr_qp_offset(self, value: i8) -> Self

Set native field pps_cr_qp_offset without native effects.

set_pps_beta_offset_div2

Method
pub fn set_pps_beta_offset_div2(self, value: i8) -> Self

Set native field pps_beta_offset_div2 without native effects.

set_pps_tc_offset_div2

Method
pub fn set_pps_tc_offset_div2(self, value: i8) -> Self

Set native field pps_tc_offset_div2 without native effects.

set_log2_parallel_merge_level_minus2

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

Set native field log2_parallel_merge_level_minus2 without native effects.

set_log2_max_transform_skip_block_size_minus2

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

Set native field log2_max_transform_skip_block_size_minus2 without native effects.

set_diff_cu_chroma_qp_offset_depth

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

Set native field diff_cu_chroma_qp_offset_depth without native effects.

set_chroma_qp_offset_list_len_minus1

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

Set native field chroma_qp_offset_list_len_minus1 without native effects.

set_cb_qp_offset_list

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

Set native field cb_qp_offset_list without native effects.

set_cr_qp_offset_list

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

Set native field cr_qp_offset_list without native effects.

set_log2_sao_offset_scale_luma

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

Set native field log2_sao_offset_scale_luma without native effects.

set_log2_sao_offset_scale_chroma

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

Set native field log2_sao_offset_scale_chroma without native effects.

set_pps_act_y_qp_offset_plus5

Method
pub fn set_pps_act_y_qp_offset_plus5(self, value: i8) -> Self

Set native field pps_act_y_qp_offset_plus5 without native effects.

set_pps_act_cb_qp_offset_plus5

Method
pub fn set_pps_act_cb_qp_offset_plus5(self, value: i8) -> Self

Set native field pps_act_cb_qp_offset_plus5 without native effects.

set_pps_act_cr_qp_offset_plus3

Method
pub fn set_pps_act_cr_qp_offset_plus3(self, value: i8) -> Self

Set native field pps_act_cr_qp_offset_plus3 without native effects.

set_pps_num_palette_predictor_initializers

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

Set native field pps_num_palette_predictor_initializers without native effects.

set_luma_bit_depth_entry_minus8

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

Set native field luma_bit_depth_entry_minus8 without native effects.

set_chroma_bit_depth_entry_minus8

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

Set native field chroma_bit_depth_entry_minus8 without native effects.

set_num_tile_columns_minus1

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

Set native field num_tile_columns_minus1 without native effects.

set_num_tile_rows_minus1

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

Set native field num_tile_rows_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_column_width_minus1

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

Set native field column_width_minus1 without native effects.

set_row_height_minus1

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

Set native field row_height_minus1 without native effects.

set_reserved3

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

Set native field reserved3 without native effects.

set_scaling_lists

Method
pub fn set_scaling_lists(self, value: &'a StdVideoH265ScalingLists) -> Self

Set native field pScalingLists without native effects.

set_predictor_palette_entries

Method
pub fn set_predictor_palette_entries( self, value: &'a StdVideoH265PredictorPaletteEntries, ) -> Self

Set native field pPredictorPaletteEntries without native effects.

clone

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