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

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

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

revision 1202, Sun Nov 9 20:49:21 2003 UTC revision 1242, Fri Dec 5 14:44:35 2003 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: xvid.h,v 1.27.2.42 2003-11-09 20:49:21 edgomez Exp $   * $Id: xvid.h,v 1.27.2.47 2003-12-05 14:44:35 edgomez Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 57  Line 57 
57  #define XVID_API_MAJOR(a)        (((a)>>16) & 0xff)  #define XVID_API_MAJOR(a)        (((a)>>16) & 0xff)
58  #define XVID_API_MINOR(a)        (((a)>> 0) & 0xff)  #define XVID_API_MINOR(a)        (((a)>> 0) & 0xff)
59    
60  #define XVID_VERSION             XVID_MAKE_VERSION(1,-127,0)  #define XVID_VERSION             XVID_MAKE_VERSION(1,0,-127)
61  #define XVID_API                 XVID_MAKE_API(4, 0)  #define XVID_API                 XVID_MAKE_API(4, 0)
62    
63  #define XVID_UNSTABLE  #define XVID_UNSTABLE
# Line 73  Line 73 
73   * 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
74   * future   * future
75   */   */
76  #define XVID_BS_VERSION "0020"  #define XVID_BS_VERSION "0023"
77    
78    
79  /*****************************************************************************  /*****************************************************************************
# Line 313  Line 313 
313  #define XVID_PLG_DESTROY (1<<1)  #define XVID_PLG_DESTROY (1<<1)
314  #define XVID_PLG_INFO    (1<<2)  #define XVID_PLG_INFO    (1<<2)
315  #define XVID_PLG_BEFORE  (1<<3)  #define XVID_PLG_BEFORE  (1<<3)
316  #define XVID_PLG_AFTER   (1<<4)  #define XVID_PLG_FRAME   (1<<4)
317    #define XVID_PLG_AFTER   (1<<5)
318    
319  /* xvid_plg_info_t.flags */  /* xvid_plg_info_t.flags */
320  #define XVID_REQORIGINAL (1<<0) /* plugin requires a copy of the original (uncompressed) image */  #define XVID_REQORIGINAL (1<<0) /* plugin requires a copy of the original (uncompressed) image */
# Line 472  Line 473 
473          int max_overflow_improvement; /* [in] percentage of allowed range for a frame that gets bigger because of overflow bonus */          int max_overflow_improvement; /* [in] percentage of allowed range for a frame that gets bigger because of overflow bonus */
474          int max_overflow_degradation; /* [in] percentage of allowed range for a frame that gets smaller because of overflow penalty */          int max_overflow_degradation; /* [in] percentage of allowed range for a frame that gets smaller because of overflow penalty */
475    
476          int kfreduction;              /* [in] */          int kfreduction;              /* [in] maximum bitrate reduction applied to an iframe under the kfthreshold distance limit */
477          int min_key_interval;         /* [in] Minimum interval of frames between two IFrames */          int kfthreshold;              /* [in] if an iframe is closer to the next iframe than this distance, a quantity of bits
478                                                                       *      is substracted from its bit allocation. The reduction is computed as multiples of
479                                                                       *      kfreduction/kthreshold. It reaches kfreduction when the distance == kfthreshold,
480                                                                       *      0 for 1<distance<kfthreshold */
481    
482          int container_frame_overhead; /* [in] How many bytes the controller has to compensate per frame due to container format overhead */          int container_frame_overhead; /* [in] How many bytes the controller has to compensate per frame due to container format overhead */
483  }xvid_plugin_2pass2_t;  }xvid_plugin_2pass2_t;

Legend:
Removed from v.1202  
changed lines
  Added in v.1242

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