Table B-9 --- Variable length codes for coded_block_pattern.
coded_block_pattern VLC code
|
cbp
|
coded_block_pattern VLC code
|
cbp
|
111
|
60
|
0001 1100
|
35
|
1101
|
4
|
0001 1011
|
13
|
0001 1101
|
19
|
0000 0000 1
|
0 (NOTE)
|
NOTE — This entry shall not be used with 4:2:0 chrominance structure
|
|
|
|
Table B-10 --- Variable length codes for motion_code
Variable length code
|
motion_code[r][s][t]
|
0000 0011 001
|
-16
|
0000 0011 011
|
-15
|
0000 0100 000
|
12
|
0000 0011 000
|
16
|
Table B-11 — Variable length codes for dmvector[t]
code
|
value
|
11
|
-1
|
0
|
0
|
10
|
1
|
Table B-12 --- Variable length codes for dct_dc_size_luminance
Variable length code
|
dct_dc_size_luminance
|
100
|
0
|
00
|
1
|
1111 1111 1
|
11
|
Table B-13 --- Variable length codes for dct_dc_size_chrominance
Variable length code
|
dct_dc_size_chrominance
|
00
|
0
|
01
|
1
|
1111 1111 11
|
11
|
Table B-14 --- DCT coefficients Table zero
Variable length code (NOTE1)
|
run
|
level
|
10 (NOTE 2)
|
End of Block
|
|
1 s (NOTE 3)
|
0
|
1
|
0000 0010 00 s
|
16
|
1
|
NOTE1 - The last bit ‘s’ denotes the sign of the level, ‘0’ for positive ‘1’ for negative.
NOTE2 - “End of Block” shall not be the only code of the block.
NOTE3 - This code shall be used for the first (DC) coefficient in the block
NOTE4 - This code shall be used for all other coefficients
|
|
|
Table B-14 --- DCT coefficients Table zero (continued)
Variable length code (NOTE)
|
run
|
level
|
0000 0001 1101 s
|
0
|
8
|
0000 0001 1000 s
|
0
|
9
|
0000 0000 1101 1 s
|
26
|
1
|
NOTE - The last bit ‘s’ denotes the sign of the level, ‘0’ for positive, ‘1’ for negative.
|
|
|
Table B-14 --- DCT coefficients Table zero (continued)
Variable length code (NOTE)
|
run
|
level
|
0000 0000 0111 11 s
|
0
|
16
|
0000 0000 0111 10 s
|
0
|
17
|
0000 0000 0011 001 s
|
1
|
14
|
NOTE - The last bit ‘s’ denotes the sign of the level, ‘0’ for positive, ‘1’ for negative.
|
|
|
Table B-14 --- DCT coefficients Table zero (concluded)
Variable length code (NOTE)
|
run
|
level
|
0000 0000 0001 0011 s
|
1
|
15
|
0000 0000 0001 0010 s
|
1
|
16
|
0000 0000 0001 1011 s
|
31
|
1
|
NOTE - The last bit ‘s’ denotes the sign of the level, ‘0’ for positive, ‘1’ for negative.
|
|
|
Table B-15 --- DCT coefficients Table one
Variable length code (NOTE1)
|
run
|
level
|
0110 NOTE2
|
End of Block
|
|
10s
|
0
|
1
|
0000 0011 01 s
|
16
|
1
|
NOTE 1 - The last bit ‘s’ denotes the sign of the level, ‘0’ for positive ‘1’ for negative.
NOTE 2 - “End of Block” shall not occur as the only code of a block.
|
|
|
Table B-15 --- DCT coefficients Table one (continued)
Variable length code (NOTE)
|
run
|
level
|
1111 011 s
|
0
|
8
|
1111 100 s
|
0
|
9
|
0000 0000 1101 1 s
|
26
|
1
|
NOTE - The last bit ‘s’ denotes the sign of the level, ‘0’ for positive, ‘1’ for negative.
|
|
|
Table B-15 --- DCT coefficients Table one (continued)
Variable length code (NOTE)
|
run
|
level
|
0000 0000 0111 11 s
|
0
|
16
|
0000 0000 0111 10 s
|
0
|
17
|
0000 0000 0011 001 s
|
1
|
14
|
NOTE - The last bit ‘s’ denotes the sign of the level, ‘0’ for positive, ‘1’ for negative.
|
|
|
Table B-15 --- DCT coefficients Table one (concluded)
Variable length code (NOTE)
|
run
|
level
|
0000 0000 0001 0011 s
|
1
|
15
|
0000 0000 0001 0010 s
|
1
|
16
|
0000 0000 0001 1011 s
|
31
|
1
|
NOTE - The last bit ‘s’ denotes the sign of the level, ‘0’ for positive, ‘1’ for negative.
|
|
|
Table B-16 --- Encoding of run and level following an ESCAPE code
fixed length code
|
run
|
|
fixed length code
|
signed_level
|
0000 00
|
0
|
|
1000 0000 0001
|
-2047
|
0000 01
|
1
|
|
1000 0000 0010
|
-2046
|
1111 11
|
63
|
|
0111 1111 1111
|
+2047
|
|