Trait adder_codec_rs::transcoder::source::video::Source
source · pub trait Source {
fn consume(
&mut self,
view_interval: u32,
thread_pool: &ThreadPool
) -> Result<Vec<Vec<Event>>, SourceError>;
fn get_video_mut(&mut self) -> &mut Video;
fn get_video(&self) -> &Video;
}
Required Methods§
sourcefn consume(
&mut self,
view_interval: u32,
thread_pool: &ThreadPool
) -> Result<Vec<Vec<Event>>, SourceError>
fn consume(
&mut self,
view_interval: u32,
thread_pool: &ThreadPool
) -> Result<Vec<Vec<Event>>, SourceError>
Intake one input interval worth of data from the source stream into the ADΔER model as intensities