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

A H264 Sequence Parameter Set. A syntax structure containing syntax elements that apply to zero or more entire coded video sequences as determined by the content of a seq_parameter_set_id syntax element found in the picture parameter set referred to by the pic_parameter_set_id syntax element found in each slice header.

Implementations§

source§

impl Sps

source

pub fn seq_parameter_set_id(&self) -> u8

source

pub fn profile_idc(&self) -> u8

source

pub fn constraint_set0_flag(&self) -> bool

source

pub fn constraint_set1_flag(&self) -> bool

source

pub fn constraint_set2_flag(&self) -> bool

source

pub fn constraint_set3_flag(&self) -> bool

source

pub fn constraint_set4_flag(&self) -> bool

source

pub fn constraint_set5_flag(&self) -> bool

source

pub fn level_idc(&self) -> Level

source

pub fn chroma_format_idc(&self) -> u8

source

pub fn separate_colour_plane_flag(&self) -> bool

source

pub fn bit_depth_luma_minus8(&self) -> u8

source

pub fn bit_depth_chroma_minus8(&self) -> u8

source

pub fn qpprime_y_zero_transform_bypass_flag(&self) -> bool

source

pub fn seq_scaling_matrix_present_flag(&self) -> bool

source

pub fn scaling_lists_4x4(&self) -> [[u8; 16]; 6]

source

pub fn scaling_lists_8x8(&self) -> [[u8; 64]; 6]

source

pub fn log2_max_frame_num_minus4(&self) -> u8

source

pub fn pic_order_cnt_type(&self) -> u8

source

pub fn log2_max_pic_order_cnt_lsb_minus4(&self) -> u8

source

pub fn delta_pic_order_always_zero_flag(&self) -> bool

source

pub fn offset_for_non_ref_pic(&self) -> i32

source

pub fn offset_for_top_to_bottom_field(&self) -> i32

source

pub fn num_ref_frames_in_pic_order_cnt_cycle(&self) -> u8

source

pub fn offset_for_ref_frame(&self) -> [i32; 255]

source

pub fn max_num_ref_frames(&self) -> u32

source

pub fn gaps_in_frame_num_value_allowed_flag(&self) -> bool

source

pub fn pic_width_in_mbs_minus1(&self) -> u32

source

pub fn pic_height_in_map_units_minus1(&self) -> u32

source

pub fn frame_mbs_only_flag(&self) -> bool

source

pub fn mb_adaptive_frame_field_flag(&self) -> bool

source

pub fn direct_8x8_inference_flag(&self) -> bool

source

pub fn frame_cropping_flag(&self) -> bool

source

pub fn frame_crop_left_offset(&self) -> u32

source

pub fn frame_crop_right_offset(&self) -> u32

source

pub fn frame_crop_top_offset(&self) -> u32

source

pub fn frame_crop_bottom_offset(&self) -> u32

source

pub fn chroma_array_type(&self) -> u8

source

pub fn max_frame_num(&self) -> u32

source

pub fn width(&self) -> u32

source

pub fn height(&self) -> u32

source

pub fn crop_rect_width(&self) -> u32

source

pub fn crop_rect_height(&self) -> u32

source

pub fn crop_rect_x(&self) -> u32

source

pub fn crop_rect_y(&self) -> u32

source

pub fn expected_delta_per_pic_order_cnt_cycle(&self) -> i32

source

pub fn vui_parameters_present_flag(&self) -> bool

source

pub fn vui_parameters(&self) -> &VuiParams

source

pub fn visible_rectangle(&self) -> Rect<u32>

source

pub fn max_dpb_frames(&self) -> usize

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() -> Self

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.