Struct VuiParams

Source
pub struct VuiParams {
Show 40 fields pub aspect_ratio_info_present_flag: bool, pub aspect_ratio_idc: u32, pub sar_width: u32, pub sar_height: u32, pub overscan_info_present_flag: bool, pub overscan_appropriate_flag: bool, pub video_signal_type_present_flag: bool, pub video_format: u8, pub video_full_range_flag: bool, pub colour_description_present_flag: bool, pub colour_primaries: u32, pub transfer_characteristics: u32, pub matrix_coeffs: u32, pub chroma_loc_info_present_flag: bool, pub chroma_sample_loc_type_top_field: u32, pub chroma_sample_loc_type_bottom_field: u32, pub neutral_chroma_indication_flag: bool, pub field_seq_flag: bool, pub frame_field_info_present_flag: bool, pub default_display_window_flag: bool, pub def_disp_win_left_offset: u32, pub def_disp_win_right_offset: u32, pub def_disp_win_top_offset: u32, pub def_disp_win_bottom_offset: u32, pub timing_info_present_flag: bool, pub num_units_in_tick: u32, pub time_scale: u32, pub poc_proportional_to_timing_flag: bool, pub num_ticks_poc_diff_one_minus1: u32, pub hrd_parameters_present_flag: bool, pub hrd: HrdParams, pub bitstream_restriction_flag: bool, pub tiles_fixed_structure_flag: bool, pub motion_vectors_over_pic_boundaries_flag: bool, pub restricted_ref_pic_lists_flag: bool, pub min_spatial_segmentation_idc: u32, pub max_bytes_per_pic_denom: u32, pub max_bits_per_min_cu_denom: u32, pub log2_max_mv_length_horizontal: u32, pub log2_max_mv_length_vertical: u32,
}

Fields§

§aspect_ratio_info_present_flag: bool

When set, specifies that aspect_ratio_idc is present. When not set, specifies that aspect_ratio_idc is not present.

§aspect_ratio_idc: u32

Specifies the value of the sample aspect ratio of the luma samples.

§sar_width: u32

Indicates the horizontal size of the sample aspect ratio (in arbitrary units).

§sar_height: u32

Indicates the vertical size of the sample aspect ratio (in arbitrary units).

§overscan_info_present_flag: bool

When set, specifies that the overscan_appropriate_flag is present. When not set, the preferred display method for the video signal is unspecified.

§overscan_appropriate_flag: bool

When set indicates that the cropped decoded pictures output are suitable for display using overscan. When not set, indicates that the cropped decoded pictures output contain visually important information in the entire region out to the edges of the conformance cropping window of the picture, such that the cropped decoded pictures output should not be displayed using overscan.

§video_signal_type_present_flag: bool

When set, specifies that video_format, video_full_range_flag and colour_description_present_flag are present. When not set, specify that video_format, video_full_range_flag and colour_description_present_flag are not present.

§video_format: u8

Indicates the representation of the pictures as specified in Table E.2, before being coded in accordance with this Specification.

§video_full_range_flag: bool

Indicates the black level and range of the luma and chroma signals as derived from E′Y, E′PB, and E′PR or E′R, E′G, and E′B real-valued component signals.

§colour_description_present_flag: bool

When set, specifies that colour_primaries, transfer_characteristics, and matrix_coeffs are present. When not set, specifies that colour_primaries, transfer_characteristics, and matrix_coeffs are not present.

§colour_primaries: u32

Indicates the chromaticity coordinates of the source primaries as specified in Table E.3 in terms of the CIE 1931 definition of x and y as specified in ISO 11664-1.

§transfer_characteristics: u32

See table E.4 in the specification.

§matrix_coeffs: u32

Describes the matrix coefficients used in deriving luma and chroma signals from the green, blue, and red, or Y, Z, and X primaries, as specified in Table E.5.

§chroma_loc_info_present_flag: bool

When true, specifies that chroma_sample_loc_type_top_field and chroma_sample_loc_type_bottom_field are present. When false, specifies that chroma_sample_loc_type_top_field and chroma_sample_loc_type_bottom_field are not present.

§chroma_sample_loc_type_top_field: u32

See the specification for more details.

§chroma_sample_loc_type_bottom_field: u32

See the specification for more details.

§neutral_chroma_indication_flag: bool

When true, indicates that the value of all decoded chroma samples is equal to 1 << ( BitDepthC − 1 ). When false, provides no indication of decoded chroma sample values.

§field_seq_flag: bool

When true, indicates that the CVS conveys pictures that represent fields, and specifies that a picture timing SEI message shall be present in every access unit of the current CVS. When false, indicates that the CVS conveys pictures that represent frames and that a picture timing SEI message may or may not be present in any access unit of the current CVS.

§frame_field_info_present_flag: bool

When true, specifies that picture timing SEI messages are present for every picture and include the pic_struct, source_scan_type and duplicate_flag syntax elements. When false, specifies that the pic_struct syntax element is not present in picture timing SEI messages.

