pub struct GenlockSynchronizer { /* private fields */ }Expand description
Genlock synchronizer
Implementations§
Source§impl GenlockSynchronizer
impl GenlockSynchronizer
Sourcepub fn update_reference(&mut self, phase: f32)
pub fn update_reference(&mut self, phase: f32)
Update with reference sync pulse
Sourcepub fn update_timecode(&mut self, timecode: &Timecode)
pub fn update_timecode(&mut self, timecode: &Timecode)
Update with timecode sync
Sourcepub fn phase_error(&self) -> f32
pub fn phase_error(&self) -> f32
Get phase error
Sourcepub fn correction_frames(&self) -> i32
pub fn correction_frames(&self) -> i32
Get correction in frames
Auto Trait Implementations§
impl Freeze for GenlockSynchronizer
impl RefUnwindSafe for GenlockSynchronizer
impl Send for GenlockSynchronizer
impl Sync for GenlockSynchronizer
impl Unpin for GenlockSynchronizer
impl UnsafeUnpin for GenlockSynchronizer
impl UnwindSafe for GenlockSynchronizer
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