38 |
|
|
39 |
#define LEVELOFFSET 32 |
#define LEVELOFFSET 32 |
40 |
|
|
41 |
|
/* Initialized once during xvid_global call |
42 |
|
* RO access is thread safe */ |
43 |
static REVERSE_EVENT DCT3D[2][4096]; |
static REVERSE_EVENT DCT3D[2][4096]; |
44 |
static VLC coeff_VLC[2][2][64][64]; |
static VLC coeff_VLC[2][2][64][64]; |
45 |
|
|
455 |
return bits; |
return bits; |
456 |
} |
} |
457 |
|
|
458 |
static int iDQtab[5] = { |
static const int iDQtab[5] = { |
459 |
1, 0, -1 /* no change */, 2, 3 |
1, 0, -1 /* no change */, 2, 3 |
460 |
}; |
}; |
461 |
#define DQ_VALUE2INDEX(value) iDQtab[(value)+2] |
#define DQ_VALUE2INDEX(value) iDQtab[(value)+2] |