h264_sps

Struct h264_sps 

Source
#[repr(C)]
pub struct h264_sps {
Show 39 fields pub profile_idc: u32, pub constraint_set0_flag: c_int, pub constraint_set1_flag: c_int, pub constraint_set2_flag: c_int, pub constraint_set3_flag: c_int, pub constraint_set4_flag: c_int, pub constraint_set5_flag: c_int, pub reserved_zero_2bits: u32, pub level_idc: u32, pub seq_parameter_set_id: u32, pub chroma_format_idc: u32, pub separate_colour_plane_flag: c_int, pub bit_depth_luma_minus8: u32, pub bit_depth_chroma_minus8: u32, pub qpprime_y_zero_transform_bypass_flag: c_int, pub seq_scaling_matrix_present_flag: c_int, pub seq_scaling_matrix: h264_scaling_matrix, pub log2_max_frame_num_minus4: u32, pub pic_order_cnt_type: u32, pub log2_max_pic_order_cnt_lsb_minus4: u32, pub delta_pic_order_always_zero_flag: c_int, pub offset_for_non_ref_pic: i32, pub offset_for_top_to_bottom_field: i32, pub num_ref_frames_in_pic_order_cnt_cycle: u32, pub offset_for_ref_frame: [i32; 256], pub max_num_ref_frames: u32, pub gaps_in_frame_num_value_allowed_flag: c_int, pub pic_width_in_mbs_minus1: u32, pub pic_height_in_map_units_minus1: u32, pub frame_mbs_only_flag: c_int, pub mb_adaptive_frame_field_flag: c_int, pub direct_8x8_inference_flag: c_int, pub frame_cropping_flag: c_int, pub frame_crop_left_offset: u32, pub frame_crop_right_offset: u32, pub frame_crop_top_offset: u32, pub frame_crop_bottom_offset: u32, pub vui_parameters_present_flag: c_int, pub vui: h264_vui,
}
Expand description

7.3.2.1 Sequence parameter set RBSP syntax

Fields§

§profile_idc: u32§constraint_set0_flag: c_int§constraint_set1_flag: c_int§constraint_set2_flag: c_int§constraint_set3_flag: c_int§constraint_set4_flag: c_int§constraint_set5_flag: c_int§reserved_zero_2bits: u32§level_idc: u32§seq_parameter_set_id: u32§chroma_format_idc: u32§separate_colour_plane_flag: c_int§bit_depth_luma_minus8: u32§bit_depth_chroma_minus8: u32§qpprime_y_zero_transform_bypass_flag: c_int§seq_scaling_matrix_present_flag: c_int§seq_scaling_matrix: h264_scaling_matrix§log2_max_frame_num_minus4: u32§pic_order_cnt_type: u32§log2_max_pic_order_cnt_lsb_minus4: u32§delta_pic_order_always_zero_flag: c_int§offset_for_non_ref_pic: i32§offset_for_top_to_bottom_field: i32§num_ref_frames_in_pic_order_cnt_cycle: u32§offset_for_ref_frame: [i32; 256]§max_num_ref_frames: u32§gaps_in_frame_num_value_allowed_flag: c_int§pic_width_in_mbs_minus1: u32§pic_height_in_map_units_minus1: u32§frame_mbs_only_flag: c_int§mb_adaptive_frame_field_flag: c_int§direct_8x8_inference_flag: c_int§frame_cropping_flag: c_int§frame_crop_left_offset: u32§frame_crop_right_offset: u32§frame_crop_top_offset: u32§frame_crop_bottom_offset: u32§vui_parameters_present_flag: c_int§vui: h264_vui

Trait Implementations§

Source§

impl Clone for h264_sps

Source§

fn clone(&self) -> h264_sps

Returns a duplicate 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 h264_sps

Source§

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

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

impl Copy for h264_sps

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 T
where T: Clone,

Source§

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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.