Struct libdav1d_sys::Dav1dFrameHeader

source ·
#[repr(C)]
pub struct Dav1dFrameHeader {
Show 50 fields pub film_grain: Dav1dFrameHeader__bindgen_ty_1, 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: [Dav1dFrameHeader_Dav1dFrameHeaderOperatingPoint; 32], pub refresh_frame_flags: u8, pub render_width: c_int, pub render_height: c_int, pub super_res: Dav1dFrameHeader__bindgen_ty_2, 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: Dav1dFrameHeader__bindgen_ty_3, pub quant: Dav1dFrameHeader__bindgen_ty_4, pub segmentation: Dav1dFrameHeader__bindgen_ty_5, pub delta: Dav1dFrameHeader__bindgen_ty_6, pub all_lossless: u8, pub loopfilter: Dav1dFrameHeader__bindgen_ty_7, pub cdef: Dav1dFrameHeader__bindgen_ty_8, pub restoration: Dav1dFrameHeader__bindgen_ty_9, 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: Dav1dFrameHeader__bindgen_ty_1

< film grain parameters

§frame_type: Dav1dFrameType

< type of the picture

§width: [c_int; 2]§height: c_int§frame_offset: u8

< frame number

§temporal_id: u8

< temporal id of the frame for SVC

§spatial_id: u8

< spatial id of the frame for SVC

§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: [Dav1dFrameHeader_Dav1dFrameHeaderOperatingPoint; 32]§refresh_frame_flags: u8§render_width: c_int§render_height: c_int§super_res: Dav1dFrameHeader__bindgen_ty_2§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: Dav1dFrameHeader__bindgen_ty_3§quant: Dav1dFrameHeader__bindgen_ty_4§segmentation: Dav1dFrameHeader__bindgen_ty_5§delta: Dav1dFrameHeader__bindgen_ty_6§all_lossless: u8§loopfilter: Dav1dFrameHeader__bindgen_ty_7§cdef: Dav1dFrameHeader__bindgen_ty_8§restoration: Dav1dFrameHeader__bindgen_ty_9§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> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

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

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.