mc.h
711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#define MC_SWITCH_TABLE 0x80
/* These MVs are passed in as arguments */
/* Chroma MVs are calculated and don't need to be sent in */
/* LBASE and OBASE are Relative to the base registers passed in */
#define ROffset eval(MB_YREF_SIZE/2)
#define CrOffset eval(MB_YREF_SIZE)
#define RCrOffset eval(MB_UVREF_SIZE/2)
#define OCrOffset CrOffset
.name dum, $1
.name dum2, $2
.name mc4, $3
.name xRbase, $4
.name Lbasep1, $5
.name Rbasep1, $6
.name xh, $7
.name yh, $8
.name mvx, $15
.name mvy, $16
.name xLbase, $17
.name xObase, $18
.name v0, $v0
.name v1, $v1
.name v2, $v2
.name v3, $v3
#define t0 t1p1
#define t3 t2p1
.name t1, $v10
.name t1p1, $v11
.name t2, $v12
.name t2p1, $v13