Expand description
VP8 lossy encoder for WebP.
This module provides a simplified VP8 encoder that produces valid VP8 keyframe bitstreams suitable for embedding in a WebP container. The encoder implements:
- RGB to YUV 4:2:0 color space conversion (BT.601)
- 16x16 macroblock processing with DC intra prediction
- Forward 4x4 DCT transform
- Coefficient quantization with quality-based QP mapping
- Boolean arithmetic coding (VP8 range coder)
- VP8 keyframe bitstream assembly per RFC 6386
§Limitations
- Only generates keyframes (no inter prediction / P-frames)
- Uses DC prediction mode exclusively (simplest intra prediction)
- Single DCT partition (no multi-partition)
- No rate-distortion optimization
§References
Structs§
- WebP
Lossy Encoder - VP8 lossy encoder for WebP.