[svn] / branches / dev-api-4 / xvidcore / src / encoder.h Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/encoder.h

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

revision 926, Sun Mar 16 12:05:09 2003 UTC revision 1035, Sun May 18 12:33:26 2003 UTC
# Line 36  Line 36 
36   *               support for EXTENDED API   *               support for EXTENDED API
37   *  - 22.08.2001 fixed bug in iDQtab   *  - 22.08.2001 fixed bug in iDQtab
38   *   *
39   *  $Id: encoder.h,v 1.27.2.5 2003-03-16 12:04:14 suxen_drol Exp $   *  $Id: encoder.h,v 1.27.2.8 2003-05-18 12:33:26 edgomez Exp $
40   *   *
41   ****************************************************************************/   ****************************************************************************/
42    
# Line 46  Line 46 
46  #include "xvid.h"  #include "xvid.h"
47  #include "portab.h"  #include "portab.h"
48  #include "global.h"  #include "global.h"
 #include "utils/ratecontrol.h"  
49    
50  /*****************************************************************************  /*****************************************************************************
51   * Constants   * Constants
# Line 79  Line 78 
78          uint32_t fincr;          uint32_t fincr;
79          uint32_t fbase;          uint32_t fbase;
80    
81        int profile;
82    
83          xvid_global_t global_flags;          xvid_global_t global_flags;
84          int bquant_ratio;          int bquant_ratio;
85          int bquant_offset;          int bquant_offset;
86          int frame_drop_ratio;          int frame_drop_ratio;
87    
88        int min_quant[3];
89        int max_quant[3];
90    
91  #ifdef _SMP  #ifdef _SMP
92          int num_threads;          int num_threads;
93  #endif  #endif
# Line 170  Line 174 
174          int iFrameNum;          int iFrameNum;
175          int bitrate;          int bitrate;
176    
177        // zones
178        unsigned int num_zones;
179        xvid_enc_zone_t * zones;
180    
181      // plugins      // plugins
182      unsigned int num_plugins;    /* note: we store plugin flags in MBPARAM */      unsigned int num_plugins;    /* note: we store plugin flags in MBPARAM */
183      xvid_enc_plugin_t * plugins;      xvid_enc_plugin_t * plugins;
# Line 215  Line 223 
223    
224          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 */
225    
         RateControl rate_control;  
   
226          float fMvPrevSigma;          float fMvPrevSigma;
227  }  }
228  Encoder;  Encoder;
# Line 260  Line 266 
266    
267  void init_encoder(uint32_t cpu_flags);  void init_encoder(uint32_t cpu_flags);
268    
269  int enc_create(xvid_enc_create_t * create, xvid_enc_rc_t * rc);  int enc_create(xvid_enc_create_t * create);
270  int enc_destroy(Encoder * pEnc);  int enc_destroy(Encoder * pEnc);
271  int enc_encode(Encoder * pEnc,  int enc_encode(Encoder * pEnc,
272                                     xvid_enc_frame_t * pFrame,                                     xvid_enc_frame_t * pFrame,

Legend:
Removed from v.926  
changed lines
  Added in v.1035

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