atrac3p:serialized_quantization_unit_tree_choice_info
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
atrac3p:serialized_quantization_unit_tree_choice_info [2010/07/23 17:01] – moved on bandlet -> QU megadiscman | atrac3p:serialized_quantization_unit_tree_choice_info [2010/10/16 22:36] (current) – linkfix megadiscman | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Serialized quantization unit tree IDs ===== | ===== Serialized quantization unit tree IDs ===== | ||
- | The frequency space data of the quantization units is generally Huffman encoded. There are two tree sets, which will be called tree set A and tree set B. Each of the tree sets consists of 8 trees for each quantizer | + | The frequency space data of the quantization units is generally Huffman encoded. There are two tree sets, which will be called tree set A and tree set B. Each of the tree sets consists of 8 trees for each quantization precision |
- | As opposed to the quantization unit levels, which are stored for all quantization units up to the last quantization unit with a non-zero | + | As opposed to the quantization unit levels, which are stored for all quantization units up to the last quantization unit with a non-zero |
- | The tree choice may either be complete (each quantization unit chooses one of the eight trees for it' | + | The tree choice may either be complete (each quantization unit chooses one of the eight trees for it' |
- | Another catch is that the Tree ID is reused as a joint stereo flag. If the quantizer | + | Another catch is that the Tree ID is reused as a joint stereo flag. If the quantization precision |
If quantization unit specific info is given at all (i.e. not mode 3 on master channel), then a bit indicates whether tree IDs are stored for all quantization units that need them, or only for the some first quantization units (number given) and the remaining tree IDs are implicitly zero. | If quantization unit specific info is given at all (i.e. not mode 3 on master channel), then a bit indicates whether tree IDs are stored for all quantization units that need them, or only for the some first quantization units (number given) and the remaining tree IDs are implicitly zero. | ||
Line 18: | Line 18: | ||
=== Mode 2: Delta encoding === | === Mode 2: Delta encoding === | ||
- | For quantization units needing a joint-stereo flag this mode works like mode 0 and mode 1 do, too, it just fetches a bit. For restricted or complete | + | For quantization units needing a joint-stereo flag this mode works like mode 0 and mode 1 do, too, it just fetches a bit. Otherwise, the Tree ID for the first quantization unit is loaded as in mode 1 (if needed). All further |
=== Mode 3 on master channel: Just zero === | === Mode 3 on master channel: Just zero === | ||
Line 48: | Line 48: | ||
==== Encoding mode 2: Delta encoding ==== | ==== Encoding mode 2: Delta encoding ==== | ||
+ | * for the first quantization unit: | ||
+ | * non-zero quant, full IDs: code from [[quantization unit tree id trees#full tree ID tree|full tree id]] | ||
+ | * non-zero quant, restricted trees: code from [[quantization unit tree id trees# | ||
+ | * zero quant, master non-zero: 1 bit " | ||
* for each explicit quantization unit | * for each explicit quantization unit | ||
* non-zero quant, full IDs: code from [[quantization unit tree id trees#delta prev tree id|delta-to-prev tree ID tree]] (delta to previous ID/to zero) | * non-zero quant, full IDs: code from [[quantization unit tree id trees#delta prev tree id|delta-to-prev tree ID tree]] (delta to previous ID/to zero) |
atrac3p/serialized_quantization_unit_tree_choice_info.txt · Last modified: 2010/10/16 22:36 by megadiscman