59 |
* 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 |
60 |
* future |
* future |
61 |
*/ |
*/ |
62 |
#define XVID_BS_VERSION "0003" |
#define XVID_BS_VERSION "0009" |
63 |
|
|
64 |
|
|
65 |
/* Error codes */ |
/* Error codes */ |
257 |
#define XVID_GLOBAL_DEBUG 0x00000004 /* print debug info on each frame */ |
#define XVID_GLOBAL_DEBUG 0x00000004 /* print debug info on each frame */ |
258 |
#define XVID_GLOBAL_REDUCED 0x04000000 /* reduced resolution vop enable */ |
#define XVID_GLOBAL_REDUCED 0x04000000 /* reduced resolution vop enable */ |
259 |
|
|
260 |
|
#define XVID_GLOBAL_EXTRASTATS 0x00000200 /* generate extra statistics */ |
261 |
|
|
262 |
|
|
263 |
/* Flags for XVID_ENC_FRAME.general */ |
/* Flags for XVID_ENC_FRAME.general */ |
264 |
#define XVID_VALID_FLAGS 0x80000000 |
#define XVID_VALID_FLAGS 0x80000000 |
265 |
|
|
270 |
#define XVID_QUARTERPEL 0x02000000 |
#define XVID_QUARTERPEL 0x02000000 |
271 |
#define XVID_ADAPTIVEQUANT 0x00000080 |
#define XVID_ADAPTIVEQUANT 0x00000080 |
272 |
#define XVID_LUMIMASKING 0x00000100 |
#define XVID_LUMIMASKING 0x00000100 |
|
#define XVID_LATEINTRA 0x00000200 |
|
273 |
|
|
274 |
#define XVID_INTERLACING 0x00000400 /* enable interlaced encoding */ |
#define XVID_INTERLACING 0x00000400 /* enable interlaced encoding */ |
275 |
#define XVID_TOPFIELDFIRST 0x00000800 /* set top-field-first flag */ |
#define XVID_TOPFIELDFIRST 0x00000800 /* set top-field-first flag */ |
294 |
|
|
295 |
#define XVID_REDUCED 0x04000000 /* reduced resolution vop */ |
#define XVID_REDUCED 0x04000000 /* reduced resolution vop */ |
296 |
|
|
297 |
|
#define XVID_EXTRASTATS 0x00000200 /* generate extra statistics */ |
298 |
|
|
299 |
|
|
300 |
/* Flags for XVID_ENC_FRAME.motion */ |
/* Flags for XVID_ENC_FRAME.motion */ |
301 |
#define PMV_ADVANCEDDIAMOND8 0x00004000 |
#define PMV_ADVANCEDDIAMOND8 0x00004000 |
302 |
#define PMV_ADVANCEDDIAMOND16 0x00008000 |
#define PMV_ADVANCEDDIAMOND16 0x00008000 |
427 |
int quant; /* [out] frame quantizer */ |
int quant; /* [out] frame quantizer */ |
428 |
int hlength; /* [out] header length (bytes) */ |
int hlength; /* [out] header length (bytes) */ |
429 |
int kblks, mblks, ublks; /* [out] */ |
int kblks, mblks, ublks; /* [out] */ |
430 |
|
long sse_y; /* [out] SSE of Y */ |
431 |
|
long sse_u; /* [out] SSE of Cb */ |
432 |
|
long sse_v; /* [out] SSE of Cr */ |
433 |
} |
} |
434 |
XVID_ENC_STATS; |
XVID_ENC_STATS; |
435 |
|
|