pub struct HevcParser {
pub nalu_start_code: NALUStartCode,
/* private fields */
}Fields§
§nalu_start_code: NALUStartCodeImplementations§
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 Freeze for HevcParser
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