[cvs] / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /xvidcore/src/decoder.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37.2.24, Sun Dec 29 16:59:50 2002 UTC revision 1.37.2.26, Sat Jan 4 06:14:32 2003 UTC
# Line 68  Line 68 
68    
69  #include "xvid.h"  #include "xvid.h"
70  #include "portab.h"  #include "portab.h"
71    #include "global.h"
72    
73  #include "decoder.h"  #include "decoder.h"
74  #include "bitstream/bitstream.h"  #include "bitstream/bitstream.h"
# Line 384  Line 385 
385    
386    
387    
   
 #define SIGN(X) (((X)>0)?1:-1)  
 #define ABS(X) (((X)>0)?(X):-(X))  
   
388  // decode an inter macroblock  // decode an inter macroblock
389    
390  void  void
# Line 1705  Line 1702 
1702          if (vop_type == - 1)          if (vop_type == - 1)
1703          {          {
1704                  if (success) goto done;                  if (success) goto done;
1705                    emms();
1706                  return XVID_ERR_FAIL;                  return XVID_ERR_FAIL;
1707          }          }
1708    
# Line 1725  Line 1723 
1723                          stats->data.vol.par_width = dec->par_width;                          stats->data.vol.par_width = dec->par_width;
1724                          stats->data.vol.par_height = dec->par_height;                          stats->data.vol.par_height = dec->par_height;
1725                          frame->length = BitstreamPos(&bs) / 8;                          frame->length = BitstreamPos(&bs) / 8;
1726                            emms();
1727                          return XVID_ERR_OK;                          return XVID_ERR_OK;
1728                  }                  }
1729                  goto repeat;                  goto repeat;

Legend:
Removed from v.1.37.2.24  
changed lines
  Added in v.1.37.2.26

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4