Struct dav1d_sys::Dav1dFrameHeader
source · #[repr(C)]pub struct Dav1dFrameHeader {Show 50 fields
pub film_grain: Dav1dFrameHeaderFilmGrain,
pub frame_type: Dav1dFrameType,
pub width: [c_int; 2],
pub height: c_int,
pub frame_offset: u8,
pub temporal_id: u8,
pub spatial_id: u8,
pub show_existing_frame: u8,
pub existing_frame_idx: u8,
pub frame_id: u32,
pub frame_presentation_delay: u32,
pub show_frame: u8,
pub showable_frame: u8,
pub error_resilient_mode: u8,
pub disable_cdf_update: u8,
pub allow_screen_content_tools: u8,
pub force_integer_mv: u8,
pub frame_size_override: u8,
pub primary_ref_frame: u8,
pub buffer_removal_time_present: u8,
pub operating_points: [Dav1dFrameHeaderOperatingPoint; 32],
pub refresh_frame_flags: u8,
pub render_width: c_int,
pub render_height: c_int,
pub super_res: Dav1dFrameHeaderSuperRes,
pub have_render_size: u8,
pub allow_intrabc: u8,
pub frame_ref_short_signaling: u8,
pub refidx: [i8; 7],
pub hp: u8,
pub subpel_filter_mode: Dav1dFilterMode,
pub switchable_motion_mode: u8,
pub use_ref_frame_mvs: u8,
pub refresh_context: u8,
pub tiling: Dav1dFrameHeaderTiling,
pub quant: Dav1dFrameHeaderQuant,
pub segmentation: Dav1dFrameHeaderSegmentation,
pub delta: Dav1dFrameHeaderDelta,
pub all_lossless: u8,
pub loopfilter: Dav1dFrameHeaderLoopfilter,
pub cdef: Dav1dFrameHeaderCDef,
pub restoration: Dav1dFrameHeaderRestoration,
pub txfm_mode: Dav1dTxfmMode,
pub switchable_comp_refs: u8,
pub skip_mode_allowed: u8,
pub skip_mode_enabled: u8,
pub skip_mode_refs: [i8; 2],
pub warp_motion: u8,
pub reduced_txtp_set: u8,
pub gmv: [Dav1dWarpedMotionParams; 7],
}
Fields§
§film_grain: Dav1dFrameHeaderFilmGrain
§frame_type: Dav1dFrameType
§width: [c_int; 2]
§height: c_int
§frame_offset: u8
§temporal_id: u8
§spatial_id: u8
§show_existing_frame: u8
§existing_frame_idx: u8
§frame_id: u32
§frame_presentation_delay: u32
§show_frame: u8
§showable_frame: u8
§error_resilient_mode: u8
§disable_cdf_update: u8
§allow_screen_content_tools: u8
§force_integer_mv: u8
§frame_size_override: u8
§primary_ref_frame: u8
§buffer_removal_time_present: u8
§operating_points: [Dav1dFrameHeaderOperatingPoint; 32]
§refresh_frame_flags: u8
§render_width: c_int
§render_height: c_int
§super_res: Dav1dFrameHeaderSuperRes
§have_render_size: u8
§allow_intrabc: u8
§frame_ref_short_signaling: u8
§refidx: [i8; 7]
§hp: u8
§subpel_filter_mode: Dav1dFilterMode
§switchable_motion_mode: u8
§use_ref_frame_mvs: u8
§refresh_context: u8
§tiling: Dav1dFrameHeaderTiling
§quant: Dav1dFrameHeaderQuant
§segmentation: Dav1dFrameHeaderSegmentation
§delta: Dav1dFrameHeaderDelta
§all_lossless: u8
§loopfilter: Dav1dFrameHeaderLoopfilter
§cdef: Dav1dFrameHeaderCDef
§restoration: Dav1dFrameHeaderRestoration
§txfm_mode: Dav1dTxfmMode
§switchable_comp_refs: u8
§skip_mode_allowed: u8
§skip_mode_enabled: u8
§skip_mode_refs: [i8; 2]
§warp_motion: u8
§reduced_txtp_set: u8
§gmv: [Dav1dWarpedMotionParams; 7]
Trait Implementations§
source§impl Clone for Dav1dFrameHeader
impl Clone for Dav1dFrameHeader
source§fn clone(&self) -> Dav1dFrameHeader
fn clone(&self) -> Dav1dFrameHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for Dav1dFrameHeader
Auto Trait Implementations§
impl RefUnwindSafe for Dav1dFrameHeader
impl Send for Dav1dFrameHeader
impl Sync for Dav1dFrameHeader
impl Unpin for Dav1dFrameHeader
impl UnwindSafe for Dav1dFrameHeader
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