Skip to main content

Module format

Module format 

Source
Expand description

Media-type and sample/pixel format enumerations.

Audio channel ordering follows SMPTE 2036-2 / ITU-R BS.775 conventions for surround layouts; per-channel positions are named with the WAVEFORMATEXTENSIBLE / FFmpeg “front-left, front-right, …” vocabulary.

Structs§

ParseChannelLayoutError
Error returned by the ChannelLayout FromStr impl when the input doesn’t match any recognised layout name.

Enums§

ChannelLayout
Audio channel layout — names a fixed ordered tuple of speaker positions, OR carries a discrete fallback count when the layout is unknown / non-standard.
ChannelPosition
A single speaker position within a multi-channel audio layout.
MediaType
PixelFormat
Video pixel format.
SampleFormat
Audio sample format.