pub struct StdVideoH264SequenceParameterSetVui<'a> {Show 16 fields
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 */
}Expand description
Native structure StdVideoH264SequenceParameterSetVui.
Khronos registry source: StdVideoH264SequenceParameterSetVui
Fields§
§flags: StdVideoH264SpsVuiFlagsNative field flags.
aspect_ratio_idc: StdVideoH264AspectRatioIdcNative 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_coefficients: u8Native field matrix_coefficients.
num_units_in_tick: u32Native field num_units_in_tick.
time_scale: u32Native field time_scale.
max_num_reorder_frames: u8Native field max_num_reorder_frames.
max_dec_frame_buffering: u8Native field max_dec_frame_buffering.
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: u32Native field reserved1.
p_hrd_parameters: *const StdVideoH264HrdParametersNative field pHrdParameters.
Implementations§
Source§impl<'a> StdVideoH264SequenceParameterSetVui<'a>
impl<'a> StdVideoH264SequenceParameterSetVui<'a>
Sourcepub fn set_flags(self, value: StdVideoH264SpsVuiFlags) -> Self
pub fn set_flags(self, value: StdVideoH264SpsVuiFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_aspect_ratio_idc(self, value: StdVideoH264AspectRatioIdc) -> Self
pub fn set_aspect_ratio_idc(self, value: StdVideoH264AspectRatioIdc) -> 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_coefficients(self, value: u8) -> Self
pub fn set_matrix_coefficients(self, value: u8) -> Self
Set native field matrix_coefficients without native effects.
Sourcepub fn set_num_units_in_tick(self, value: u32) -> Self
pub fn set_num_units_in_tick(self, value: u32) -> Self
Set native field num_units_in_tick without native effects.
Sourcepub fn set_time_scale(self, value: u32) -> Self
pub fn set_time_scale(self, value: u32) -> Self
Set native field time_scale without native effects.
Sourcepub fn set_max_num_reorder_frames(self, value: u8) -> Self
pub fn set_max_num_reorder_frames(self, value: u8) -> Self
Set native field max_num_reorder_frames without native effects.
Sourcepub fn set_max_dec_frame_buffering(self, value: u8) -> Self
pub fn set_max_dec_frame_buffering(self, value: u8) -> Self
Set native field max_dec_frame_buffering 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: u32) -> Self
pub fn set_reserved1(self, value: u32) -> Self
Set native field reserved1 without native effects.
Sourcepub fn set_hrd_parameters(self, value: &'a StdVideoH264HrdParameters) -> Self
pub fn set_hrd_parameters(self, value: &'a StdVideoH264HrdParameters) -> Self
Set native field pHrdParameters without native effects.