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 "0016" |
#define XVID_BS_VERSION "0018" |
77 |
|
|
78 |
|
|
79 |
/***************************************************************************** |
/***************************************************************************** |
138 |
#define XVID_PROFILE_AS_L4 0xf4 |
#define XVID_PROFILE_AS_L4 0xf4 |
139 |
|
|
140 |
/* aspect ratios */ |
/* aspect ratios */ |
141 |
#define XVID_PAR_11_VGA 1 /* 1:1 vga (square) */ |
#define XVID_PAR_11_VGA 1 /* 1:1 vga (square), default if AR is not precised (ie: ==0) */ |
142 |
#define XVID_PAR_43_PAL 2 /* 4:3 pal (12:11 625-line) */ |
#define XVID_PAR_43_PAL 2 /* 4:3 pal (12:11 625-line) */ |
143 |
#define XVID_PAR_43_NTSC 3 /* 4:3 ntsc (10:11 525-line) */ |
#define XVID_PAR_43_NTSC 3 /* 4:3 ntsc (10:11 525-line) */ |
144 |
#define XVID_PAR_169_PAL 4 /* 16:9 pal (16:11 625-line) */ |
#define XVID_PAR_169_PAL 4 /* 16:9 pal (16:11 625-line) */ |
188 |
/* XVID_GBL_INIT param1 */ |
/* XVID_GBL_INIT param1 */ |
189 |
typedef struct { |
typedef struct { |
190 |
int version; |
int version; |
191 |
int cpu_flags; /* [in:opt] zero = autodetect cpu; XVID_CPU_FORCE|{cpu features} = force cpu features */ |
unsigned int cpu_flags; /* [in:opt] zero = autodetect cpu; XVID_CPU_FORCE|{cpu features} = force cpu features */ |
192 |
int debug; /* [in:opt] debug level */ |
int debug; /* [in:opt] debug level */ |
193 |
} xvid_gbl_init_t; |
} xvid_gbl_init_t; |
194 |
|
|
198 |
int version; |
int version; |
199 |
int actual_version; /* [out] returns the actual xvidcore version */ |
int actual_version; /* [out] returns the actual xvidcore version */ |
200 |
const char * build; /* [out] if !null, points to description of this xvid core build */ |
const char * build; /* [out] if !null, points to description of this xvid core build */ |
201 |
int cpu_flags; /* [out] detected cpu features */ |
unsigned int cpu_flags; /* [out] detected cpu features */ |
202 |
int num_threads; /* [out] detected number of cpus/threads */ |
int num_threads; /* [out] detected number of cpus/threads */ |
203 |
} xvid_gbl_info_t; |
} xvid_gbl_info_t; |
204 |
|
|
531 |
/* only valid for vol_flags|=XVID_VOL_REDUCED_ENABLED */ |
/* only valid for vol_flags|=XVID_VOL_REDUCED_ENABLED */ |
532 |
#define XVID_VOP_REDUCED (1<<11) /* reduced resolution vop */ |
#define XVID_VOP_REDUCED (1<<11) /* reduced resolution vop */ |
533 |
|
|
534 |
|
#define XVID_VOP_FAST_MODEDECISION_RD (1<< 12) /* use simplified R-D mode decision */ |
535 |
|
|
536 |
|
|
537 |
|
|
563 |
#define XVID_ME_UNRESTRICTED8 (1<<22) /* unrestricted ME, not implemented */ |
#define XVID_ME_UNRESTRICTED8 (1<<22) /* unrestricted ME, not implemented */ |
564 |
#define XVID_ME_OVERLAPPING8 (1<<23) /* overlapping ME, not implemented */ |
#define XVID_ME_OVERLAPPING8 (1<<23) /* overlapping ME, not implemented */ |
565 |
|
|
566 |
|
#define XVID_ME_DETECT_STATIC_MOTION (1<<24) /* speed-up ME by detecting stationary scenes */ |
567 |
|
#define XVID_ME_FASTREFINE16 (1<<25) /* use low-complexity refinement functions */ |
568 |
|
|
569 |
/* XVID_ENC_CREATE param1 */ |
/* XVID_ENC_CREATE param1 */ |
570 |
typedef struct { |
typedef struct { |