#[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

source§

fn clone(&self) -> Dav1dFrameHeader

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Copy for Dav1dFrameHeader

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> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

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,

§

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>,

§

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>,

§

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.