Struct rav1e::prelude::Sequence[][src]

pub struct Sequence {
    pub profile: u8,
    pub num_bits_width: u32,
    pub num_bits_height: u32,
    pub bit_depth: usize,
    pub chroma_sampling: ChromaSampling,
    pub chroma_sample_position: ChromaSamplePosition,
    pub pixel_range: PixelRange,
    pub color_description: Option<ColorDescription>,
    pub mastering_display: Option<MasteringDisplay>,
    pub content_light: Option<ContentLight>,
    pub max_frame_width: u32,
    pub max_frame_height: u32,
    pub frame_id_numbers_present_flag: bool,
    pub frame_id_length: u32,
    pub delta_frame_id_length: u32,
    pub use_128x128_superblock: bool,
    pub order_hint_bits_minus_1: u32,
    pub force_screen_content_tools: u32,
    pub force_integer_mv: u32,
    pub still_picture: bool,
    pub reduced_still_picture_hdr: bool,
    pub enable_filter_intra: bool,
    pub enable_intra_edge_filter: bool,
    pub enable_interintra_compound: bool,
    pub enable_masked_compound: bool,
    pub enable_dual_filter: bool,
    pub enable_order_hint: bool,
    pub enable_jnt_comp: bool,
    pub enable_ref_frame_mvs: bool,
    pub enable_warped_motion: bool,
    pub enable_superres: bool,
    pub enable_cdef: bool,
    pub enable_restoration: bool,
    pub enable_large_lru: bool,
    pub enable_delayed_loopfilter_rdo: bool,
    pub operating_points_cnt_minus_1: usize,
    pub operating_point_idc: [u16; 32],
    pub display_model_info_present_flag: bool,
    pub decoder_model_info_present_flag: bool,
    pub level: [[usize; 2]; 32],
    pub tier: [usize; 32],
    pub film_grain_params_present: bool,
    pub timing_info_present: bool,
    pub tiling: TilingInfo,
    pub time_base: Rational,
}

Fields

profile: u8num_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: u32force_integer_mv: u32still_picture: boolreduced_still_picture_hdr: boolenable_filter_intra: boolenable_intra_edge_filter: boolenable_interintra_compound: boolenable_masked_compound: boolenable_dual_filter: boolenable_order_hint: boolenable_jnt_comp: boolenable_ref_frame_mvs: boolenable_warped_motion: boolenable_superres: boolenable_cdef: boolenable_restoration: boolenable_large_lru: boolenable_delayed_loopfilter_rdo: booloperating_points_cnt_minus_1: usizeoperating_point_idc: [u16; 32]display_model_info_present_flag: booldecoder_model_info_present_flag: boollevel: [[usize; 2]; 32]tier: [usize; 32]film_grain_params_present: booltiming_info_present: booltiling: TilingInfotime_base: Rational

Implementations

impl Sequence[src]

pub fn new(config: &EncoderConfig) -> Sequence[src]

pub const fn get_relative_dist(&self, a: u32, b: u32) -> i32[src]

pub fn get_skip_mode_allowed<T: Pixel>(
    &self,
    fi: &FrameInvariants<T>,
    inter_cfg: &InterConfig,
    reference_select: bool
) -> bool
[src]

Trait Implementations

impl Clone for Sequence[src]

impl Copy for Sequence[src]

impl Debug for Sequence[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.