Struct h264_reader::nal::sei::pic_timing::PicTiming
source · pub struct PicTiming {
pub delays: Option<Delays>,
pub pic_struct: Option<PicStruct>,
}Fields§
§delays: Option<Delays>§pic_struct: Option<PicStruct>Implementations§
source§impl PicTiming
impl PicTiming
sourcepub fn read(
sps: &SeqParameterSet,
msg: &SeiMessage<'_>
) -> Result<PicTiming, PicTimingError>
pub fn read( sps: &SeqParameterSet, msg: &SeiMessage<'_> ) -> Result<PicTiming, PicTimingError>
Parses a PicTiming from the given SEI message.
The caller is expected to have found the correct SPS by buffering the SeiMessage
until after examining the following slice header.
Trait Implementations§
source§impl PartialEq for PicTiming
impl PartialEq for PicTiming
impl Eq for PicTiming
impl StructuralPartialEq for PicTiming
Auto Trait Implementations§
impl Freeze for PicTiming
impl RefUnwindSafe for PicTiming
impl Send for PicTiming
impl Sync for PicTiming
impl Unpin for PicTiming
impl UnwindSafe for PicTiming
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