pub struct SequenceHeader {Show 36 fields
pub seq_profile: u8,
pub still_picture: bool,
pub reduced_still_picture_header: bool,
pub operating_points: Vec<OperatingPoint>,
pub operating_point_idc: u16,
pub frame_width_bits: u32,
pub frame_height_bits: u32,
pub max_frame_width: u32,
pub max_frame_height: u32,
pub frame_id_numbers_present: bool,
pub delta_frame_id_length: u32,
pub additional_frame_id_length: u32,
pub use_128x128_superblock: bool,
pub enable_filter_intra: bool,
pub enable_intra_edge_filter: bool,
pub enable_interintra_compound: bool,
pub enable_masked_compound: bool,
pub enable_warped_motion: bool,
pub enable_dual_filter: bool,
pub enable_order_hint: bool,
pub enable_jnt_comp: bool,
pub enable_ref_frame_mvs: bool,
pub seq_force_screen_content_tools: u8,
pub seq_force_integer_mv: u8,
pub order_hint_bits: u32,
pub enable_superres: bool,
pub enable_cdef: bool,
pub enable_restoration: bool,
pub color: ColorConfig,
pub film_grain_params_present: bool,
pub decoder_model_info_present: bool,
pub buffer_delay_length: u32,
pub buffer_removal_time_length: u32,
pub frame_presentation_time_length: u32,
pub equal_picture_interval: bool,
pub timing_info_present: bool,
}Expand description
A fully parsed sequence header.
Fields§
§seq_profile: u8seq_profile — 0, 1 or 2.
still_picture: boolWhether the stream is flagged as a single still picture.
reduced_still_picture_header: boolWhether the compact still-picture header form was used.
operating_points: Vec<OperatingPoint>Every operating point in declaration order.
operating_point_idc: u16OperatingPointIdc for the chosen point (point 0): the layer mask the
frame header uses to decide whether to read temporal/spatial IDs.
frame_width_bits: u32Bits used to code a frame width, frame_width_bits_minus_1 + 1.
frame_height_bits: u32Bits used to code a frame height, frame_height_bits_minus_1 + 1.
max_frame_width: u32Maximum frame width in samples.
max_frame_height: u32Maximum frame height in samples.
frame_id_numbers_present: boolWhether frames carry explicit frame-id numbers.
delta_frame_id_length: u32delta_frame_id_length_minus_2 + 2 when ids are present.
additional_frame_id_length: u32additional_frame_id_length_minus_1 + 1 when ids are present.
use_128x128_superblock: boolWhether superblocks are 128x128 (true) or 64x64 (false).
enable_filter_intra: boolWhether filter-intra prediction is enabled.
enable_intra_edge_filter: boolWhether the intra edge filter is enabled.
enable_interintra_compound: boolInter-only tool switches, retained so the frame header parse stays faithful even though a still image never exercises them.
enable_masked_compound: boolWhether masked compound is enabled.
enable_warped_motion: boolWhether warped motion is enabled.
enable_dual_filter: boolWhether the dual interpolation filter is enabled.
enable_order_hint: boolWhether order hints are coded.
enable_jnt_comp: boolWhether jnt_comp (distance-weighted compound) is enabled.
enable_ref_frame_mvs: boolWhether reference-frame motion vectors are enabled.
seq_force_screen_content_tools: u8seq_force_screen_content_tools, possibly the SELECT sentinel.
seq_force_integer_mv: u8seq_force_integer_mv, possibly the SELECT sentinel.
order_hint_bits: u32OrderHintBits — bits used to code an order hint, 0 when disabled.
enable_superres: boolWhether super-resolution is enabled.
enable_cdef: boolWhether CDEF is enabled.
enable_restoration: boolWhether loop restoration is enabled.
color: ColorConfigThe colour configuration.
film_grain_params_present: boolWhether film-grain parameters may appear in frame headers.
decoder_model_info_present: boolWhether a decoder model was signalled (affects the frame header).
buffer_delay_length: u32buffer_delay_length_minus_1 + 1 from the decoder model.
buffer_removal_time_length: u32buffer_removal_time_length_minus_1 + 1 from the decoder model.
frame_presentation_time_length: u32frame_presentation_time_length_minus_1 + 1 from the decoder model.
equal_picture_interval: boolWhether pictures are equally spaced in time.
timing_info_present: boolWhether timing information was present.