Skip to main content

Av1FrameHeader

Struct Av1FrameHeader 

Source
pub struct Av1FrameHeader {
Show 79 fields pub show_frame: bool, pub showable_frame: bool, pub frame_type: Av1FrameType, pub error_resilient_mode: bool, pub disable_cdf_update: bool, pub allow_screen_content_tools: bool, pub force_integer_mv: bool, pub order_hint: u32, pub primary_ref_frame: u8, pub refresh_frame_flags: u8, pub frame_width: u32, pub frame_height: u32, pub render_width: u32, pub render_height: u32, pub use_ref_frame_mvs: bool, pub allow_high_precision_mv: bool, pub is_filter_switchable: bool, pub disable_frame_end_update_cdf: bool, pub allow_warped_motion: bool, pub reduced_tx_set: bool, pub allow_intrabc: bool, pub frame_size_override_flag: bool, pub use_superres: bool, pub is_motion_mode_switchable: bool, pub reference_select: bool, pub skip_mode_present: bool, pub tile_cols: u8, pub tile_rows: u8, pub uniform_tile_spacing_flag: bool, pub tile_cols_log2: u8, pub tile_rows_log2: u8, pub mi_col_starts: Vec<u16>, pub mi_row_starts: Vec<u16>, pub width_in_sbs_minus_1: Vec<u16>, pub height_in_sbs_minus_1: Vec<u16>, pub context_update_tile_id: u16, pub tile_size_bytes_minus_1: u8, pub base_q_idx: u8, pub delta_q_y_dc: i8, pub delta_q_u_dc: i8, pub delta_q_u_ac: i8, pub delta_q_v_dc: i8, pub delta_q_v_ac: i8, pub using_qmatrix: bool, pub qm_y: u8, pub qm_u: u8, pub qm_v: u8, pub delta_q_present: bool, pub delta_q_res: u8, pub delta_lf_present: bool, pub delta_lf_res: u8, pub delta_lf_multi: bool, pub segmentation_enabled: bool, pub segmentation_update_map: bool, pub segmentation_temporal_update: bool, pub segmentation_update_data: bool, pub feature_enabled: [[bool; 8]; 8], pub feature_data: [[i16; 8]; 8], pub loop_filter_level: [u8; 4], pub loop_filter_sharpness: u8, pub loop_filter_delta_enabled: bool, pub loop_filter_delta_update: bool, pub update_ref_delta_mask: u8, pub loop_filter_ref_deltas: [i8; 8], pub update_mode_delta_mask: u8, pub loop_filter_mode_deltas: [i8; 2], pub cdef_damping_minus_3: u8, pub cdef_bits: u8, pub cdef_y_pri_strength: [u8; 8], pub cdef_y_sec_strength: [u8; 8], pub cdef_uv_pri_strength: [u8; 8], pub cdef_uv_sec_strength: [u8; 8], pub lr_type: [u8; 3], pub lr_unit_shift: u8, pub lr_uv_shift: u8, pub tx_mode: u8, pub interpolation_filter: u8, pub tile_group_offset_in_obu: u32, pub coded_lossless: bool,
}
Expand description

Parsed AV1 frame header — full §5.9.1 uncompressed_header parse. Provides everything needed to populate StdVideoDecodeAV1PictureInfo

  • its 7 sub-struct pointers for a Vulkan Video AV1 decode submit. Vec fields (tile MI-unit arrays) forced the drop of Copy.

Fields§

§show_frame: bool§showable_frame: bool§frame_type: Av1FrameType§error_resilient_mode: bool§disable_cdf_update: bool§allow_screen_content_tools: bool§force_integer_mv: bool§order_hint: u32§primary_ref_frame: u8§refresh_frame_flags: u8§frame_width: u32§frame_height: u32§render_width: u32§render_height: u32§use_ref_frame_mvs: bool§allow_high_precision_mv: bool§is_filter_switchable: bool§disable_frame_end_update_cdf: bool§allow_warped_motion: bool§reduced_tx_set: bool§allow_intrabc: bool§frame_size_override_flag: bool§use_superres: bool§is_motion_mode_switchable: bool§reference_select: bool§skip_mode_present: bool§tile_cols: u8§tile_rows: u8§uniform_tile_spacing_flag: bool§tile_cols_log2: u8§tile_rows_log2: u8§mi_col_starts: Vec<u16>§mi_row_starts: Vec<u16>§width_in_sbs_minus_1: Vec<u16>§height_in_sbs_minus_1: Vec<u16>§context_update_tile_id: u16§tile_size_bytes_minus_1: u8§base_q_idx: u8§delta_q_y_dc: i8§delta_q_u_dc: i8§delta_q_u_ac: i8§delta_q_v_dc: i8§delta_q_v_ac: i8§using_qmatrix: bool§qm_y: u8§qm_u: u8§qm_v: u8§delta_q_present: bool§delta_q_res: u8§delta_lf_present: bool§delta_lf_res: u8§delta_lf_multi: bool§segmentation_enabled: bool§segmentation_update_map: bool§segmentation_temporal_update: bool§segmentation_update_data: bool§feature_enabled: [[bool; 8]; 8]§feature_data: [[i16; 8]; 8]§loop_filter_level: [u8; 4]§loop_filter_sharpness: u8§loop_filter_delta_enabled: bool§loop_filter_delta_update: bool§update_ref_delta_mask: u8§loop_filter_ref_deltas: [i8; 8]§update_mode_delta_mask: u8§loop_filter_mode_deltas: [i8; 2]§cdef_damping_minus_3: u8§cdef_bits: u8§cdef_y_pri_strength: [u8; 8]§cdef_y_sec_strength: [u8; 8]§cdef_uv_pri_strength: [u8; 8]§cdef_uv_sec_strength: [u8; 8]§lr_type: [u8; 3]§lr_unit_shift: u8§lr_uv_shift: u8§tx_mode: u8§interpolation_filter: u8§tile_group_offset_in_obu: u32§coded_lossless: bool

Trait Implementations§

Source§

impl Clone for Av1FrameHeader

Source§

fn clone(&self) -> Av1FrameHeader

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Av1FrameHeader

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Av1FrameHeader

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more