Expand description
Low-latency platform video decoding for OpenIPC applications.
The crate accepts complete Annex-B access units, keeps codec parsing and backpressure behavior platform-neutral, and delegates actual decoding to a platform decoder. H.264 and H.265 are supported by the shared API.
Re-exports§
pub use api::CodecCapability;pub use api::CodecConfig;pub use api::CodecStreamInfo;pub use api::DecodedFrame;pub use api::DecodedSurface;pub use api::DecoderCapabilities;pub use api::DecoderOptions;pub use api::DecoderStats;pub use api::EncodedAccessUnit;pub use api::FrameDimensions;pub use api::PixelFormat;pub use api::SubmitOutcome;pub use api::VideoCodec;pub use api::VideoDecoder;pub use api::VideoError;pub use api::VideoTimestamp;pub use codecs::CodecConfigTracker;pub use codecs::ConfigUpdate;pub use codecs::H264Config;pub use codecs::H265Config;pub use backends::macos::MacOsDecoder;pub use backends::macos::MacOsVideoFrame;
Modules§
- api
- Platform-neutral decoder inputs, outputs, options, capabilities, and errors. Stable platform-neutral types used to configure and drive video decoders.
- backends
- Platform decoder implementations and their retained surface types. Target decoder backends for desktop, Android, and WebAssembly.
- codecs
- Annex-B parsing and H.264/H.265 configuration tracking. Codec framing and decoder configuration independent of any platform API.
- runtime
- Small queue, mailbox, and RTP timestamp utilities for decode runtimes. Reusable bounded buffering and timestamp helpers for decoder integrations.
Type Aliases§
- Platform
Decoder - Decoder selected for the current native operating system.