Game Development Reference
In-Depth Information
Table 4.2 ( d x , d y ) value for
each prediction mode
Mode Index
d x
d y
dir XY
3
11
4
0
4
2
1
0
5
11
8
0
6
1
1
0
7
8
11
0
8
1
2
0
9
4
11
0
10
1
4
0
11
1
8
0
12
0
0
0
13
1
8
0
14
1
4
0
15
4
11
0
16
1
2
0
17
8
11
0
18
1
1
0
19
11
8
0
20
2
1
0
21
11
4
0
22
4
1
0
23
8
1
0
24
0
0
0
25
8
1
1
26
4
1
1
27
11
4
1
28
2
1
1
29
11
8
1
30
1
1
1
31
8
11
1
32
1
2
1
where ia is equal to
(
r
[
M
]+
c
[
N
] )
4 and ib is equal to
(
32
×
ih
×
i mult h
+
(
i weight h
>>
1
))/
i weight h and ic is equal to
(
32
×
i
v ×
i mult
v + (
i weight
v>>
1
))/
i weight
v
, where the labels are computed as:
i mult h
=
ib mult
[
log
(
M
)
2
]
(4.27a)
v =
[
)
]
i mult
ib mult
log
(
N
2
(4.27b)
 
Search WWH ::




Custom Search