pub struct Sps { /* private fields */ }
Expand description

A H.265 Sequence Parameter Set.

Implementations§

source§

impl Sps

source

pub fn video_parameter_set_id(&self) -> u8

source

pub fn max_sub_layers_minus1(&self) -> u8

source

pub fn temporal_id_nesting_flag(&self) -> bool

source

pub fn profile_tier_level(&self) -> &ProfileTierLevel

source

pub fn seq_parameter_set_id(&self) -> u8

source

pub fn chroma_format_idc(&self) -> u8

source

pub fn separate_colour_plane_flag(&self) -> bool

source

pub fn pic_width_in_luma_samples(&self) -> u16

source

pub fn pic_height_in_luma_samples(&self) -> u16

source

pub fn conformance_window_flag(&self) -> bool

source

pub fn conf_win_left_offset(&self) -> u32

source

pub fn conf_win_right_offset(&self) -> u32

source

pub fn conf_win_top_offset(&self) -> u32

source

pub fn conf_win_bottom_offset(&self) -> u32

source

pub fn bit_depth_luma_minus8(&self) -> u8

source

pub fn bit_depth_chroma_minus8(&self) -> u8

source

pub fn log2_max_pic_order_cnt_lsb_minus4(&self) -> u8

source

pub fn sub_layer_ordering_info_present_flag(&self) -> bool

source

pub fn max_dec_pic_buffering_minus1(&self) -> [u8; 7]

source

pub fn max_num_reorder_pics(&self) -> [u8; 7]

source

pub fn max_latency_increase_plus1(&self) -> [u8; 7]

source

pub fn log2_min_luma_coding_block_size_minus3(&self) -> u8

source

pub fn log2_diff_max_min_luma_coding_block_size(&self) -> u8

source

pub fn log2_min_luma_transform_block_size_minus2(&self) -> u8

source

pub fn log2_diff_max_min_luma_transform_block_size(&self) -> u8

source

pub fn max_transform_hierarchy_depth_inter(&self) -> u8

source

pub fn max_transform_hierarchy_depth_intra(&self) -> u8

source

pub fn scaling_list_enabled_flag(&self) -> bool

source

pub fn scaling_list_data_present_flag(&self) -> bool

source

pub fn scaling_list(&self) -> &ScalingLists

source

pub fn amp_enabled_flag(&self) -> bool

source

pub fn sample_adaptive_offset_enabled_flag(&self) -> bool

source

pub fn pcm_enabled_flag(&self) -> bool

source

pub fn pcm_sample_bit_depth_luma_minus1(&self) -> u8

source

pub fn pcm_sample_bit_depth_chroma_minus1(&self) -> u8

source

pub fn log2_min_pcm_luma_coding_block_size_minus3(&self) -> u8

source

pub fn log2_diff_max_min_pcm_luma_coding_block_size(&self) -> u8

source

pub fn pcm_loop_filter_disabled_flag(&self) -> bool

source

pub fn num_short_term_ref_pic_sets(&self) -> u8

source

pub fn short_term_ref_pic_set(&self) -> &[ShortTermRefPicSet]

source

pub fn long_term_ref_pics_present_flag(&self) -> bool

source

pub fn num_long_term_ref_pics_sps(&self) -> u8

source

pub fn lt_ref_pic_poc_lsb_sps(&self) -> &[u32]

source

pub fn used_by_curr_pic_lt_sps_flag(&self) -> &[bool]

source

pub fn temporal_mvp_enabled_flag(&self) -> bool

source

pub fn strong_intra_smoothing_enabled_flag(&self) -> bool

source

pub fn vui_parameters_present_flag(&self) -> bool

source

pub fn vui_parameters(&self) -> &VuiParams

source

pub fn extension_present_flag(&self) -> bool

source

pub fn range_extension(&self) -> &SpsRangeExtension

source

pub fn min_cb_log2_size_y(&self) -> u32

source

pub fn ctb_log2_size_y(&self) -> u32

source

pub fn ctb_size_y(&self) -> u32

source

pub fn pic_height_in_ctbs_y(&self) -> u32

source

pub fn pic_width_in_ctbs_y(&self) -> u32

source

pub fn pic_size_in_ctbs_y(&self) -> u32

source

pub fn chroma_array_type(&self) -> u8

source

pub fn wp_offset_half_range_y(&self) -> u32

source

pub fn wp_offset_half_range_c(&self) -> u32

source

pub fn max_tb_log2_size_y(&self) -> u32

source

pub fn scc_extension(&self) -> &SpsSccExtension

source

pub fn scc_extension_flag(&self) -> bool

source

pub fn range_extension_flag(&self) -> bool

Trait Implementations§

source§

impl Clone for Sps

source§

fn clone(&self) -> Sps

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 Debug for Sps

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Sps

source§

fn default() -> Sps

Returns the “default value” for a type. Read more
source§

impl PartialEq<Sps> for Sps

source§

fn eq(&self, other: &Sps) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for Sps

source§

impl StructuralEq for Sps

source§

impl StructuralPartialEq for Sps

Auto Trait Implementations§

§

impl RefUnwindSafe for Sps

§

impl Send for Sps

§

impl Sync for Sps

§

impl Unpin for Sps

§

impl UnwindSafe for Sps

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere 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 Twhere 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 Twhere 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.