Expand description
Baseline JPEG constants. JPEG constants and helpers shared by CPU and device backends.
Modules§
- idct
- Fixed-point constants used by the baseline JPEG integer IDCT.
- lossless
- Lossless (SOF3) prediction and difference coding. Lossless (SOF3) JPEG prediction and difference coding (T.81 Annex H).
- ycbcr
- Fixed-point constants used by JPEG YCbCr to RGB conversion.
Structs§
- Canonical
Huffman Derivation - Canonical JPEG Huffman table derivation.
Enums§
- Canonical
Huffman Error - Error returned by
derive_canonical_huffman.
Constants§
- ZIGZAG
- T.81 zigzag order from stream coefficient index to natural 8x8 index.
Functions§
- derive_
canonical_ huffman - Derive canonical JPEG Huffman codes and slow-path decode bounds from the
T.81 DHT
BITSvector and HUFFVAL length.