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,0,-123) |
#define XVID_VERSION XVID_MAKE_VERSION(1,1,-127) |
61 |
#define XVID_API XVID_MAKE_API(4, 0) |
#define XVID_API XVID_MAKE_API(4, 0) |
62 |
|
|
63 |
#define XVID_UNSTABLE |
#define XVID_UNSTABLE |
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 "0029" |
#define XVID_BS_VERSION "0031" |
77 |
|
|
78 |
|
|
79 |
/***************************************************************************** |
/***************************************************************************** |
251 |
#define XVID_DEBLOCKY (1<<2) /* perform luma deblocking */ |
#define XVID_DEBLOCKY (1<<2) /* perform luma deblocking */ |
252 |
#define XVID_DEBLOCKUV (1<<3) /* perform chroma deblocking */ |
#define XVID_DEBLOCKUV (1<<3) /* perform chroma deblocking */ |
253 |
#define XVID_FILMEFFECT (1<<4) /* adds film grain */ |
#define XVID_FILMEFFECT (1<<4) /* adds film grain */ |
254 |
|
#define XVID_DERINGUV (1<<5) /* perform chroma deringing, requires deblocking to work */ |
255 |
|
#define XVID_DERINGY (1<<6) /* perform luma deringing, requires deblocking to work */ |
256 |
|
|
257 |
|
#define XVID_DEC_FAST (1<<29) /* disable postprocessing to decrease cpu usage *todo* */ |
258 |
|
#define XVID_DEC_DROP (1<<30) /* drop bframes to decrease cpu usage *todo* */ |
259 |
|
#define XVID_DEC_PREROLL (1<<31) /* decode as fast as you can, don't even show output *todo* */ |
260 |
|
|
261 |
typedef struct { |
typedef struct { |
262 |
int version; |
int version; |
264 |
void *bitstream; /* [in] bitstream (read from)*/ |
void *bitstream; /* [in] bitstream (read from)*/ |
265 |
int length; /* [in] bitstream length */ |
int length; /* [in] bitstream length */ |
266 |
xvid_image_t output; /* [in] output image (written to) */ |
xvid_image_t output; /* [in] output image (written to) */ |
267 |
|
/* ------- v1.1.0 ------- */ |
268 |
int brightness; /* [in] brightness offset (0=none) */ |
int brightness; /* [in] brightness offset (0=none) */ |
269 |
} xvid_dec_frame_t; |
} xvid_dec_frame_t; |
270 |
|
|