[cvs] / xvidcore / src / global.h Repository:
ViewVC logotype

Diff of /xvidcore/src/global.h

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

revision 1.21.2.1, Sat Feb 22 08:49:44 2003 UTC revision 1.21.2.4, Thu Apr 10 13:05:54 2003 UTC
# Line 127  Line 127 
127          uint32_t *tail;          uint32_t *tail;
128          uint32_t *start;          uint32_t *start;
129          uint32_t length;          uint32_t length;
130            uint32_t initpos;
131  }  }
132  Bitstream;  Bitstream;
133    
# Line 206  Line 207 
207    
208  #define MIN(X, Y) ((X)<(Y)?(X):(Y))  #define MIN(X, Y) ((X)<(Y)?(X):(Y))
209  #define MAX(X, Y) ((X)>(Y)?(X):(Y))  #define MAX(X, Y) ((X)>(Y)?(X):(Y))
210  #define ABS(X)    (((X)>0)?(X):-(X))  /* #define ABS(X)    (((X)>0)?(X):-(X)) */
211  #define SIGN(X)   (((X)>0)?1:-1)  #define SIGN(X)   (((X)>0)?1:-1)
212  #define CLIP(X,AMIN,AMAX)   (((X)<(AMIN)) ? (AMIN) : ((X)>(AMAX)) ? (AMAX) : (X))  #define CLIP(X,AMIN,AMAX)   (((X)<(AMIN)) ? (AMIN) : ((X)>(AMAX)) ? (AMAX) : (X))
213  #define DIV_DIV(a,b)    (((a)>0) ? ((a)+((b)>>1))/(b) : ((a)-((b)>>1))/(b))  #define DIV_DIV(a,b)    (((a)>0) ? ((a)+((b)>>1))/(b) : ((a)-((b)>>1))/(b))
214    #define SWAP(_T_,A,B)    { _T_ tmp = A; A = B; B = tmp; }
215    
216    
217  #endif                                                  /* _GLOBAL_H_ */  #endif                                                  /* _GLOBAL_H_ */

Legend:
Removed from v.1.21.2.1  
changed lines
  Added in v.1.21.2.4

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