Struct Sequence
struct Sequence { ... }
Fields
profile: u8OBU Sequence header of AV1
num_bits_width: u32num_bits_height: u32bit_depth: usizechroma_sampling: ChromaSamplingchroma_sample_position: ChromaSamplePositionpixel_range: PixelRangecolor_description: Option<ColorDescription>mastering_display: Option<MasteringDisplay>content_light: Option<ContentLight>max_frame_width: u32max_frame_height: u32frame_id_numbers_present_flag: boolframe_id_length: u32delta_frame_id_length: u32use_128x128_superblock: boolorder_hint_bits_minus_1: u32force_screen_content_tools: u320 - force off 1 - force on 2 - adaptive
force_integer_mv: u320 - Not to force. MV can be in 1/4 or 1/8 1 - force to integer 2 - adaptive
still_picture: boolVideo is a single frame still picture
reduced_still_picture_hdr: boolUse reduced header for still picture
enable_filter_intra: boolenables/disables filter_intra
enable_intra_edge_filter: boolenables/disables corner/edge filtering and upsampling
enable_interintra_compound: boolenables/disables interintra_compound
enable_masked_compound: boolenables/disables masked compound
enable_dual_filter: bool0 - disable dual interpolation filter 1 - enable vert/horiz filter selection
enable_order_hint: bool0 - disable order hint, and related tools jnt_comp, ref_frame_mvs, frame_sign_bias if 0, enable_jnt_comp and enable_ref_frame_mvs must be set zs 0.
enable_jnt_comp: bool0 - disable joint compound modes 1 - enable it
enable_ref_frame_mvs: bool0 - disable ref frame mvs 1 - enable it
enable_warped_motion: bool0 - disable warped motion for sequence 1 - enable it for the sequence
enable_superres: bool0 - Disable superres for the sequence, and disable transmitting per-frame superres enabled flag. 1 - Enable superres for the sequence, and also enable per-frame flag to denote if superres is enabled for that frame.
enable_cdef: boolTo turn on/off CDEF
enable_restoration: boolTo turn on/off loop restoration
enable_large_lru: boolTo turn on/off larger-than-superblock loop restoration units
enable_delayed_loopfilter_rdo: boolallow encoder to delay loop filter RDO/coding until after frame reconstruciton is complete
operating_points_cnt_minus_1: usizeoperating_point_idc: [u16; 32]display_model_info_present_flag: booldecoder_model_info_present_flag: boollevel_idx: [u8; 32]tier: [usize; 32]seq_tier in the spec. One bit: 0 or 1.
film_grain_params_present: booltiming_info_present: booltiling: TilingInfotime_base: Rational
Implementations
impl Sequence
fn new(config: &EncoderConfig) -> SequencePanics
Panics if the resulting tile sizes would be too large.
const fn get_relative_dist(self: &Self, a: u32, b: u32) -> i32fn get_skip_mode_allowed<T: Pixel>(self: &Self, fi: &FrameInvariants<T>, inter_cfg: &InterConfig, reference_select: bool) -> bool
impl Clone for Sequence
fn clone(self: &Self) -> Sequence
impl Copy for Sequence
impl Debug for Sequence
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Freeze for Sequence
impl RefUnwindSafe for Sequence
impl Send for Sequence
impl Sync for Sequence
impl Unpin for Sequence
impl UnwindSafe for Sequence
impl<T> Any for Sequence
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Sequence
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Sequence
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Sequence
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Sequence
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Sequence
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Sequence
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Sequence
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Sequence
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>