1 | //! Decoding and Encoding of WebP Images |
2 | |
3 | #![forbid (unsafe_code)] |
4 | #![deny (missing_docs)] |
5 | // Increase recursion limit for the `quick_error!` macro. |
6 | #![recursion_limit = "256" ] |
7 | // Enable nightly benchmark functionality if "_benchmarks" feature is enabled. |
8 | #![cfg_attr (all(test, feature = "_benchmarks" ), feature(test))] |
9 | #[cfg (all(test, feature = "_benchmarks" ))] |
10 | extern crate test; |
11 | |
12 | pub use self::decoder::{DecodingError, LoopCount, WebPDecoder}; |
13 | pub use self::encoder::{ColorType, EncoderParams, EncodingError, WebPEncoder}; |
14 | |
15 | mod alpha_blending; |
16 | mod decoder; |
17 | mod encoder; |
18 | mod extended; |
19 | mod huffman; |
20 | mod loop_filter; |
21 | mod lossless; |
22 | mod lossless_transform; |
23 | mod transform; |
24 | mod vp8_arithmetic_decoder; |
25 | |
26 | pub mod vp8; |
27 | |