Expand description
Encoding and decoding for HDMI InfoFrames.
cartouche encodes and decodes the five HDMI 2.1 InfoFrame types: AVI, Audio,
HDR Static Metadata, HDMI Forum Vendor-Specific, and Dynamic HDR. It is a pure
encoding/decoding library with no I/O and no allocation requirement.
§Features
std(default, impliesalloc): enablesstdsupport.Decoded<T, W>usesVec<W>for warning storage.alloc: enablesallocsupport withoutstd.Decoded<T, W>usesVec<W>.serde: derivesSerializeandDeserializeon all public types.
Without alloc or std, warning storage falls back to a fixed [Option<W>; 8]
array. No other behaviour changes.
Modules§
- audio
- The
AudioInfoFrametype. - avi
- The
AviInfoFrametype. - decoded
- The
Decoded<T, W>type returned by all decode paths. - dynamic_
hdr - The
DynamicHdrInfoFrameandDynamicHdrFragmenttypes. - encode
- The
IntoPacketsencoding trait. - error
- The
DecodeErrortype. - frame
- The
InfoFrameandInfoFramePacketenums. - hdmi_
forum_ vsi - The
HdmiForumVsitype. - hdr_
static - The
HdrStaticInfoFrametype. - warn
- Per-frame warning enums and the unified
Warningwrapper.
Functions§
- decode
- Decode a single 31-byte wire packet into an
InfoFramePacket.