1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
68
69
70
71
//! WebP encoder implementation.
//!
//! This module provides lossy (VP8) and lossless (VP8L) WebP encoding with
//! perceptual optimizations for improved rate-quality trade-offs.
//!
//! # Module Organization
//!
//! **Core encoding:**
//! - [`vp8`]: Lossy VP8 encoding (DCT-based, like JPEG)
//! - [`vp8l`]: Lossless VP8L encoding (LZ77 + entropy coding)
//!
//! **Rate-distortion optimization:**
//! - [`analysis`]: Segment-based adaptive quantization (k-means clustering)
//! - [`cost`]: RD cost estimation for mode selection
//! - trellis: Trellis quantization for optimal coefficient selection
//!
//! **Perceptual models:**
//! - psy: CSF weighting, JND thresholds, masking-based AQ
//!
//! **Low-level utilities:**
//! - [`quantize`]: Quantization matrices and coefficient quantization
//! - [`tables`]: Lookup tables (entropy costs, zigzag order, etc.)
//! - arithmetic: Arithmetic/range coding
//! - residual_cost: SIMD-optimized residual cost estimation
/// Image analysis and auto-detection.
/// Type-safe encoder configuration.
/// Rate-distortion cost estimation.
pub
/// Perceptual distortion model (CSF tables, psy-rd, psy-trellis)
pub
/// Quantization matrix and coefficient quantization.
/// Residual cost estimation (SIMD-optimized)
/// Codec lookup tables.
/// Trellis quantization for RD-optimized coefficient selection
/// VP8 lossy encoder implementation.
/// VP8L lossless encoder implementation.
// Re-export public API
pub use ;
pub use EncoderParams;
pub use ;
pub use ;
pub use ;
// Crate-internal re-exports for mux module
pub use ;
pub use VecWriter;