[svn] / branches / dev-api-3 / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/xvidcore/src/decoder.c

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

revision 750, Sun Dec 29 16:59:50 2002 UTC revision 760, Sat Jan 4 06:14:33 2003 UTC
# Line 55  Line 55 
55   *  22.12.2001  lock based interpolation   *  22.12.2001  lock based interpolation
56   *  01.12.2001  inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>   *  01.12.2001  inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>
57   *   *
58   *  $Id: decoder.c,v 1.37.2.24 2002-12-29 16:59:50 suxen_drol Exp $   *  $Id: decoder.c,v 1.37.2.26 2003-01-04 06:14:32 suxen_drol Exp $
59   *   *
60   *************************************************************************/   *************************************************************************/
61    
# 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.750  
changed lines
  Added in v.760

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