#[repr(C)]pub struct Dav1dSequenceHeader {Show 53 fields
pub profile: u8,
pub max_width: c_int,
pub max_height: c_int,
pub layout: Dav1dPixelLayout,
pub pri: Dav1dColorPrimaries,
pub trc: Dav1dTransferCharacteristics,
pub mtrx: Dav1dMatrixCoefficients,
pub chr: Dav1dChromaSamplePosition,
pub hbd: u8,
pub color_range: u8,
pub num_operating_points: u8,
pub operating_points: [Dav1dSequenceHeader_Dav1dSequenceHeaderOperatingPoint; 32],
pub still_picture: u8,
pub reduced_still_picture_header: u8,
pub timing_info_present: u8,
pub num_units_in_tick: u32,
pub time_scale: u32,
pub equal_picture_interval: u8,
pub num_ticks_per_picture: u32,
pub decoder_model_info_present: u8,
pub encoder_decoder_buffer_delay_length: u8,
pub num_units_in_decoding_tick: u32,
pub buffer_removal_delay_length: u8,
pub frame_presentation_delay_length: u8,
pub display_model_info_present: u8,
pub width_n_bits: u8,
pub height_n_bits: u8,
pub frame_id_numbers_present: u8,
pub delta_frame_id_n_bits: u8,
pub frame_id_n_bits: u8,
pub sb128: u8,
pub filter_intra: u8,
pub intra_edge_filter: u8,
pub inter_intra: u8,
pub masked_compound: u8,
pub warped_motion: u8,
pub dual_filter: u8,
pub order_hint: u8,
pub jnt_comp: u8,
pub ref_frame_mvs: u8,
pub screen_content_tools: Dav1dAdaptiveBoolean,
pub force_integer_mv: Dav1dAdaptiveBoolean,
pub order_hint_n_bits: u8,
pub super_res: u8,
pub cdef: u8,
pub restoration: u8,
pub ss_hor: u8,
pub ss_ver: u8,
pub monochrome: u8,
pub color_description_present: u8,
pub separate_uv_delta_q: u8,
pub film_grain_present: u8,
pub operating_parameter_info: [Dav1dSequenceHeader_Dav1dSequenceHeaderOperatingParameterInfo; 32],
}Fields§
§profile: u8Stream profile, 0 for 8-10 bits/component 4:2:0 or monochrome; 1 for 8-10 bits/component 4:4:4; 2 for 4:2:2 at any bits/component, or 12 bits/component at any chroma subsampling.
max_width: c_intMaximum dimensions for this stream. In non-scalable streams, these are often the actual dimensions of the stream, although that is not a normative requirement.
max_height: c_intMaximum dimensions for this stream. In non-scalable streams, these are often the actual dimensions of the stream, although that is not a normative requirement.
layout: Dav1dPixelLayout< format of the picture
pri: Dav1dColorPrimaries< color primaries (av1)
trc: Dav1dTransferCharacteristics< transfer characteristics (av1)
mtrx: Dav1dMatrixCoefficients< matrix coefficients (av1)
chr: Dav1dChromaSamplePosition< chroma sample position (av1)
hbd: u80, 1 and 2 mean 8, 10 or 12 bits/component, respectively. This is not exactly the same as ‘hbd’ from the spec; the spec’s hbd distinguishes between 8 (0) and 10-12 (1) bits/component, and another element (twelve_bit) to distinguish between 10 and 12 bits/component. To get the spec’s hbd, use !!our_hbd, and to get twelve_bit, use hbd == 2.
color_range: u8Pixel data uses JPEG pixel range ([0,255] for 8bits) instead of MPEG pixel range ([16,235] for 8bits luma, [16,240] for 8bits chroma).
num_operating_points: u8§operating_points: [Dav1dSequenceHeader_Dav1dSequenceHeaderOperatingPoint; 32]§still_picture: u8§reduced_still_picture_header: u8§timing_info_present: u8§num_units_in_tick: u32§time_scale: u32§equal_picture_interval: u8§num_ticks_per_picture: u32§decoder_model_info_present: u8§encoder_decoder_buffer_delay_length: u8§num_units_in_decoding_tick: u32§buffer_removal_delay_length: u8§frame_presentation_delay_length: u8§display_model_info_present: u8§width_n_bits: u8§height_n_bits: u8§frame_id_numbers_present: u8§delta_frame_id_n_bits: u8§frame_id_n_bits: u8§sb128: u8§filter_intra: u8§intra_edge_filter: u8§inter_intra: u8§masked_compound: u8§warped_motion: u8§dual_filter: u8§order_hint: u8§jnt_comp: u8§ref_frame_mvs: u8§screen_content_tools: Dav1dAdaptiveBoolean§force_integer_mv: Dav1dAdaptiveBoolean§order_hint_n_bits: u8§super_res: u8§cdef: u8§restoration: u8§ss_hor: u8§ss_ver: u8§monochrome: u8§color_description_present: u8§separate_uv_delta_q: u8§film_grain_present: u8§operating_parameter_info: [Dav1dSequenceHeader_Dav1dSequenceHeaderOperatingParameterInfo; 32]Trait Implementations§
Source§impl Clone for Dav1dSequenceHeader
impl Clone for Dav1dSequenceHeader
Source§fn clone(&self) -> Dav1dSequenceHeader
fn clone(&self) -> Dav1dSequenceHeader
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more