[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.46, Wed Dec 3 19:46:50 2003 UTC revision 1.27.2.49, Sat Dec 6 10:56:10 2003 UTC
# Line 96  Line 96 
96    
97  /* colorspace values */  /* colorspace values */
98    
99  #define XVID_CSP_USER     (1<< 0) /* 4:2:0 planar */  #define XVID_CSP_USER     (1<< 0) /* 4:2:0 planar (==I420, except for pointers/strides) */
100  #define XVID_CSP_I420     (1<< 1) /* 4:2:0 packed(planar win32) */  #define XVID_CSP_I420     (1<< 1) /* 4:2:0 planar */
101  #define XVID_CSP_YV12     (1<< 2) /* 4:2:0 packed(planar win32) */  #define XVID_CSP_YV12     (1<< 2) /* 4:2:0 planar */
102  #define XVID_CSP_YUY2     (1<< 3) /* 4:2:2 packed */  #define XVID_CSP_YUY2     (1<< 3) /* 4:2:2 packed */
103  #define XVID_CSP_UYVY     (1<< 4) /* 4:2:2 packed */  #define XVID_CSP_UYVY     (1<< 4) /* 4:2:2 packed */
104  #define XVID_CSP_YVYU     (1<< 5) /* 4:2:2 packed */  #define XVID_CSP_YVYU     (1<< 5) /* 4:2:2 packed */
# Line 277  Line 277 
277                          int general;        /* [out] flags */                          int general;        /* [out] flags */
278                          int width;          /* [out] width */                          int width;          /* [out] width */
279                          int height;         /* [out] height */                          int height;         /* [out] height */
280                          int par;            /* [out] picture aspect ratio (refer to XVID_PAR_xxx above) */                          int par;            /* [out] pixel aspect ratio (refer to XVID_PAR_xxx above) */
281                          int par_width;      /* [out] aspect ratio width */                          int par_width;      /* [out] aspect ratio width */
282                          int par_height;     /* [out] aspect ratio height */                          int par_height;     /* [out] aspect ratio height */
283                  } vol;                  } vol;
# Line 473  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;
# Line 617  Line 620 
620          unsigned char *quant_intra_matrix; /* [in:opt] custom intra qmatrix */          unsigned char *quant_intra_matrix; /* [in:opt] custom intra qmatrix */
621          unsigned char *quant_inter_matrix; /* [in:opt] custom inter qmatrix */          unsigned char *quant_inter_matrix; /* [in:opt] custom inter qmatrix */
622    
623          int par;                           /* [in:opt] picture aspect ratio (refer to XVID_PAR_xxx above) */          int par;                           /* [in:opt] pixel aspect ratio (refer to XVID_PAR_xxx above) */
624          int par_width;                     /* [in:opt] aspect ratio width */          int par_width;                     /* [in:opt] aspect ratio width */
625          int par_height;                    /* [in:opt] aspect ratio height */          int par_height;                    /* [in:opt] aspect ratio height */
626          /* ---------------------------------------------- */          /* ---------------------------------------------- */

Legend:
Removed from v.1.27.2.46  
changed lines
  Added in v.1.27.2.49

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