pub struct VitcPatternCache {
pub crc_table: [u8; 256],
pub patterns: HashMap<u8, VitcPattern>,
}Expand description
Cache of pre-computed CRC table and per-frame-rate VITC insertion patterns.
Fields§
§crc_table: [u8; 256]256-entry CRC lookup table using polynomial x^8 + x^2 + x + 1.
patterns: HashMap<u8, VitcPattern>Pre-computed patterns for common broadcast frame rates.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VitcPatternCache
impl RefUnwindSafe for VitcPatternCache
impl Send for VitcPatternCache
impl Sync for VitcPatternCache
impl Unpin for VitcPatternCache
impl UnsafeUnpin for VitcPatternCache
impl UnwindSafe for VitcPatternCache
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