oa::video::H264SequenceParameterSet

Parsed H.264 sequence parameter set required by decode-session setup.

StRust public API

Declaration

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>, }
Public Rust declaration.

Public Methods

pub fn coded_width(&self) -> Result<u32>
pub fn coded_height(&self) -> Result<u32>
fn clone(&self) -> H264SequenceParameterSet
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &H264SequenceParameterSet) -> bool

Public Data Members

idu32field
profile_idcu32field
level_idcu32field
constraint_flagsu32field
chroma_format_idcu32field
bit_depth_luma_minus_8u32field
bit_depth_chroma_minus_8u32field
log2_max_frame_num_minus_4u32field
pic_order_count_typeu32field
offset_for_non_ref_pici32field
offset_for_top_to_bottom_fieldi32field
log2_max_pic_order_count_lsb_minus_4u32field
offset_for_ref_frameVec<i32>field
width_in_macroblocksu32field
height_in_map_unitsu32field
max_num_ref_framesu32field
delta_pic_order_always_zeroboolfield
separate_colour_planeboolfield
qpprime_y_zero_transform_bypassboolfield
scaling_listsOption<H264ScalingLists>field
gaps_in_frame_num_value_allowedboolfield
frame_mbs_onlyboolfield
mb_adaptive_frame_fieldboolfield
direct_8x8_inferenceboolfield
frame_crop_left_offsetu32field
frame_crop_right_offsetu32field
frame_crop_top_offsetu32field
frame_crop_bottom_offsetu32field
vuiOption<H264VuiParameters>field

Public Method Documentation

pub fn coded_width( &self ) -> Result<u32>
No public source comment is attached to this declaration.
pub fn coded_height( &self ) -> Result<u32>
No public source comment is attached to this declaration.
fn clone( &self ) -> H264SequenceParameterSet
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &H264SequenceParameterSet ) -> bool
No public source comment is attached to this declaration.