atrac3p:envelope_x_trees
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| atrac3p:envelope_x_trees [2010/07/21 17:15] – created megadiscman | atrac3p:envelope_x_trees [2010/10/23 22:03] (current) – correct wrong assignment of delta-x for increasing/decreasing Y trees. megadiscman | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| These trees are built as [[canonical huffman trees]]. Remember that negative values are 2's complement encoded and thus appear after the positive values in the trees. | These trees are built as [[canonical huffman trees]]. Remember that negative values are 2's complement encoded and thus appear after the positive values in the trees. | ||
| - | ===== delta x for increasing | + | ===== delta x for decreasing |
| * 0: not possible | * 0: not possible | ||
| * 1: 2 bits | * 1: 2 bits | ||
| - | * 2..3: 3 bits | + | * 2, 3: 3 bits |
| * 4..7: 4 bits | * 4..7: 4 bits | ||
| * 8..11: 5 bits | * 8..11: 5 bits | ||
| Line 11: | Line 11: | ||
| * 16..31: 8 bits | * 16..31: 8 bits | ||
| - | ===== delta x for decreasing | + | ===== delta x for increasing |
| * 0: not possible | * 0: not possible | ||
| * 1: 4 bits | * 1: 4 bits | ||
| * 2..6: 3 bits | * 2..6: 3 bits | ||
| - | * 7..8: 4 bits | + | * 7, 8: 4 bits |
| - | * 9..10: 5 bits | + | * 9, 10: 5 bits |
| * 11..13: 6 bits | * 11..13: 6 bits | ||
| - | * 14..15: 7 bits | + | * 14, 15: 7 bits |
| * 16..31: 8 bits | * 16..31: 8 bits | ||
| - | ===== delta x to previous band for increasing | + | ===== delta x to master tree ===== |
| + | * -16..-4: 7 bits | ||
| + | * -3, -2: 6 bits | ||
| + | * -1: 4 bits | ||
| + | * 0: 1 bit | ||
| + | * 1, 2: 4 bits | ||
| + | * 3, 4: 5 bits | ||
| + | * 5..8: 6 bits | ||
| + | * 9..15: 7 bits | ||
| + | |||
| + | ===== delta x to previous band for decreasing | ||
| * -16..-7: 6 bits | * -16..-7: 6 bits | ||
| * -2..-6: 5 bits | * -2..-6: 5 bits | ||
| Line 30: | Line 40: | ||
| * 8..15: 6 bits | * 8..15: 6 bits | ||
| - | ===== delta x to previous band for decreasing | + | ===== delta x to previous band for increasing |
| * -16..-5: 5 bits | * -16..-5: 5 bits | ||
| * -4..-3: 4 bits | * -4..-3: 4 bits | ||
atrac3p/envelope_x_trees.1279732534.txt.gz · Last modified: 2010/07/21 17:15 by megadiscman
