pub struct VuiParams {Show 34 fields
pub aspect_ratio_info_present_flag: bool,
pub aspect_ratio_idc: u8,
pub sar_width: u16,
pub sar_height: u16,
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: u8,
pub transfer_characteristics: u8,
pub matrix_coefficients: u8,
pub chroma_loc_info_present_flag: bool,
pub chroma_sample_loc_type_top_field: u8,
pub chroma_sample_loc_type_bottom_field: u8,
pub timing_info_present_flag: bool,
pub num_units_in_tick: u32,
pub time_scale: u32,
pub fixed_frame_rate_flag: bool,
pub nal_hrd_parameters_present_flag: bool,
pub nal_hrd_parameters: HrdParams,
pub vcl_hrd_parameters_present_flag: bool,
pub vcl_hrd_parameters: HrdParams,
pub low_delay_hrd_flag: bool,
pub pic_struct_present_flag: bool,
pub bitstream_restriction_flag: bool,
pub motion_vectors_over_pic_boundaries_flag: bool,
pub max_bytes_per_pic_denom: u32,
pub max_bits_per_mb_denom: u32,
pub log2_max_mv_length_horizontal: u32,
pub log2_max_mv_length_vertical: u32,
pub max_num_reorder_frames: u32,
pub max_dec_frame_buffering: u32,
}Fields§
§aspect_ratio_info_present_flag: boolSpecifies whether aspect_ratio_idc is present.
aspect_ratio_idc: u8Specifies the value of the sample aspect ratio of the luma samples. Table E-1 shows the meaning of the code. When aspect_ratio_idc indicates Extended_SAR, the sample aspect ratio is represented by sar_width : sar_height. When the aspect_ratio_idc syntax element is not present, aspect_ratio_idc value shall be inferred to be equal to 0
sar_width: u16Indicates the horizontal size of the sample aspect ratio (in arbitrary units)
sar_height: u16Indicates the vertical size of the sample aspect ratio (in the same arbitrary units as sar_width).
overscan_info_present_flag: boolIf true specifies that the overscan_appropriate_flag is present. Else, the preferred display method for the video signal is unspecified
overscan_appropriate_flag: boolIf true, indicates that the cropped decoded pictures output are suitable for display using overscan. Else, indicates that the cropped decoded pictures output contain visually important information in the entire region out to the edges of the cropping rectangle of the picture, such that the cropped decoded pictures output should not be displayed using overscan.
video_signal_type_present_flag: boolSpecifies that video_format, video_full_range_flag and colour_description_present_flag are present
video_format: u8Indicates the representation of the pictures as specified in Table E-2, before being coded in accordance with this Recommendation | International Standard. When the video_format syntax element is not present, video_format value shall be inferred to be equal to 5.
video_full_range_flag: boolIndicates 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: boolSpecifies that colour_primaries, transfer_characteristics and matrix_coefficients are present.
colour_primaries: u8Indicates 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 by ISO 11664-1.
transfer_characteristics: u8Retains same meaning as in the specification.
matrix_coefficients: u8Describes 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: boolSpecifies that chroma_sample_loc_type_top_field and chroma_sample_loc_type_bottom_field are present
chroma_sample_loc_type_top_field: u8Specify the location of chroma samples. See the spec for more details.
chroma_sample_loc_type_bottom_field: u8Specify the location of chroma samples. See the spec for more details.
timing_info_present_flag: boolSpecifies that num_units_in_tick, time_scale and fixed_frame_rate_flag are present in the bitstream
num_units_in_tick: u32The number of time units of a clock operating at the frequency time_scale Hz that corresponds to one increment (called a clock tick) of a clock tick counter
time_scale: u32The 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 time_scale of 27 000 000. time_scale shall be greater than 0.
fixed_frame_rate_flag: boolRetains the same meaning as the specification.
nal_hrd_parameters_present_flag: boolSpecifies that NAL HRD parameters (pertaining to Type II bitstream conformance) are present.
nal_hrd_parameters: HrdParamsThe NAL HDR parameters
vcl_hrd_parameters_present_flag: boolSpecifies that VCL HRD parameters (pertaining to all bitstream conformance) are present.
vcl_hrd_parameters: HrdParamsThe VCL HRD parameters
low_delay_hrd_flag: boolSpecifies the HRD operational mode as specified in Annex C.
pic_struct_present_flag: boolSpecifies that picture timing SEI messages (clause D.2.3) are present that include the pic_struct syntax element.
bitstream_restriction_flag: boolSpecifies that the following coded video sequence bitstream restriction parameters are present
motion_vectors_over_pic_boundaries_flag: boolIf 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. If true, indicates that one or more samples outside picture boundaries may be used in inter prediction. When the motion_vectors_over_pic_boundaries_flag syntax element is not present, motion_vectors_over_pic_boundaries_flag value shall be inferred to be true.
max_bytes_per_pic_denom: u32Indicates a number of bytes not exceeded by the sum of the sizes of the VCL NAL units associated with any coded picture in the coded video sequence.
max_bits_per_mb_denom: u32Indicates an upper bound for the number of coded bits of macroblock_layer( ) data for any macroblock in any picture of the coded video sequence
log2_max_mv_length_horizontal: u32Retains the same meaning as the specification.
log2_max_mv_length_vertical: u32Retains the same meaning as the specification.
max_num_reorder_frames: u32Indicates an upper bound for the number of frames buffers, in the decoded picture buffer (DPB), that are required for storing frames, complementary field pairs, and non-paired fields before output. It is a requirement of bitstream conformance that the maximum number of frames, complementary field pairs, or non-paired fields that precede any frame, complementary field pair, or non-paired field in the coded video sequence in decoding order and follow it in output order shall be less than or equal to max_num_reorder_frames. The value of max_num_reorder_frames shall be in the range of 0 to max_dec_frame_buffering, inclusive.
When the max_num_reorder_frames syntax element is not present, the value of max_num_reorder_frames value shall be inferred as follows: If profile_idc is equal to 44, 86, 100, 110, 122, or 244 and constraint_set3_flag is equal to 1, the value of max_num_reorder_frames shall be inferred to be equal to 0.
Otherwise (profile_idc is not equal to 44, 86, 100, 110, 122, or 244 or constraint_set3_flag is equal to 0), the value of max_num_reorder_frames shall be inferred to be equal to MaxDpbFrames.
max_dec_frame_buffering: u32Specifies the required size of the HRD decoded picture buffer (DPB) in units of frame buffers. It is a requirement of bitstream conformance that the coded video sequence shall not require a decoded picture buffer with size of more than Max( 1, max_dec_frame_buffering ) frame buffers to enable the output of decoded pictures at the output times specified by dpb_output_delay of the picture timing SEI messages. The value of max_dec_frame_buffering shall be greater than or equal to max_num_ref_frames. An upper bound for the value of max_dec_frame_buffering is specified by the level limits in clauses A.3.1, A.3.2, G.10.2.1, and H.10.2.
When the max_dec_frame_buffering syntax element is not present, the value of max_dec_frame_buffering shall be inferred as follows:
If profile_idc is equal to 44, 86, 100, 110, 122, or 244 and constraint_set3_flag is equal to 1, the value of max_dec_frame_buffering shall be inferred to be equal to 0.
Otherwise (profile_idc is not equal to 44, 86, 100, 110, 122, or 244 or constraint_set3_flag is equal to 0), the value of max_dec_frame_buffering shall be inferred to be equal to MaxDpbFrames.