pub struct MultiLineVitcReader { /* private fields */ }Expand description
Multi-line VITC reader for redundancy
Implementations§
Source§impl MultiLineVitcReader
impl MultiLineVitcReader
Sourcepub fn new(config: VitcReaderConfig) -> Self
pub fn new(config: VitcReaderConfig) -> Self
Create a multi-line reader
Sourcepub fn process_line(
&mut self,
line_number: u16,
field: u8,
pixels: &[u8],
) -> Vec<(u16, Result<Option<Timecode>, TimecodeError>)>
pub fn process_line( &mut self, line_number: u16, field: u8, pixels: &[u8], ) -> Vec<(u16, Result<Option<Timecode>, TimecodeError>)>
Process a line with all decoders
Sourcepub fn get_best_timecode(
&self,
results: &[(u16, Result<Option<Timecode>, TimecodeError>)],
) -> Option<Timecode>
pub fn get_best_timecode( &self, results: &[(u16, Result<Option<Timecode>, TimecodeError>)], ) -> Option<Timecode>
Get the best timecode from multiple results
Auto Trait Implementations§
impl Freeze for MultiLineVitcReader
impl RefUnwindSafe for MultiLineVitcReader
impl Send for MultiLineVitcReader
impl Sync for MultiLineVitcReader
impl Unpin for MultiLineVitcReader
impl UnsafeUnpin for MultiLineVitcReader
impl UnwindSafe for MultiLineVitcReader
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