Struct mpeg2ts_reader::pes::PesParsedContents [−][src]
pub struct PesParsedContents<'buf> { /* fields omitted */ }Extra data which may optionally be present in the PesHeader, potentially including
Presentation Timestamp (PTS) and Decode Timestamp (DTS) values.
Methods
impl<'buf> PesParsedContents<'buf>[src]
impl<'buf> PesParsedContents<'buf>pub fn from_bytes(buf: &'buf [u8]) -> Option<PesParsedContents<'buf>>[src]
pub fn from_bytes(buf: &'buf [u8]) -> Option<PesParsedContents<'buf>>pub fn pes_priority(&self) -> u8[src]
pub fn pes_priority(&self) -> u8value 1 indicates higher priority and 0 indicates lower priority
pub fn data_alignment_indicator(&self) -> DataAlignment[src]
pub fn data_alignment_indicator(&self) -> DataAlignmentpub fn copyright(&self) -> Copyright[src]
pub fn copyright(&self) -> Copyrightpub fn original_or_copy(&self) -> OriginalOrCopy[src]
pub fn original_or_copy(&self) -> OriginalOrCopypub fn pts_dts(&self) -> Result<PtsDts, PesError>[src]
pub fn pts_dts(&self) -> Result<PtsDts, PesError>pub fn escr(&self) -> Result<PCR, PesError>[src]
pub fn escr(&self) -> Result<PCR, PesError>pub fn es_rate(&self) -> Result<u32, PesError>[src]
pub fn es_rate(&self) -> Result<u32, PesError>pub fn dsm_trick_mode(&self) -> Result<DsmTrickMode, PesError>[src]
pub fn dsm_trick_mode(&self) -> Result<DsmTrickMode, PesError>pub fn additional_copy_info(&self) -> Result<u8, PesError>[src]
pub fn additional_copy_info(&self) -> Result<u8, PesError>pub fn payload(&self) -> &'buf [u8][src]
pub fn payload(&self) -> &'buf [u8]Auto Trait Implementations
impl<'buf> Send for PesParsedContents<'buf>
impl<'buf> Send for PesParsedContents<'buf>impl<'buf> Sync for PesParsedContents<'buf>
impl<'buf> Sync for PesParsedContents<'buf>