edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | //! Scan orders and entropy codebooks (RDD 36 section 7). |
| 2 | |
| 3 | /// Progressive scan: coefficient index in decode order -> raster position. |
| 4 | pub const PROGRESSIVE_SCAN: = |
| 5 | |
| 6 | |
| 7 | |
| 8 | ; |
| 9 | |
| 10 | /// Interlaced (field) scan. |
| 11 | pub const INTERLACED_SCAN: = |
| 12 | |
| 13 | |
| 14 | |
| 15 | ; |
| 16 | |
| 17 | /// Codebook byte: `rice_order << 5 | exp_golomb_order << 2 | (switch_bits - 1)`. |
| 18 | pub const FIRST_DC_CB: u8 = 0xB8; |
| 19 | pub const DC_CB: = ; |
| 20 | pub const RUN_CB: = |
| 21 | |
| 22 | ; |
| 23 | pub const LEVEL_CB: = ; |