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