[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 920, Sat Mar 15 14:32:56 2003 UTC revision 948, Wed Mar 26 11:01:03 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.3 2003-03-15 14:32:56 suxen_drol Exp $   *  $Id: encoder.h,v 1.27.2.6 2003-03-26 11:01:03 suxen_drol Exp $
40   *   *
41   ****************************************************************************/   ****************************************************************************/
42    
# Line 52  Line 52 
52   * Constants   * Constants
53   ****************************************************************************/   ****************************************************************************/
54    
 /* Quatization type */  
 #define H263_QUANT      0  
 #define MPEG4_QUANT     1  
   
 /* Indicates no quantizer changes in INTRA_Q/INTER_Q modes */  
 #define NO_CHANGE 64  
   
55  /*****************************************************************************  /*****************************************************************************
56   * Types   * Types
57   ****************************************************************************/   ****************************************************************************/
# Line 141  Line 134 
134  typedef struct  typedef struct
135  {  {
136      int frame_num;      int frame_num;
137        int fincr;
138          xvid_vol_t vol_flags;          xvid_vol_t vol_flags;
139      xvid_vop_t vop_flags;      xvid_vop_t vop_flags;
140          xvid_motion_t motion_flags;          xvid_motion_t motion_flags;
# Line 177  Line 171 
171          int bitrate;          int bitrate;
172    
173      // plugins      // plugins
174      int num_plugins;    /* note: we store plugin flags in MBPARAM */      unsigned int num_plugins;    /* note: we store plugin flags in MBPARAM */
175      xvid_enc_plugin_t * plugins;      xvid_enc_plugin_t * plugins;
176    
177      // dquant      // dquant
# Line 266  Line 260 
260    
261  void init_encoder(uint32_t cpu_flags);  void init_encoder(uint32_t cpu_flags);
262    
263  int enc_create(xvid_enc_create_t * create, xvid_enc_rc_t * rc);  int enc_create(xvid_enc_create_t * create);
264  int enc_destroy(Encoder * pEnc);  int enc_destroy(Encoder * pEnc);
265  int enc_encode(Encoder * pEnc,  int enc_encode(Encoder * pEnc,
266                                     xvid_enc_frame_t * pFrame,                                     xvid_enc_frame_t * pFrame,

Legend:
Removed from v.920  
changed lines
  Added in v.948

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