Struct hevc_parser::HevcParser
source · pub struct HevcParser {
pub nalu_start_code: NALUStartCode,
/* private fields */
}
Fields§
§nalu_start_code: NALUStartCode
Implementations§
source§impl HevcParser
impl HevcParser
pub fn with_nalu_start_code(start_code: NALUStartCode) -> HevcParser
pub fn get_offsets(&mut self, data: &[u8], offsets: &mut Vec<usize>)
pub fn split_nals( &mut self, data: &[u8], offsets: &[usize], last: usize, parse_nals: bool ) -> Result<Vec<NALUnit>>
pub fn display(&self)
pub fn finish(&mut self)
sourcepub fn processed_frames(&self) -> &Vec<Frame>
pub fn processed_frames(&self) -> &Vec<Frame>
Processed frames in the current GOP Cleared every key frame
pub fn ordered_frames(&self) -> &Vec<Frame>
pub fn get_nals(&self) -> &Vec<NALUnit>
Trait Implementations§
source§impl Default for HevcParser
impl Default for HevcParser
source§fn default() -> HevcParser
fn default() -> HevcParser
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for HevcParser
impl Send for HevcParser
impl Sync for HevcParser
impl Unpin for HevcParser
impl UnwindSafe for HevcParser
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