Struct adder_codec_rs::transcoder::source::framed_source::FramedSourceBuilder
source · pub struct FramedSourceBuilder { /* private fields */ }
Implementations§
source§impl FramedSourceBuilder
impl FramedSourceBuilder
pub fn new(
input_filename: String,
source_camera: SourceCamera
) -> FramedSourceBuilder
pub fn output_events_filename(
self,
output_events_filename: String
) -> FramedSourceBuilder
pub fn frame_start(self, frame_idx_start: u32) -> FramedSourceBuilder
pub fn chunk_rows(self, chunk_rows: usize) -> FramedSourceBuilder
pub fn time_parameters(
self,
ref_time: u32,
delta_t_max: u32
) -> FramedSourceBuilder
pub fn contrast_thresholds(
self,
c_thresh_pos: u8,
c_thresh_neg: u8
) -> FramedSourceBuilder
pub fn scale(self, scale: f64) -> FramedSourceBuilder
pub fn skip_interval(self, frame_skip_interval: u8) -> FramedSourceBuilder
pub fn color(self, color_input: bool) -> FramedSourceBuilder
pub fn communicate_events(self, communicate_events: bool) -> FramedSourceBuilder
pub fn show_display(self, show_display_b: bool) -> FramedSourceBuilder
pub fn finish(self) -> Result<FramedSource>
Auto Trait Implementations§
impl RefUnwindSafe for FramedSourceBuilder
impl Send for FramedSourceBuilder
impl Sync for FramedSourceBuilder
impl Unpin for FramedSourceBuilder
impl UnwindSafe for FramedSourceBuilder
Blanket Implementations§
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>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.