oa::video::H264SliceHeader

Parsed H.264 slice fields required by picture submission and DPB updates.

StRust public API

Declaration

pub struct H264SliceHeader {Show 14 fields pub first_macroblock_in_slice: u32, pub slice_type: H264SliceType, pub picture_parameter_set_id: u32, pub frame_number: u32, pub idr_picture_id: Option<u32>, pub picture_order_count_lsb: Option<u32>, pub field_picture: bool, pub bottom_field: bool, pub is_idr: bool, pub is_reference: bool, pub no_output_of_prior_pictures: bool, pub long_term_reference: bool, pub adaptive_reference_picture_marking: bool, pub memory_management: Vec<H264MemoryManagementControl>, }
Public Rust declaration.

Public Methods

fn clone(&self) -> H264SliceHeader
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &H264SliceHeader) -> bool

Public Data Members

first_macroblock_in_sliceu32field
slice_typeH264SliceTypefield
picture_parameter_set_idu32field
frame_numberu32field
idr_picture_idOption<u32>field
picture_order_count_lsbOption<u32>field
field_pictureboolfield
bottom_fieldboolfield
is_idrboolfield
is_referenceboolfield
no_output_of_prior_picturesboolfield
long_term_referenceboolfield
adaptive_reference_picture_markingboolfield
memory_managementVec<H264MemoryManagementControl>field

Public Method Documentation

fn clone( &self ) -> H264SliceHeader
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: &H264SliceHeader ) -> bool
No public source comment is attached to this declaration.