[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.22, Fri Apr 4 22:16:15 2003 UTC
# Line 23  Line 23 
23  #define MODE_DIRECT_NONE_MV     4  #define MODE_DIRECT_NONE_MV     4
24  #define MODE_DIRECT_NO4V        5  #define MODE_DIRECT_NO4V        5
25    
   
 // vop coding types  
 // intra, prediction, backward, sprite, not_coded  
 #define I_VOP   0  
 #define P_VOP   1  
 #define B_VOP   2  
 #define S_VOP   3  
 #define N_VOP   4  
   
 /* convert mpeg-4 coding type i/p/b/s_VOP to XVID_TYPE_xxx */  
 static __inline int  
 coding2type(int coding_type)  
 {  
         return coding_type + 1;  
 }  
   
 /* convert XVID_TYPE_xxx to bitstream coding type i/p/b/s_VOP */  
 static __inline int  
 type2coding(int xvid_type)  
 {  
         return xvid_type - 1;  
 }  
   
   
 typedef struct  
 {  
         int x;  
         int y;  
 }  
 VECTOR;  
   
   
   
26  typedef struct  typedef struct
27  {  {
28          VECTOR duv[3];          VECTOR duv[3];
# Line 127  Line 94 
94          uint32_t *tail;          uint32_t *tail;
95          uint32_t *start;          uint32_t *start;
96          uint32_t length;          uint32_t length;
97            uint32_t initpos;
98  }  }
99  Bitstream;  Bitstream;
100    

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

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