forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust376.2 MiBa69dfabTahinli6 hours ago4073 commits

lib.rs65 lines, 1.6 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;
40mod hits;
41pub mod intra;
42pub mod mc;
43pub mod motion;
44mod motion_field;
45pub mod msac;
46pub mod mvstack;
47pub mod obu;
48mod par;
49#[cfg(test)]
50mod probe;
51pub mod qm;
52pub mod quant;
53mod restoration;
54pub mod sequence;
55pub mod speed;
56mod stack_budget;
57pub mod stream;
58mod superres;
59#[cfg(test)]
60mod test_source;
61pub mod tile;
62mod timeline;
63pub mod transform;
64mod warp;
65mod wedge;