pub struct StdVideoH265SequenceParameterSetVui<'a> {Show 26 fields
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 */
}Expand description
Native structure StdVideoH265SequenceParameterSetVui.
Khronos registry source: StdVideoH265SequenceParameterSetVui
Fields§
§flags: StdVideoH265SpsVuiFlagsNative field flags.
aspect_ratio_idc: StdVideoH265AspectRatioIdcNative field aspect_ratio_idc.
sar_width: u16Native field sar_width.
sar_height: u16Native field sar_height.
video_format: u8Native field video_format.
colour_primaries: u8Native field colour_primaries.
transfer_characteristics: u8Native field transfer_characteristics.
matrix_coeffs: u8Native field matrix_coeffs.
chroma_sample_loc_type_top_field: u8Native field chroma_sample_loc_type_top_field.
chroma_sample_loc_type_bottom_field: u8Native field chroma_sample_loc_type_bottom_field.
reserved1: u8Native field reserved1.
reserved2: u8Native field reserved2.
def_disp_win_left_offset: u16Native field def_disp_win_left_offset.
def_disp_win_right_offset: u16Native field def_disp_win_right_offset.
def_disp_win_top_offset: u16Native field def_disp_win_top_offset.
def_disp_win_bottom_offset: u16Native field def_disp_win_bottom_offset.
vui_num_units_in_tick: u32Native field vui_num_units_in_tick.
vui_time_scale: u32Native field vui_time_scale.
vui_num_ticks_poc_diff_one_minus1: u32Native field vui_num_ticks_poc_diff_one_minus1.
min_spatial_segmentation_idc: u16Native field min_spatial_segmentation_idc.
reserved3: u16Native field reserved3.
max_bytes_per_pic_denom: u8Native field max_bytes_per_pic_denom.
max_bits_per_min_cu_denom: u8Native field max_bits_per_min_cu_denom.
log2_max_mv_length_horizontal: u8Native field log2_max_mv_length_horizontal.
log2_max_mv_length_vertical: u8Native field log2_max_mv_length_vertical.
p_hrd_parameters: *const StdVideoH265HrdParameters<'a>Native field pHrdParameters.
Implementations§
Source§impl<'a> StdVideoH265SequenceParameterSetVui<'a>
impl<'a> StdVideoH265SequenceParameterSetVui<'a>
Sourcepub fn set_flags(self, value: StdVideoH265SpsVuiFlags) -> Self
pub fn set_flags(self, value: StdVideoH265SpsVuiFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_aspect_ratio_idc(self, value: StdVideoH265AspectRatioIdc) -> Self
pub fn set_aspect_ratio_idc(self, value: StdVideoH265AspectRatioIdc) -> Self
Set native field aspect_ratio_idc without native effects.
Sourcepub fn set_sar_width(self, value: u16) -> Self
pub fn set_sar_width(self, value: u16) -> Self
Set native field sar_width without native effects.
Sourcepub fn set_sar_height(self, value: u16) -> Self
pub fn set_sar_height(self, value: u16) -> Self
Set native field sar_height without native effects.
Sourcepub fn set_video_format(self, value: u8) -> Self
pub fn set_video_format(self, value: u8) -> Self
Set native field video_format without native effects.
Sourcepub fn set_colour_primaries(self, value: u8) -> Self
pub fn set_colour_primaries(self, value: u8) -> Self
Set native field colour_primaries without native effects.
Sourcepub fn set_transfer_characteristics(self, value: u8) -> Self
pub fn set_transfer_characteristics(self, value: u8) -> Self
Set native field transfer_characteristics without native effects.
Sourcepub fn set_matrix_coeffs(self, value: u8) -> Self
pub fn set_matrix_coeffs(self, value: u8) -> Self
Set native field matrix_coeffs without native effects.
Sourcepub fn set_chroma_sample_loc_type_top_field(self, value: u8) -> Self
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.
Sourcepub fn set_chroma_sample_loc_type_bottom_field(self, value: u8) -> Self
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.
Sourcepub fn set_reserved1(self, value: u8) -> Self
pub fn set_reserved1(self, value: u8) -> Self
Set native field reserved1 without native effects.
Sourcepub fn set_reserved2(self, value: u8) -> Self
pub fn set_reserved2(self, value: u8) -> Self
Set native field reserved2 without native effects.
Sourcepub fn set_def_disp_win_left_offset(self, value: u16) -> Self
pub fn set_def_disp_win_left_offset(self, value: u16) -> Self
Set native field def_disp_win_left_offset without native effects.
Sourcepub fn set_def_disp_win_right_offset(self, value: u16) -> Self
pub fn set_def_disp_win_right_offset(self, value: u16) -> Self
Set native field def_disp_win_right_offset without native effects.
Sourcepub fn set_def_disp_win_top_offset(self, value: u16) -> Self
pub fn set_def_disp_win_top_offset(self, value: u16) -> Self
Set native field def_disp_win_top_offset without native effects.
Sourcepub fn set_def_disp_win_bottom_offset(self, value: u16) -> Self
pub fn set_def_disp_win_bottom_offset(self, value: u16) -> Self
Set native field def_disp_win_bottom_offset without native effects.
Sourcepub fn set_vui_num_units_in_tick(self, value: u32) -> Self
pub fn set_vui_num_units_in_tick(self, value: u32) -> Self
Set native field vui_num_units_in_tick without native effects.
Sourcepub fn set_vui_time_scale(self, value: u32) -> Self
pub fn set_vui_time_scale(self, value: u32) -> Self
Set native field vui_time_scale without native effects.
Sourcepub fn set_vui_num_ticks_poc_diff_one_minus1(self, value: u32) -> Self
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.
Sourcepub fn set_min_spatial_segmentation_idc(self, value: u16) -> Self
pub fn set_min_spatial_segmentation_idc(self, value: u16) -> Self
Set native field min_spatial_segmentation_idc without native effects.
Sourcepub fn set_reserved3(self, value: u16) -> Self
pub fn set_reserved3(self, value: u16) -> Self
Set native field reserved3 without native effects.
Sourcepub fn set_max_bytes_per_pic_denom(self, value: u8) -> Self
pub fn set_max_bytes_per_pic_denom(self, value: u8) -> Self
Set native field max_bytes_per_pic_denom without native effects.
Sourcepub fn set_max_bits_per_min_cu_denom(self, value: u8) -> Self
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.
Sourcepub fn set_log2_max_mv_length_horizontal(self, value: u8) -> Self
pub fn set_log2_max_mv_length_horizontal(self, value: u8) -> Self
Set native field log2_max_mv_length_horizontal without native effects.
Sourcepub fn set_log2_max_mv_length_vertical(self, value: u8) -> Self
pub fn set_log2_max_mv_length_vertical(self, value: u8) -> Self
Set native field log2_max_mv_length_vertical without native effects.
Sourcepub fn set_hrd_parameters(
self,
value: &'a StdVideoH265HrdParameters<'a>,
) -> Self
pub fn set_hrd_parameters( self, value: &'a StdVideoH265HrdParameters<'a>, ) -> Self
Set native field pHrdParameters without native effects.