Skip to main content

mediaway_sw/
lib.rs

1//! Pure Rust sans-io software codec fallbacks (no C codec FFI).
2//!
3//! No C codec FFI (`OpenH264`, `libvpx`, …). Codec logic lives in Rust cores
4//! (or reviewed Rust deps such as `rav1e`) behind sans-io adapters. Stage 5 of the
5//! workspace roadmap; see `docs/roadmap.md` for this crate's own staging.
6//!
7//! Current scope: [`h264`] Annex-B/AVCC NAL unit framing, SPS/PPS header parsing, and a
8//! Baseline/CAVLC/I-slice single-frame pixel decode loop (`I_16x16`/`I_PCM` macroblocks
9//! only, no deblocking filter); [`pcm`] raw PCM passthrough encode/decode; [`av1`] AV1
10//! encode via `rav1e`. See `adr/0001-h264-baseline-decoder-first.md` for the H.264 decode
11//! staging plan, `adr/0003-cavlc-i-slice-first-decode.md` for this decode loop's exact
12//! scope cuts, and `adr/0002-rav1e-av1-encode.md` for the AV1 adapter scope.
13
14#![allow(unsafe_code)]
15
16pub mod av1;
17pub mod h264;
18pub mod pcm;
19
20// ── merged platform/domain modules (ADR-0021) ──
21pub mod apm;
22pub mod opus;