§default_display_window_flag: bool

When true, indicates that the default display window parameters follow next in the VUI. When false, indicates that the default display window parameters are not present.

§def_disp_win_left_offset: u32

Specifies the samples of the pictures in the CVS that are within the default display window, in terms of a rectangular region specified in picture coordinates for display.

§def_disp_win_right_offset: u32

Specifies the samples of the pictures in the CVS that are within the default display window, in terms of a rectangular region specified in picture coordinates for display.

§def_disp_win_top_offset: u32

Specifies the samples of the pictures in the CVS that are within the default display window, in terms of a rectangular region specified in picture coordinates for display.

§def_disp_win_bottom_offset: u32

Specifies the samples of the pictures in the CVS that are within the default display window, in terms of a rectangular region specified in picture coordinates for display.

§timing_info_present_flag: bool

When set, specifies that vui_num_units_in_tick, vui_time_scale, vui_poc_proportional_to_timing_flag and vui_hrd_parameters_present_flag are present in the vui_parameters( ) syntax structure. When not set, specifies that vui_num_units_in_tick, vui_time_scale, vui_poc_proportional_to_timing_flag and vui_hrd_parameters_present_flag are not present in the vui_parameters( ) syntax structure

§num_units_in_tick: u32

The number of time units of a clock operating at the frequency vui_time_scale Hz that corresponds to one increment (called a clock tick) of a clock tick counter.

§time_scale: u32

Is the number of time units that pass in one second. For example, a time coordinate system that measures time using a 27 MHz clock has a vui_time_scale of 27 000 000.

§poc_proportional_to_timing_flag: bool

When set, indicates that the picture order count value for each picture in the CVS that is not the first picture in the CVS, in decoding order, is proportional to the output time of the picture relative to the output time of the first picture in the CVS. When not set, indicates that the picture order count value for each picture in the CVS that is not the first picture in the CVS, in decoding order, may or may not be proportional to the output time of the picture relative to the output time of the first picture in the CVS.

§num_ticks_poc_diff_one_minus1: u32

vui_num_ticks_poc_diff_one_minus1 plus 1 specifies the number of clock ticks corresponding to a difference of picture order count values equal to 1.

§hrd_parameters_present_flag: bool

When set, specifies that the syntax structure hrd_parameters( ) is present in the vui_parameters( ) syntax structure. When not set, specifies that the syntax structure hrd_parameters( ) is not present in the vui_parameters( ) syntax structure.

§hrd: HrdParams

The hrd_parameters() data.

§bitstream_restriction_flag: bool

When set, specifies that the bitstream restriction parameters for the CVS are present. When not set, specifies that the bitstream restriction parameters for the CVS are not present.

§tiles_fixed_structure_flag: bool

When set, indicates that each PPS that is active in the CVS has the same value of the syntax elements num_tile_columns_minus1, num_tile_rows_minus1, uniform_spacing_flag, column_width_minus1[ i ], row_height_minus1[ i ] and loop_filter_across_tiles_enabled_flag, when present. When not set, indicates that tiles syntax elements in different PPSs may or may not have the same value

§motion_vectors_over_pic_boundaries_flag: bool

When not set, indicates that no sample outside the picture boundaries and no sample at a fractional sample position for which the sample value is derived using one or more samples outside the picture boundaries is used for inter prediction of any sample. When set, indicates that one or more samples outside the picture boundaries may be used in inter prediction.

§restricted_ref_pic_lists_flag: bool

When set, indicates that all P and B slices (when present) that belong to the same picture have an identical reference picture list 0 and that all B slices (when present) that belong to the same picture have an identical reference picture list 1.

§min_spatial_segmentation_idc: u32

When not equal to 0, establishes a bound on the maximum possible size of distinct coded spatial segmentation regions in the pictures of the CVS.

§max_bytes_per_pic_denom: u32

Indicates a number of bytes not exceeded by the sum of the sizes of the VCL NAL units associated with any coded picture in the CVS.

§max_bits_per_min_cu_denom: u32

Indicates an upper bound for the number of coded bits of coding_unit( ) data for anycoding block in any picture of the CVS.

§log2_max_mv_length_horizontal: u32

Indicate the maximum absolute value of a decoded horizontal and vertical motion vector component, respectively, in quarter luma sample units, for all pictures in the CVS.

§log2_max_mv_length_vertical: u32

Indicate the maximum absolute value of a decoded horizontal and vertical motion vector component, respectively, in quarter luma sample units, for all pictures in the CVS.

Trait Implementations§

Source§

impl Clone for VuiParams

Source§

fn clone(&self) -> VuiParams

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for VuiParams

Source§

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

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

impl Default for VuiParams

Source§

fn default() -> Self

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

impl PartialEq for VuiParams

Source§

fn eq(&self, other: &VuiParams) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for VuiParams

Source§

impl StructuralPartialEq for VuiParams

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.