pub struct FrameHeader {Show 52 fields
pub film_grain: FilmGrainData,
pub film_grain_present: bool,
pub film_grain_update: bool,
pub frame_type: u8,
pub width: [i32; 2],
pub height: i32,
pub frame_offset: u8,
pub temporal_id: u8,
pub spatial_id: u8,
pub show_existing_frame: bool,
pub existing_frame_idx: u8,
pub frame_id: u32,
pub frame_presentation_delay: u32,
pub show_frame: bool,
pub showable_frame: bool,
pub error_resilient_mode: bool,
pub disable_cdf_update: bool,
pub allow_screen_content_tools: bool,
pub force_integer_mv: bool,
pub frame_size_override: bool,
pub primary_ref_frame: u8,
pub buffer_removal_time_present: bool,
pub refresh_frame_flags: u8,
pub render_width: i32,
pub render_height: i32,
pub super_res_width_scale_denominator: u8,
pub super_res_enabled: bool,
pub have_render_size: bool,
pub allow_intrabc: bool,
pub frame_ref_short_signaling: bool,
pub refidx: [i8; 7],
pub hp: bool,
pub subpel_filter_mode: u8,
pub switchable_motion_mode: bool,
pub use_ref_frame_mvs: bool,
pub refresh_context: bool,
pub tiling: Tiling,
pub quant: Quant,
pub segmentation: Segmentation,
pub delta: Delta,
pub all_lossless: bool,
pub loopfilter: Loopfilter,
pub cdef: Cdef,
pub restoration: Restoration,
pub txfm_mode: u8,
pub switchable_comp_refs: bool,
pub skip_mode_allowed: bool,
pub skip_mode_enabled: bool,
pub skip_mode_refs: [i8; 2],
pub warp_motion: bool,
pub reduced_txtp_set: bool,
pub gmv: [WarpedMotionParams; 7],
}Available on crate feature
decode only.Fields§
§film_grain: FilmGrainData§film_grain_present: bool§film_grain_update: bool§frame_type: u8§width: [i32; 2]coded width, superres-upscaled width.
height: i32§frame_offset: u8§temporal_id: u8§spatial_id: u8§show_existing_frame: bool§existing_frame_idx: u8§frame_id: u32§frame_presentation_delay: u32§show_frame: bool§showable_frame: bool§error_resilient_mode: bool§disable_cdf_update: bool§allow_screen_content_tools: bool§force_integer_mv: bool§frame_size_override: bool§primary_ref_frame: u8§buffer_removal_time_present: bool§refresh_frame_flags: u8§render_width: i32§render_height: i32§super_res_width_scale_denominator: u8§super_res_enabled: bool§have_render_size: bool§allow_intrabc: bool§frame_ref_short_signaling: bool§refidx: [i8; 7]§hp: bool§subpel_filter_mode: u8§switchable_motion_mode: bool§use_ref_frame_mvs: bool§refresh_context: bool§tiling: Tiling§quant: Quant§segmentation: Segmentation§delta: Delta§all_lossless: bool§loopfilter: Loopfilter§cdef: Cdef§restoration: Restoration§txfm_mode: u8§switchable_comp_refs: bool§skip_mode_allowed: bool§skip_mode_enabled: bool§skip_mode_refs: [i8; 2]§warp_motion: bool§reduced_txtp_set: bool§gmv: [WarpedMotionParams; 7]Implementations§
Source§impl FrameHeader
impl FrameHeader
pub fn is_key_or_intra(&self) -> bool
pub fn is_inter_or_switch(&self) -> bool
Trait Implementations§
Source§impl Clone for FrameHeader
impl Clone for FrameHeader
Source§impl Debug for FrameHeader
impl Debug for FrameHeader
Auto Trait Implementations§
impl Forget for FrameHeader
impl Freeze for FrameHeader
impl Move for FrameHeader
impl RefUnwindSafe for FrameHeader
impl Send for FrameHeader
impl Sync for FrameHeader
impl Unpin for FrameHeader
impl UnsafeUnpin for FrameHeader
impl UnwindSafe for FrameHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more