50 |
* exception also makes it possible to release a modified version which |
* exception also makes it possible to release a modified version which |
51 |
* carries forward this exception. |
* carries forward this exception. |
52 |
* |
* |
53 |
* $Id: mbcoding.c,v 1.34 2002-11-26 23:44:10 edgomez Exp $ |
* $Id: mbcoding.c,v 1.36 2003-01-04 04:28:48 suxen_drol Exp $ |
54 |
* |
* |
55 |
****************************************************************************/ |
****************************************************************************/ |
56 |
|
|
71 |
****************************************************************************/ |
****************************************************************************/ |
72 |
|
|
73 |
/* msvc sp5+pp gets confused if they globals are made static */ |
/* msvc sp5+pp gets confused if they globals are made static */ |
74 |
VLC intra_table[524032]; |
static VLC intra_table[524288]; |
75 |
VLC inter_table[524032]; |
static VLC inter_table[524288]; |
76 |
|
|
77 |
static VLC DCT3Dintra[4096]; |
static VLC DCT3Dintra[4096]; |
78 |
static VLC DCT3Dinter[4096]; |
static VLC DCT3Dinter[4096]; |
769 |
DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[coeff], level); |
DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[coeff], level); |
770 |
/*DPRINTF(DPRINTF_COEFF,"block[%i] %i %08x", scan[coeff], level, BitstreamShowBits(bs, 32)); */ |
/*DPRINTF(DPRINTF_COEFF,"block[%i] %i %08x", scan[coeff], level, BitstreamShowBits(bs, 32)); */ |
771 |
|
|
772 |
if (level < -127 || level > 127) { |
if (level < -2047 || level > 2047) { |
773 |
DPRINTF(DPRINTF_DEBUG, "warning: intra_overflow: %d", level); |
DPRINTF(DPRINTF_DEBUG, "warning: intra_overflow: %d", level); |
774 |
} |
} |
775 |
coeff++; |
coeff++; |
801 |
|
|
802 |
DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[p], level); |
DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[p], level); |
803 |
|
|
804 |
if (level < -127 || level > 127) { |
if (level < -2047 || level > 2047) { |
805 |
DPRINTF(DPRINTF_DEBUG, "warning: inter_overflow: %d", level); |
DPRINTF(DPRINTF_DEBUG, "warning: inter_overflow: %d", level); |
806 |
} |
} |
807 |
p++; |
p++; |