forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

lib.rs72 lines, 1.8 KiBHistoryRawDownload
1//! AV1 OBU writer — bit-exact inverse of the [`ec_av1_syntax`] parsers, for
2//! the stateless hardware-decoder subset (sequence header and key-frame header
3//! OBUs).
4//!
5//! [`bits`] holds the bit-primitive writers every higher-level OBU writer is
6//! built from; each is the direct inverse of the matching reader in
7//! [`ec_av1_syntax::obu`] and is roundtripped against that reader in its tests.
8//!
9//! AV1 is covered by the AOMedia Patent License 1.0; this crate is an
10//! independent implementation written from the specification alone.
11//!
12//! # Unsafe
13//!
14//! This crate is `forbid(unsafe_code)`: it contains no `unsafe` block, fn or
15//! impl, and the motion compensation kernels are safe Rust. The scalar
16//! function each kernel replaces stays the reference implementation.
17
18#![forbid(unsafe_code)]
19#![warn(missing_docs)]
20// Codec signatures are tuples of slices and iterator adaptors; one alias per signature would add indirection without clarity.
21#![allow(clippy::type_complexity)]
22
23pub mod bits;
24mod autothreads;
25pub mod cdf;
26mod cdf_state;
27pub mod census;
28mod compound;
29pub mod decode;
30pub mod encode;
31mod dumpio;
32pub mod encoder;
33#[doc(hidden)]
34pub mod fault;
35mod envflags;
36mod film_grain;
37pub use film_grain::apply_film_grain;
38mod filter_search;
39pub mod frame;
40// Test-only: the real-library fixture root and the one presence probe every
41// gate that needs a clip routes through.
42mod gate_coverage;
43mod hits;
44pub mod intra;
45#[cfg(test)]
46mod library_fixture;
47pub mod mc;
48pub mod motion;
49mod motion_field;
50pub mod msac;
51pub mod mvstack;
52pub mod obu;
53mod par;
54pub mod probe;
55pub mod qm;
56pub mod quant;
57mod refusal_inventory;
58mod restoration;
59pub mod sequence;
60pub mod speed;
61mod stack_budget;
62pub mod stream;
63mod superres;
64#[cfg(test)]
65mod test_source;
66#[cfg(test)]
67pub(crate) mod tool_cache;
68pub mod tile;
69mod timeline;
70pub mod transform;
71mod warp;
72mod wedge;