idct.h
1006 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.name p0, $v0
.name q0, $v1
.name p2, $v2
.name q2, $v3
.name p1, $v4
.name q1, $v5
.name p3, $v6
.name q3, $v7
.name a00, $v24
.name a08, $v25
.name a10, $v26
.name a18, $v27
.name vdum, $v31
.name consts, $v30
#define SCALEUP 0
#define ZERO 1
#define NEG1 2
#define SCALEDN 3
#define ONE 4
#define AMAT0L 0x80
#define AMAT0H 0x90
#define AMAT1L 0xa0
#define AMAT1H 0xb0
#define IDCT_CONSTS 0xc0
#define ROW0 0x00
#define ROW1 0x10
#define ROW2 0x20
#define ROW3 0x30
#define ROW4 0x40
#define ROW5 0x50
#define ROW6 0x60
#define ROW7 0x70
#define TRANS0 0x100
#define TRANS1 0x110
#define TRANS2 0x120
#define TRANS3 0x130
#define TRANS4 0x140
#define TRANS5 0x150
#define TRANS6 0x160
#define TRANS7 0x170
.name dum, $1
.name caddr, $2
.name x00, $v8
.name x01, $v9
.name x02, $v10
.name x03, $v11
.name x10, $v12
.name x11, $v13
.name x12, $v14
.name x13, $v15
.name x20, $v16
.name x21, $v17
.name x22, $v18
.name x23, $v19
.name x24, $v20
.name x25, $v21
.name x26, $v22
.name x27, $v23