3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - XviD Main header file - |
* - XviD Main header file - |
5 |
* |
* |
6 |
* This file is part of XviD, a free MPEG-4 video encoder/decoder |
* Copyright(C) 2001-2003 Peter Ross <pross@xvid.org> |
7 |
* |
* |
8 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
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.20 2003-05-22 22:56:17 edgomez Exp $ |
* $Id: xvid.h,v 1.27.2.26 2003-06-28 15:50:10 chl Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
67 |
* 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 |
68 |
* future |
* future |
69 |
*/ |
*/ |
70 |
#define XVID_BS_VERSION "0009" |
#define XVID_BS_VERSION "0013" |
71 |
|
|
72 |
|
|
73 |
/***************************************************************************** |
/***************************************************************************** |
99 |
#define XVID_CSP_BGRA 6 /* 32-bit bgra packed */ |
#define XVID_CSP_BGRA 6 /* 32-bit bgra packed */ |
100 |
#define XVID_CSP_ABGR 7 /* 32-bit abgr packed */ |
#define XVID_CSP_ABGR 7 /* 32-bit abgr packed */ |
101 |
#define XVID_CSP_RGBA 8 /* 32-bit rgba packed */ |
#define XVID_CSP_RGBA 8 /* 32-bit rgba packed */ |
102 |
#define XVID_CSP_BGR 9 /* 32-bit bgr packed */ |
#define XVID_CSP_BGR 9 /* 24-bit bgr packed */ |
103 |
#define XVID_CSP_RGB555 10 /* 16-bit rgb555 packed */ |
#define XVID_CSP_RGB555 10 /* 16-bit rgb555 packed */ |
104 |
#define XVID_CSP_RGB565 11 /* 16-bit rgb565 packed */ |
#define XVID_CSP_RGB565 11 /* 16-bit rgb565 packed */ |
105 |
#define XVID_CSP_SLICE 12 /* decoder only: 4:2:0 planar, per slice rendering */ |
#define XVID_CSP_SLICE 12 /* decoder only: 4:2:0 planar, per slice rendering */ |
442 |
} xvid_plugin_2pass1_t; |
} xvid_plugin_2pass1_t; |
443 |
|
|
444 |
|
|
|
#define XVID_CURVE_COSINE 0 /* low aggressiveness */ |
|
|
#define XVID_CURVE_LINEAR 1 /* medium aggressiveness */ |
|
|
#define XVID_CURVE_SINE 2 /* high aggressiveness */ |
|
|
|
|
445 |
#define XVID_PAYBACK_BIAS 0 /* payback with bias */ |
#define XVID_PAYBACK_BIAS 0 /* payback with bias */ |
446 |
#define XVID_PAYBACK_PROP 1 /* payback proportionally */ |
#define XVID_PAYBACK_PROP 1 /* payback proportionally */ |
447 |
|
|
458 |
int max_overflow_improvement; |
int max_overflow_improvement; |
459 |
int max_overflow_degradation; |
int max_overflow_degradation; |
460 |
|
|
|
int use_alt_curve; |
|
|
int alt_curve_high_dist; |
|
|
int alt_curve_low_dist; |
|
|
int alt_curve_use_auto; |
|
|
int alt_curve_auto_str; |
|
|
int alt_curve_type; /* XVID_CURVE_ */ |
|
|
int alt_curve_min_rel_qual; |
|
|
int alt_curve_use_auto_bonus_bias; |
|
|
int alt_curve_bonus_bias; |
|
|
|
|
461 |
int kftreshold; |
int kftreshold; |
462 |
int kfreduction; |
int kfreduction; |
463 |
int min_key_interval; |
int min_key_interval; |
558 |
XVID_ME_UNRESTRICTED16 = 0x00200000, /* unrestricted ME, not implemented */ |
XVID_ME_UNRESTRICTED16 = 0x00200000, /* unrestricted ME, not implemented */ |
559 |
XVID_ME_OVERLAPPING16 = 0x00400000, /* overlapping ME, not implemented */ |
XVID_ME_OVERLAPPING16 = 0x00400000, /* overlapping ME, not implemented */ |
560 |
XVID_ME_UNRESTRICTED8 = 0x20000000, /* unrestricted ME, not implemented */ |
XVID_ME_UNRESTRICTED8 = 0x20000000, /* unrestricted ME, not implemented */ |
561 |
XVID_ME_OVERLAPPING8 = 0x40000000 /* overlapping ME, not implemented */ |
XVID_ME_OVERLAPPING8 = 0x40000000, /* overlapping ME, not implemented */ |
562 |
|
|
563 |
|
XVID_GME_REFINE = 0x00010000 |
564 |
|
|
565 |
} xvid_motion_t; |
} xvid_motion_t; |
566 |
|
|
567 |
|
|