idct.h 1.12 KB
.name	p0,	$v8
.name	q0,	$v9
.name	p2,	$v10
.name	q2,	$v11
.name	p1,	$v12
.name	q1,	$v13
.name	p3,	$v14
.name	q3,	$v15


.name	a00,	$v4
.name	a08,	$v5
.name	a10,	$v6
.name	a18,	$v7

.name   vone,   $v1
.name	vdum,	$v2
.name	consts,	$v3

#define NSCALEDN	0
#define HALF2		1
#define NEG1		2
#define SCALEDN		3
#define ONE		4
#define HALF    	5
#define SHIFT5  	6
#define SUBHALF 	7

/* These are offsets to IDCT_CONST_BASE 
 #define	AMAT0L	0x00 
 #define	AMAT0H	0x10
 #define	AMAT1L	0x20
 #define	AMAT1H	0x30
 #define	IDCT_CONSTS	0x40
*/	

#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	0x00
#define TRANS1	0x10
#define TRANS2	0x20
#define TRANS3	0x30
#define TRANS4	0x40
#define TRANS5	0x50
#define TRANS6	0x60
#define TRANS7	0x70
*/

.name	dum,	$7
.name	caddr,	$8


.name	x00,	$v16
.name	x01,	$v17
.name	x02,	$v18
.name	x03,	$v19

.name	x10,	$v20
.name	x11,	$v21
.name	x12,	$v22
.name	x13,	$v23

.name	x20,	$v24
.name	x21,	$v25
.name	x22,	$v26
.name	x23,	$v27
.name	x24,	$v28
.name	x25,	$v29
.name	x26,	$v30
.name	x27,	$v31