--- xvid.h 2003/05/15 13:00:37 1.27.2.18 +++ xvid.h 2003/06/02 11:46:47 1.27.2.21 @@ -19,7 +19,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: xvid.h,v 1.27.2.18 2003/05/15 13:00:37 suxen_drol Exp $ + * $Id: xvid.h,v 1.27.2.21 2003/06/02 11:46:47 suxen_drol Exp $ * ****************************************************************************/ @@ -169,11 +169,22 @@ #define XVID_CPU_ALTIVEC 0x00000001 /* altivec */ +#define XVID_DEBUG_ERROR 0x00000001 +#define XVID_DEBUG_STARTCODE 0x00000002 +#define XVID_DEBUG_HEADER 0x00000004 +#define XVID_DEBUG_TIMECODE 0x00000008 +#define XVID_DEBUG_MB 0x00000010 +#define XVID_DEBUG_COEFF 0x00000020 +#define XVID_DEBUG_MV 0x00000040 +#define XVID_DEBUG_RC 0x00000080 +#define XVID_DEBUG_DEBUG 0x80000000 + /* XVID_GBL_INIT param1 */ typedef struct { int version; int cpu_flags; /* [in:opt] zero = autodetect cpu XVID_CPU_FORCE|{cpu features} = force cpu features */ + int debug; /* [in:opt] debug level */ } xvid_gbl_init_t; @@ -431,10 +442,6 @@ } xvid_plugin_2pass1_t; -#define XVID_CURVE_COSINE 0 /* low aggressiveness */ -#define XVID_CURVE_LINEAR 1 /* medium aggressiveness */ -#define XVID_CURVE_SINE 2 /* high aggressiveness */ - #define XVID_PAYBACK_BIAS 0 /* payback with bias */ #define XVID_PAYBACK_PROP 1 /* payback proportionally */ @@ -451,19 +458,11 @@ int max_overflow_improvement; int max_overflow_degradation; - 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; - int kftreshold; int kfreduction; int min_key_interval; + + int container_frame_overhead; }xvid_plugin_2pass2_t;