Skip to main content

decode_anc_timecode

Function decode_anc_timecode 

Source
pub fn decode_anc_timecode(pkt: &Smpte309mPacket) -> Option<(Timecode, [u8; 4])>
Expand description

Decode a SMPTE 309M ANC packet into a Timecode and binary group bytes.

Returns None if:

  • DID or SDID do not equal 0x60, or
  • any of the 16 payload words fails its odd-parity check.