4.1.2.1.5 Encode Frame #2 at 100%
After the processing described in sections 4.1.2.1.3 and 4.1.2.1.4, the remaining bits in each band are transmitted to reach the 100% progressive quality. Since there is no progressive quantization, the coefficients for UpgradeQ are identical to those from DRS.
Because the HL band does not receive any additional bits, and the number of bits is zero, no entries are produced for this band.
Coefficients #2, #3, and #4 in the LH band were sent as zeros for the encode operation at 25% and for the upgrade to 50% and hence they are encoded with the SRL encoder. All other coefficients are sent as raw bits. The coefficients from the LL band are always written as raw bits for an upgrade, regardless of the values that were sent before.
|
|
HL |
LH |
LL |
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
DRS |
0 |
0 |
0 |
0 |
0 |
1 |
-1 |
1 |
0 |
-1 |
0 |
1 |
2 |
1 |
|
UpgradeQ |
0 |
0 |
0 |
0 |
0 |
1 |
-1 |
1 |
0 |
-1 |
0 |
1 |
2 |
1 |
|
Number of bits |
0 |
1 |
2 |
|||||||||||
|
Raw entries |
|
|
|
|
|
1 |
|
|
|
-1 |
0 |
1 |
2 |
1 |
|
SRL entries |
|
|
|
|
|
|
-1 |
1 |
0 |
|
|
|
|
|
The raw result, broken down into elements, is:
-
1 | 1 | 00 | 01 | 10 | 01
This results in the bytes:
-
0xC6 0x40
The SRL result, broken down in run-length and unary encode, is:
-
101 | 10 | 0
This results in the byte:
-
0xB0