edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 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 | |
| 19 | |
| 20 | // Codec signatures are tuples of slices and iterator adaptors; one alias per signature would add indirection without clarity. |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | pub use apply_film_grain; |
| 38 | |
| 39 | |
| 40 | // Test-only: the real-library fixture root and the one presence probe every |
| 41 | // gate that needs a clip routes through. |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | pub |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 |