pub struct FmfSource { /* private fields */ }Trait Implementations§
Source§impl FrameDataSource for FmfSource
impl FrameDataSource for FmfSource
Source§fn frame0_time(&self) -> Option<DateTime<FixedOffset>>
fn frame0_time(&self) -> Option<DateTime<FixedOffset>>
Get the timestamp of the first frame. Read more
Source§fn skip_n_frames(&mut self, n_frames: usize) -> Result<()>
fn skip_n_frames(&mut self, n_frames: usize) -> Result<()>
Set source to skip the first N frames. Read more
Source§fn estimate_luminance_range(&mut self) -> Result<(u16, u16)>
fn estimate_luminance_range(&mut self) -> Result<(u16, u16)>
Scan over the input images and estimate the luminance range Read more
Source§fn decode_order_iter(&mut self) -> Box<dyn Iterator<Item = Result<FrameData>>>
fn decode_order_iter(&mut self) -> Box<dyn Iterator<Item = Result<FrameData>>>
Get an iterator over all frames in decode order (the order samples
are stored in the stream). Read more
Source§fn timestamp_source(&self) -> &str
fn timestamp_source(&self) -> &str
A string describing the source of the timestamp data
Source§fn has_timestamps(&self) -> bool
fn has_timestamps(&self) -> bool
Whether timestamps are available. Read more
fn camera_name(&self) -> Option<&str>
fn gamma(&self) -> Option<f32>
Source§fn srt_truncation(&self) -> Option<SrtTruncation>
fn srt_truncation(&self) -> Option<SrtTruncation>
Set when an SRT-file timestamp source ran out of usable stanzas
before covering every frame in the container, in which case the
source was truncated to the last complete group of pictures a stanza
is available for every frame of.
None for sources not using an SRT
file, or when the SRT covered every frame.Auto Trait Implementations§
impl Freeze for FmfSource
impl RefUnwindSafe for FmfSource
impl Send for FmfSource
impl Sync for FmfSource
impl Unpin for FmfSource
impl UnsafeUnpin for FmfSource
impl UnwindSafe for FmfSource
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more