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
- Digital
Service Entry - A service entry for digital closed captions, i.e. CEA-708 captions.
- Framerate
- A framerate as found in a CDP.
- Service
Entry - An entry for a caption service as specified in ATSC A/65 (2013) 6.9.2 Caption Service Descriptor - Table 6.26
- Service
Info - A Closed Caption Service Information block as stored in CDP (SMPTE 334-2).
- Time
Code - A time code as available in a CDP.
Enums§
- Field
OrService - A value that is either a CEA-608 field or a CEA-708 service.
- Parser
Error - Various possible errors when parsing data
- Writer
Error - An error enum returned when writing data fails