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

Diff of /xvidcore/src/xvid.h

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

revision 1.27.2.17, Mon May 12 12:29:08 2003 UTC revision 1.27.2.23, Mon Jun 9 19:42:12 2003 UTC
# Line 3  Line 3 
3   *  XVID MPEG-4 VIDEO CODEC   *  XVID MPEG-4 VIDEO CODEC
4   *  - XviD Main header file -   *  - XviD Main header file -
5   *   *
6   *  This file is part of XviD, a free MPEG-4 video encoder/decoder   *  Copyright(C) 2001-2003 Peter Ross <pross@xvid.org>
7   *   *
8   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
9   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 67  Line 67 
67   * doesnt hurt but not increasing it could cause difficulty for decoders in the   * doesnt hurt but not increasing it could cause difficulty for decoders in the
68   * future   * future
69   */   */
70  #define XVID_BS_VERSION "0009"  #define XVID_BS_VERSION "0011"
71    
72    
73  /*****************************************************************************  /*****************************************************************************
# Line 169  Line 169 
169  #define XVID_CPU_ALTIVEC    0x00000001   /* altivec */  #define XVID_CPU_ALTIVEC    0x00000001   /* altivec */
170    
171    
172    #define XVID_DEBUG_ERROR       0x00000001
173    #define XVID_DEBUG_STARTCODE   0x00000002
174    #define XVID_DEBUG_HEADER      0x00000004
175    #define XVID_DEBUG_TIMECODE    0x00000008
176    #define XVID_DEBUG_MB          0x00000010
177    #define XVID_DEBUG_COEFF       0x00000020
178    #define XVID_DEBUG_MV          0x00000040
179    #define XVID_DEBUG_RC          0x00000080
180    #define XVID_DEBUG_DEBUG       0x80000000
181    
182  /* XVID_GBL_INIT param1 */  /* XVID_GBL_INIT param1 */
183  typedef struct {  typedef struct {
184          int version;          int version;
185          int cpu_flags;                  /* [in:opt]     zero = autodetect cpu          int cpu_flags;                  /* [in:opt]     zero = autodetect cpu
186                                                                          XVID_CPU_FORCE|{cpu features} = force cpu features */                                                                          XVID_CPU_FORCE|{cpu features} = force cpu features */
187        int debug;              /* [in:opt] debug level */
188  } xvid_gbl_init_t;  } xvid_gbl_init_t;
189    
190    
# Line 431  Line 442 
442  } xvid_plugin_2pass1_t;  } xvid_plugin_2pass1_t;
443    
444    
 #define XVID_CURVE_COSINE   0   /* low aggressiveness */  
 #define XVID_CURVE_LINEAR   1   /* medium aggressiveness */  
 #define XVID_CURVE_SINE     2   /* high aggressiveness */  
   
445  #define XVID_PAYBACK_BIAS   0   /* payback with bias */  #define XVID_PAYBACK_BIAS   0   /* payback with bias */
446  #define XVID_PAYBACK_PROP   1   /* payback proportionally */  #define XVID_PAYBACK_PROP   1   /* payback proportionally */
447    
# Line 451  Line 458 
458      int max_overflow_improvement;      int max_overflow_improvement;
459      int max_overflow_degradation;      int max_overflow_degradation;
460    
     int use_alt_curve;  
         int alt_curve_high_dist;  
         int alt_curve_low_dist;  
     int alt_curve_use_auto;  
         int alt_curve_auto_str;  
         int alt_curve_type; /* XVID_CURVE_ */  
         int alt_curve_min_rel_qual;  
         int alt_curve_use_auto_bonus_bias;  
     int alt_curve_bonus_bias;  
   
461      int kftreshold;      int kftreshold;
462          int kfreduction;          int kfreduction;
463      int min_key_interval;      int min_key_interval;
464    
465            int container_frame_overhead;
466  }xvid_plugin_2pass2_t;  }xvid_plugin_2pass2_t;
467    
468    
# Line 517  Line 516 
516                                                color input material chroma is ignored) */                                                color input material chroma is ignored) */
517      XVID_VOP_HQACPRED           = 0x00000080, /* 20030209: high quality ac prediction */      XVID_VOP_HQACPRED           = 0x00000080, /* 20030209: high quality ac prediction */
518      XVID_VOP_MODEDECISION_BITS  = 0x00000100, /* enable DCT-ME and use it for mode decision */      XVID_VOP_MODEDECISION_BITS  = 0x00000100, /* enable DCT-ME and use it for mode decision */
     XVID_VOP_DYNAMIC_BFRAMES    = 0x00000200,  
519    
520          /* only valid for vol_flags|=XVID_VOL_INTERLACING */          /* only valid for vol_flags|=XVID_VOL_INTERLACING */
521      XVID_VOP_TOPFIELDFIRST      = 0x00000400, /* set top-field-first flag  */      XVID_VOP_TOPFIELDFIRST      = 0x00000400, /* set top-field-first flag  */

Legend:
Removed from v.1.27.2.17  
changed lines
  Added in v.1.27.2.23

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