#define PROGRAM_OPTIONS VIDEO_OPTIONS " " ARCH_OPTIONS
/* Program version and copyright message */
-#define PROGRAM_VERSION "DR 2.1"
+#define PROGRAM_VERSION "1.0-dev"
#define COPYRIGHT_MESSAGE "VideoLAN Client v" PROGRAM_VERSION " (" __DATE__ ") - " \
PROGRAM_OPTIONS " - (c)1999 VideoLAN"
#define VFIFO_SIZE 4095
/* Maximum number of macroblocks in a picture. */
-#define MAX_MB 2048
+#define MAX_MB 32767
/*******************************************************************************
* Video decoder configuration
//*pi_mb_address += MacroblockAddressIncrement( p_vpar );
b_stop = i_inc > 1;
- fprintf( stderr, "inc : %d (%d)\n", *pi_mb_address, i_inc );
+// fprintf( stderr, "inc : %d (%d)\n", *pi_mb_address, i_inc );
if( 0 )//i_count > 8 )
{
exit(0);
p_vpar->sequence.i_mb_width = (p_vpar->sequence.i_width + 15) / 16;
p_vpar->sequence.i_mb_height = (p_vpar->sequence.b_progressive) ?
(p_vpar->sequence.i_height + 15) / 16 :
- 2 * (p_vpar->sequence.i_height + 31) / 32;
+ 2 * ((p_vpar->sequence.i_height + 31) / 32);
p_vpar->sequence.i_mb_size = p_vpar->sequence.i_mb_width
* p_vpar->sequence.i_mb_height;
p_vpar->sequence.i_width = (p_vpar->sequence.i_mb_width * 16);
}
else if( p_vpar->picture.i_current_structure == FRAME_STRUCTURE )
{
-fprintf(stderr, "Image decodee\n");
+fprintf(stderr, "Image parsee\n");
/* Frame completely parsed. */
P_picture->i_deccount = p_vpar->sequence.i_mb_size;
for( i_mb = 0; i_mb < p_vpar->sequence.i_mb_size; i_mb++ )