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.6 2003-03-15 14:32:56 suxen_drol Exp $ |
* $Id: xvid.h,v 1.27.2.7 2003-03-15 16:04:38 suxen_drol Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
272 |
|
|
273 |
/* xvid_plg_info_t.flags */ |
/* xvid_plg_info_t.flags */ |
274 |
#define XVID_REQORIGINAL 1 /* plugin requires a copy of the original (uncompressed) image */ |
#define XVID_REQORIGINAL 1 /* plugin requires a copy of the original (uncompressed) image */ |
275 |
|
#define XVID_REQPSNR 2 /* plugin requires psnr between the uncompressed and compressed image*/ |
276 |
|
|
277 |
|
|
278 |
typedef struct |
typedef struct |
319 |
|
|
320 |
int length; /* [out] after: length of encoded frame */ |
int length; /* [out] after: length of encoded frame */ |
321 |
int kblks, mblks, ublks; /* [out] after: */ |
int kblks, mblks, ublks; /* [out] after: */ |
322 |
|
int sse_y, sse_u, sse_v; /* [out] */ |
323 |
} xvid_plg_data_t; |
} xvid_plg_data_t; |
324 |
|
|
325 |
|
|
374 |
{ |
{ |
375 |
XVID_PACKED = 0x00000001, /* packed bitstream */ |
XVID_PACKED = 0x00000001, /* packed bitstream */ |
376 |
XVID_CLOSED_GOP = 0x00000002, /* closed_gop: was DX50BVOP dx50 bvop compatibility */ |
XVID_CLOSED_GOP = 0x00000002, /* closed_gop: was DX50BVOP dx50 bvop compatibility */ |
377 |
|
XVID_EXTRASTATS_ENABLE = 0x00000004 |
378 |
/*define XVID_VOL_AT_IVOP 0x00000008 write vol at every ivop: WIN32/divx compatibility */ |
/*define XVID_VOL_AT_IVOP 0x00000008 write vol at every ivop: WIN32/divx compatibility */ |
379 |
/*define XVID_FORCE_VOL 0x00000008 XXX: when vol-based parameters are changed, insert an ivop NOT recommended */ |
/*define XVID_FORCE_VOL 0x00000008 XXX: when vol-based parameters are changed, insert an ivop NOT recommended */ |
380 |
} xvid_global_t; |
} xvid_global_t; |
384 |
/* vol-based flags */ |
/* vol-based flags */ |
385 |
typedef enum { |
typedef enum { |
386 |
XVID_MPEGQUANT = 0x00000001, |
XVID_MPEGQUANT = 0x00000001, |
387 |
|
XVID_EXTRASTATS = 0x00000002, |
388 |
XVID_QUARTERPEL = 0x00000004, /* enable quarterpel: frames will encoded as quarterpel */ |
XVID_QUARTERPEL = 0x00000004, /* enable quarterpel: frames will encoded as quarterpel */ |
389 |
XVID_GMC = 0x00000008, /* enable GMC; frames will be checked for gmc suitability */ |
XVID_GMC = 0x00000008, /* enable GMC; frames will be checked for gmc suitability */ |
390 |
XVID_REDUCED_ENABLE = 0x00000010, /* enable reduced resolution vops: frames will be checked for rrv suitability */ |
XVID_REDUCED_ENABLE = 0x00000010, /* enable reduced resolution vops: frames will be checked for rrv suitability */ |