Struct adder_codec_rs::transcoder::source::framed_source::FramedSource
source · [−]pub struct FramedSource {
pub frame_idx_start: u32,
/* private fields */
}
Expand description
Attributes of a framed video -> ADΔER transcode
Fields
frame_idx_start: u32
Trait Implementations
sourceimpl Source for FramedSource
impl Source for FramedSource
sourcefn consume(&mut self, view_interval: u32) -> Result<Vec<Vec<Event>>, SourceError>
fn consume(&mut self, view_interval: u32) -> Result<Vec<Vec<Event>>, SourceError>
Get pixel-wise intensities directly from source frame, and integrate them with
ref_time
(the number of ticks each frame is said to span)
fn get_video_mut(&mut self) -> &mut Video
fn get_video(&self) -> &Video
Auto Trait Implementations
impl !RefUnwindSafe for FramedSource
impl Send for FramedSource
impl !Sync for FramedSource
impl Unpin for FramedSource
impl !UnwindSafe for FramedSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more