pub struct BitStreamRestriction {
pub tiles_fixed_structure_flag: bool,
pub motion_vectors_over_pic_boundaries_flag: bool,
pub restricted_ref_pic_lists_flag: Option<bool>,
pub min_spatial_segmentation_idc: 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,
}
Expand description
Directly part of VuiParameters
.
Fields§
§tiles_fixed_structure_flag: bool
Equal to true
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.
Equal to false
indicates that tiles syntax elements in different PPSs may or
may not have the same value.
motion_vectors_over_pic_boundaries_flag: bool
Equal to false
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.
Equal to true
indicates that one or more samples outside the
picture boundaries may be used in inter prediction.
restricted_ref_pic_lists_flag: Option<bool>
Equal to Some(true)
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: u16
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.
The value is in range [0, 4095].
Defines minSpatialSegmentationTimes4
.
max_bytes_per_pic_denom: u8
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.
The number of bytes that represent a picture in the NAL unit stream is specified for this purpose as the
total number of bytes of VCL NAL unit data (i.e. the total of the NumBytesInNalUnit
variables for the VCL
NAL units) for the picture.
The value is in range [0, 16].
max_bits_per_min_cu_denom: u8
Indicates an upper bound for the number of coded bits of coding_unit()
data for any coding block in any picture of the CVS.
The value is in range [0, 16].
log2_max_mv_length_horizontal: u8
Indicates 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. A value of n asserts that no value of a motion vector component is outside
the range of [−2n
, 2n − 1
], in units of quarter luma sample displacement, where n
refers to the
value of log2_max_mv_length_horizontal
and
log2_max_mv_length_vertical
for the horizontal and
vertical component of the MV, respectively.
The value is in range [0, 15].
log2_max_mv_length_vertical: u8
Same as log2_max_mv_length_horizontal
.
Implementations§
Source§impl BitStreamRestriction
impl BitStreamRestriction
Sourcepub fn min_spatial_segmentation_times4(&self) -> u16
pub fn min_spatial_segmentation_times4(&self) -> u16
minSpatialSegmentationTimes4 = min_spatial_segmentation_idc + 4
(E-72)
ISO/IEC 23008-2 - E.3.1
Trait Implementations§
Source§impl Clone for BitStreamRestriction
impl Clone for BitStreamRestriction
Source§fn clone(&self) -> BitStreamRestriction
fn clone(&self) -> BitStreamRestriction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more