pub struct H264SequenceParameterSet {Show 29 fields
pub id: u32,
pub profile_idc: u32,
pub level_idc: u32,
pub constraint_flags: u32,
pub chroma_format_idc: u32,
pub bit_depth_luma_minus_8: u32,
pub bit_depth_chroma_minus_8: u32,
pub log2_max_frame_num_minus_4: u32,
pub pic_order_count_type: u32,
pub offset_for_non_ref_pic: i32,
pub offset_for_top_to_bottom_field: i32,
pub log2_max_pic_order_count_lsb_minus_4: u32,
pub offset_for_ref_frame: Vec<i32>,
pub width_in_macroblocks: u32,
pub height_in_map_units: u32,
pub max_num_ref_frames: u32,
pub delta_pic_order_always_zero: bool,
pub separate_colour_plane: bool,
pub qpprime_y_zero_transform_bypass: bool,
pub scaling_lists: Option<H264ScalingLists>,
pub gaps_in_frame_num_value_allowed: bool,
pub frame_mbs_only: bool,
pub mb_adaptive_frame_field: bool,
pub direct_8x8_inference: bool,
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: Option<H264VuiParameters>,
}Expand description
Parsed H.264 sequence parameter set required by decode-session setup.
Fields§
§id: u32§profile_idc: u32§level_idc: u32§constraint_flags: u32§chroma_format_idc: u32§bit_depth_luma_minus_8: u32§bit_depth_chroma_minus_8: u32§log2_max_frame_num_minus_4: u32§pic_order_count_type: u32§offset_for_non_ref_pic: i32§offset_for_top_to_bottom_field: i32§log2_max_pic_order_count_lsb_minus_4: u32§offset_for_ref_frame: Vec<i32>§width_in_macroblocks: u32§height_in_map_units: u32§max_num_ref_frames: u32§delta_pic_order_always_zero: bool§separate_colour_plane: bool§qpprime_y_zero_transform_bypass: bool§scaling_lists: Option<H264ScalingLists>§gaps_in_frame_num_value_allowed: bool§frame_mbs_only: bool§mb_adaptive_frame_field: bool§direct_8x8_inference: bool§frame_crop_left_offset: u32§frame_crop_right_offset: u32§frame_crop_top_offset: u32§frame_crop_bottom_offset: u32§vui: Option<H264VuiParameters>Implementations§
Source§impl H264SequenceParameterSet
impl H264SequenceParameterSet
Sourcepub fn coded_width(&self) -> Result<u32>
pub fn coded_width(&self) -> Result<u32>
Return the coded width in luma samples before cropping.
Sourcepub fn coded_height(&self) -> Result<u32>
pub fn coded_height(&self) -> Result<u32>
Return the coded height in luma samples before cropping.
Trait Implementations§
Source§impl Clone for H264SequenceParameterSet
impl Clone for H264SequenceParameterSet
Source§impl Debug for H264SequenceParameterSet
impl Debug for H264SequenceParameterSet
impl Eq for H264SequenceParameterSet
Source§impl PartialEq for H264SequenceParameterSet
impl PartialEq for H264SequenceParameterSet
impl StructuralPartialEq for H264SequenceParameterSet
Auto Trait Implementations§
impl Forget for H264SequenceParameterSet
impl Freeze for H264SequenceParameterSet
impl Move for H264SequenceParameterSet
impl RefUnwindSafe for H264SequenceParameterSet
impl Send for H264SequenceParameterSetwhere
RawVecInner: Send,
impl Sync for H264SequenceParameterSetwhere
RawVecInner: Sync,
impl Unpin for H264SequenceParameterSet
impl UnsafeUnpin for H264SequenceParameterSetwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<i32>: UnsafeUnpin,
PhantomData<H264CpbEntry>: UnsafeUnpin,
impl UnwindSafe for H264SequenceParameterSetwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more