Commit 0a3269f
authored
Defer color packing and scrambling (#385)
This change moves packing and scrambling of quantized colors for the BISE bitstream to the physical layer. The symbolic layer of the codec always deals with colors in linear order in the 0-255 range, with sparse values if quantized. This matches a similar change we made for weights in an earlier release.
This improves performance by ~1%, at the expense of an extra set of data tables, although the ROM cost is offset by making one of the other sets of tables in to a table of variable length tables, instead of a regular 2D array.1 parent ae328ea commit 0a3269f
9 files changed
Lines changed: 974 additions & 789 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
1009 | | - | |
| 1009 | + | |
1010 | 1010 | | |
1011 | 1011 | | |
1012 | 1012 | | |
| |||
0 commit comments