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

Diff of /xvidcore/src/encoder.h

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

revision 1.18.2.5, Tue Nov 19 13:21:25 2002 UTC revision 1.18.2.7, Mon Dec 9 10:47:05 2002 UTC
# Line 93  Line 93 
93          uint32_t fincr;          uint32_t fincr;
94          uint32_t fbase;          uint32_t fbase;
95    
96            /* constants */
97            int global;
98            int bquant_ratio;
99            int bquant_offset;
100            int frame_drop_ratio;
101    
102  #ifdef _SMP  #ifdef _SMP
103          int num_threads;          int num_threads;
104  #endif  #endif
105    
106            int iMaxKeyInterval;
107          int max_bframes;          int max_bframes;
108    
109          /* rounding type; alternate 0-1 after each interframe */          /* rounding type; alternate 0-1 after each interframe */
# Line 109  Line 116 
116          uint32_t m_rounding_type;          uint32_t m_rounding_type;
117          uint32_t m_fcode;          uint32_t m_fcode;
118          uint32_t m_quarterpel;          uint32_t m_quarterpel;
119            int m_reduced_resolution;       /* reduced_resolution_enable */
120    
121          HINTINFO *hint;          HINTINFO *hint;
122    
# Line 119  Line 127 
127    
128  typedef struct  typedef struct
129  {  {
130            int iTextBits;
131            int iMvSum;
132            int iMvCount;
133            int kblks;
134            int mblks;
135            int ublks;
136    }
137    Statistics;
138    
139    
140    typedef struct
141    {
142          uint32_t quant;          uint32_t quant;
143          uint32_t motion_flags;          uint32_t motion_flags;
144          uint32_t global_flags;          uint32_t global_flags;
# Line 137  Line 157 
157    
158          MACROBLOCK *mbs;          MACROBLOCK *mbs;
159          VECTOR GMC_MV;          VECTOR GMC_MV;
 }  
 FRAMEINFO;  
160    
161  typedef struct          Statistics sStat;
 {  
         int iTextBits;  
         float fMvPrevSigma;  
         int iMvSum;  
         int iMvCount;  
         int kblks;  
         int mblks;  
         int ublks;  
162  }  }
163  Statistics;  FRAMEINFO;
164    
165    
166    
# Line 159  Line 169 
169          MBParam mbParam;          MBParam mbParam;
170    
171          int iFrameNum;          int iFrameNum;
         int iMaxKeyInterval;  
172          int bitrate;          int bitrate;
173    
174          // images          // images
# Line 176  Line 185 
185          IMAGE vInterHV;          IMAGE vInterHV;
186          IMAGE vInterHVf;          IMAGE vInterHVf;
187    
         /* constants */  
         int global;  
         int bquant_ratio;  
         int bquant_offset;  
         int frame_drop_ratio;  
   
188          /* image queue */          /* image queue */
189          int queue_head;          int queue_head;
190          int queue_tail;          int queue_tail;
# Line 201  Line 204 
204    
205          int m_framenum; /* debug frame num counter; unlike iFrameNum, does not reset at ivop */          int m_framenum; /* debug frame num counter; unlike iFrameNum, does not reset at ivop */
206    
         Statistics sStat;  
207          RateControl rate_control;          RateControl rate_control;
208    
209            float fMvPrevSigma;
210  }  }
211  Encoder;  Encoder;
212    

Legend:
Removed from v.1.18.2.5  
changed lines
  Added in v.1.18.2.7

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