| 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::{ |
| 13 |
DecodingError, LoopCount, UpsamplingMethod, WebPDecodeOptions, WebPDecoder, |
| 14 |
}; |
| 15 |
pub use self::encoder::{ColorType, EncoderParams, EncodingError, WebPEncoder}; |
| 16 |
|
| 17 |
mod alpha_blending; |
| 18 |
mod decoder; |
| 19 |
mod encoder; |
| 20 |
mod extended; |
| 21 |
mod huffman; |
| 22 |
mod loop_filter; |
| 23 |
mod lossless; |
| 24 |
mod lossless_transform; |
| 25 |
mod transform; |
| 26 |
mod vp8_arithmetic_decoder; |
| 27 |
mod yuv; |
| 28 |
|
| 29 |
pub mod vp8; |