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.17 2003-05-12 12:29:08 suxen_drol Exp $ |
* $Id: xvid.h,v 1.27.2.21 2003-06-02 11:46:47 suxen_drol Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 */ |