pub struct VitcLineBuffer { /* private fields */ }Expand description
VITC line buffer for video frame integration
Implementations§
Source§impl VitcLineBuffer
impl VitcLineBuffer
Sourcepub fn new(video_standard: VideoStandard) -> Self
pub fn new(video_standard: VideoStandard) -> Self
Create a new line buffer
Sourcepub fn add_line(&mut self, line_number: u16, field: u8, pixels: Vec<u8>)
pub fn add_line(&mut self, line_number: u16, field: u8, pixels: Vec<u8>)
Add a VITC line to the buffer
Sourcepub fn get_field_lines(&self, field: u8) -> Vec<(u16, &[u8])>
pub fn get_field_lines(&self, field: u8) -> Vec<(u16, &[u8])>
Get all lines for a specific field
Sourcepub fn line_count(&self) -> usize
pub fn line_count(&self) -> usize
Get total lines
Auto Trait Implementations§
impl Freeze for VitcLineBuffer
impl RefUnwindSafe for VitcLineBuffer
impl Send for VitcLineBuffer
impl Sync for VitcLineBuffer
impl Unpin for VitcLineBuffer
impl UnsafeUnpin for VitcLineBuffer
impl UnwindSafe for VitcLineBuffer
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