phasm_core/codec/mod.rs
1// Copyright (c) 2026 Christoph Gaffga
2// SPDX-License-Identifier: GPL-3.0-only
3// https://github.com/cgaffga/phasmcore
4
5//! Media format codecs — pure I/O parsers with no steganographic logic.
6//!
7//! - [`jpeg`] — JPEG coefficient codec (zero-dependency, byte-for-byte round-trip)
8//! - [`hevc`] — H.265/HEVC bitstream parser (NAL units, SPS, PPS, slices, CTUs)
9//! - [`cabac`] — Context-Adaptive Binary Arithmetic Coding engine
10//! - [`mp4`] — ISO BMFF / QuickTime MP4/MOV container demuxer and muxer
11
12pub mod jpeg;
13
14// Phase 4a: HEVC modules are archived. Gate behind `hevc-archive` (off by
15// default). The H.264 pipeline is the production path.
16#[cfg(feature = "video")]
17pub mod h264;
18#[cfg(feature = "video")]
19pub mod mp4;