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,3,-63) |
#define XVID_VERSION XVID_MAKE_VERSION(1,3,0) |
61 |
#define XVID_API XVID_MAKE_API(4, 3) |
#define XVID_API XVID_MAKE_API(4, 3) |
62 |
|
|
|
#define XVID_UNSTABLE |
|
|
|
|
63 |
/* Bitstream Version |
/* Bitstream Version |
64 |
* this will be writen into the bitstream to allow easy detection of xvid |
* this will be writen into the bitstream to allow easy detection of xvid |
65 |
* encoder bugs in the decoder, without this it might not possible to |
* encoder bugs in the decoder, without this it might not possible to |
71 |
* 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 |
72 |
* future |
* future |
73 |
*/ |
*/ |
74 |
#define XVID_BS_VERSION 58 |
#define XVID_BS_VERSION 63 |
75 |
|
|
76 |
/***************************************************************************** |
/***************************************************************************** |
77 |
* error codes |
* error codes |
746 |
int num_plugins; /* [in:opt] number of plugins */ |
int num_plugins; /* [in:opt] number of plugins */ |
747 |
xvid_enc_plugin_t * plugins; /* ^^ plugin array */ |
xvid_enc_plugin_t * plugins; /* ^^ plugin array */ |
748 |
|
|
749 |
int num_threads; /* [in:opt] number of threads */ |
int num_threads; /* [in:opt] number of threads to use in encoder */ |
750 |
int max_bframes; /* [in:opt] max sequential bframes (0=disable bframes) */ |
int max_bframes; /* [in:opt] max sequential bframes (0=disable bframes) */ |
751 |
|
|
752 |
int global; /* [in:opt] global flags; controls encoding behavior */ |
int global; /* [in:opt] global flags; controls encoding behavior */ |
772 |
|
|
773 |
/* ------- v1.3.x ------- */ |
/* ------- v1.3.x ------- */ |
774 |
int start_frame_num; /* [in:opt] frame number of start frame relative to zones definitions. allows to encode sub-sequences */ |
int start_frame_num; /* [in:opt] frame number of start frame relative to zones definitions. allows to encode sub-sequences */ |
775 |
|
int num_slices; /* [in:opt] number of slices to code for each frame */ |
776 |
} xvid_enc_create_t; |
} xvid_enc_create_t; |
777 |
|
|
778 |
|
|