pub struct VuiParameters {
pub aspect_ratio_info: AspectRatioInfo,
pub overscan_appropriate_flag: Option<bool>,
pub video_signal_type: VideoSignalType,
pub chroma_loc_info: Option<ChromaLocInfo>,
pub neutral_chroma_indication_flag: bool,
pub field_seq_flag: bool,
pub frame_field_info_present_flag: bool,
pub default_display_window: DefaultDisplayWindow,
pub vui_timing_info: Option<VuiTimingInfo>,
pub bitstream_restriction: BitStreamRestriction,
}
Expand description
VUI parameters.
vui_parameters()
- ISO/IEC 23008-2 - E.2.1
- ISO/IEC 23008-2 - E.3.1
Fields§
§aspect_ratio_info: AspectRatioInfo
AspectRatioInfo
if aspect_ratio_info_present_flag
is true
.
overscan_appropriate_flag: Option<bool>
Equal to true
indicates that the cropped decoded pictures output are suitable
for display using overscan.
Equal to false
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. Instead, they should be displayed
using either an exact match between the display area and the conformance cropping window, or using underscan.
As used in this paragraph, the term “overscan” refers to display processes in which some parts near the
borders of the cropped decoded pictures are not visible in the display area. The term “underscan” describes
display processes in which the entire cropped decoded pictures are visible in the display area, but they do
not cover the entire display area. For display processes that neither use overscan nor underscan, the display
area exactly matches the area of the cropped decoded pictures.
Only present if overscan_info_present_flag
is true
.
video_signal_type: VideoSignalType
video_format
, video_full_range_flag
and colour_primaries
, if video_signal_type_present_flag
is true
.
See VideoSignalType
for details.
chroma_loc_info: Option<ChromaLocInfo>
chroma_sample_loc_type_top_field
and chroma_sample_loc_type_bottom_field
, if chroma_loc_info_present_flag
is true
.
See ChromaLocInfo
for details.
neutral_chroma_indication_flag: bool
Equal to true
indicates that the value of all decoded chroma samples is
equal to 1 << (BitDepthC − 1)
.
Equal to false
provides no indication of decoded chroma sample values.
field_seq_flag: bool
Equal to 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.
Equal to 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
Equal to 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.
Equal to false
specifies that the pic_struct
syntax element is not present in
picture timing SEI messages.
default_display_window: DefaultDisplayWindow
def_disp_win_left_offset
, def_disp_win_right_offset
, def_disp_win_top_offset
and def_disp_win_bottom_offset
,
if default_display_window_flag
is true
.
See DefaultDisplayWindow
for details.
vui_timing_info: Option<VuiTimingInfo>
vui_num_units_in_tick
, vui_time_scale
, vui_poc_proportional_to_timing_flag
and vui_num_ticks_poc_diff_one_minus1
,
if vui_timing_info_present_flag
is true
.
See VuiTimingInfo
for details.
bitstream_restriction: BitStreamRestriction
tiles_fixed_structure_flag
, motion_vectors_over_pic_boundaries_flag
, restricted_ref_pic_lists_flag
,
min_spatial_segmentation_idc
, max_bytes_per_pic_denom
, max_bits_per_min_cu_denom
,
log2_max_mv_length_horizontal
and log2_max_mv_length_vertical
, if bitstream_restriction_flag
is true
.
See BitStreamRestriction
for details.
Trait Implementations§
Source§impl Clone for VuiParameters
impl Clone for VuiParameters
Source§fn clone(&self) -> VuiParameters
fn clone(&self) -> VuiParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more