Crate cdp_types

Source
Expand description

§cdp-types

Provides the necessary infrastructure to read and write CDP (Caption Distribution Packet)

The reference for this implementation is the SMPTE 334-2-2007 specification.

Re-exports§

pub use cea708_types;

Structs§

CDPParser
Parses CDP packets.
CDPWriter
A struct for writing a stream of CDPs
DigitalServiceEntry
A service entry for digital closed captions, i.e. CEA-708 captions.
Framerate
A framerate as found in a CDP.
ServiceEntry
An entry for a caption service as specified in ATSC A/65 (2013) 6.9.2 Caption Service Descriptor - Table 6.26
ServiceInfo
A Closed Caption Service Information block as stored in CDP (SMPTE 334-2).
TimeCode
A time code as available in a CDP.

Enums§

FieldOrService
A value that is either a CEA-608 field or a CEA-708 service.
ParserError
Various possible errors when parsing data
WriterError
An error enum returned when writing data fails