[svn] / trunk / xvidcore / src / encoder.h Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/encoder.h

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

revision 135, Wed Apr 24 12:21:43 2002 UTC revision 136, Thu Apr 25 06:55:00 2002 UTC
# Line 31  Line 31 
31  typedef enum  typedef enum
32  {  {
33      I_VOP = 0,      I_VOP = 0,
34      P_VOP = 1      P_VOP = 1,
35            B_VOP = 2
36  }  }
37  VOP_TYPE;  VOP_TYPE;
38    
# Line 51  Line 52 
52          uint32_t mb_width;          uint32_t mb_width;
53          uint32_t mb_height;          uint32_t mb_height;
54    
     VOP_TYPE coding_type;  
   
55      /* rounding type; alternate 0-1 after each interframe */      /* rounding type; alternate 0-1 after each interframe */
   
     uint32_t rounding_type;  
   
56          /* 1 <= fixed_code <= 4          /* 1 <= fixed_code <= 4
57             automatically adjusted using motion vector statistics inside             automatically adjusted using motion vector statistics inside
58           */           */
59    
60      uint32_t fixed_code;          /* vars that not "quite" frame independant */
61            uint32_t m_quant_type;
62            uint32_t m_rounding_type;
63            uint32_t m_fcode;
64    
65            HINTINFO * hint;
66    
67    } MBParam;
68    
69    
70    typedef struct
71    {
72      uint32_t quant;      uint32_t quant;
         uint32_t quant_type;  
73          uint32_t motion_flags;          uint32_t motion_flags;
74          uint32_t global_flags;          uint32_t global_flags;
75    
76          HINTINFO * hint;          VOP_TYPE coding_type;
77  } MBParam;      uint32_t rounding_type;
78        uint32_t fcode;
79            uint32_t bcode;
80    
81            uint32_t tick;
82    
83            IMAGE image;
84    
85            MACROBLOCK * mbs;
86    
87    } FRAMEINFO;
88    
89  typedef struct  typedef struct
90  {  {
# Line 90  Line 106 
106    
107      int iFrameNum;      int iFrameNum;
108      int iMaxKeyInterval;      int iMaxKeyInterval;
         int lum_masking;  
109          int bitrate;          int bitrate;
110    
111          // images          // images
112    
113      IMAGE sCurrent;          FRAMEINFO * current;
114      IMAGE sReference;          FRAMEINFO * reference;
115    
116  #ifdef _DEBUG  #ifdef _DEBUG
117          IMAGE sOriginal;          IMAGE sOriginal;
118  #endif  #endif
# Line 106  Line 122 
122      IMAGE vInterHV;      IMAGE vInterHV;
123          IMAGE vInterHVf;          IMAGE vInterHVf;
124    
         // macroblock  
   
         MACROBLOCK * pMBs;  
   
125      Statistics sStat;      Statistics sStat;
126  }  }
127  Encoder;  Encoder;

Legend:
Removed from v.135  
changed lines
  Added in v.136

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