1 |
|
#define KOEPI_2PASS |
2 |
/***************************************************************************** |
/***************************************************************************** |
3 |
* |
* |
4 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
29 |
* ToDo ? : when BFRAMES is defined, the API_VERSION should not |
* ToDo ? : when BFRAMES is defined, the API_VERSION should not |
30 |
* be the same (3.0 ?) |
* be the same (3.0 ?) |
31 |
* |
* |
32 |
* $Id: xvid.h,v 1.17.2.9 2002-11-07 10:28:15 suxen_drol Exp $ |
* $Id: xvid.h,v 1.17.2.10 2002-11-08 10:10:48 suxen_drol Exp $ |
33 |
* |
* |
34 |
*****************************************************************************/ |
*****************************************************************************/ |
35 |
|
|
111 |
#define XVID_CPU_CHKONLY 0x40000000 /* check cpu only; dont init globals */ |
#define XVID_CPU_CHKONLY 0x40000000 /* check cpu only; dont init globals */ |
112 |
#define XVID_CPU_FORCE 0x80000000 |
#define XVID_CPU_FORCE 0x80000000 |
113 |
|
|
114 |
|
typedef struct |
115 |
|
{ |
116 |
|
int colorspace; |
117 |
|
void * y; |
118 |
|
void * u; |
119 |
|
void * v; |
120 |
|
int y_stride; |
121 |
|
int uv_stride; |
122 |
|
} XVID_IMAGE; /* from yv12 */ |
123 |
|
|
124 |
|
#define XVID_INIT_INIT 0 |
125 |
|
#define XVID_INIT_CONVERT 1 |
126 |
|
|
127 |
/***************************************************************************** |
/***************************************************************************** |
128 |
* Initialization structures |
* Initialization structures |
136 |
} |
} |
137 |
XVID_INIT_PARAM; |
XVID_INIT_PARAM; |
138 |
|
|
139 |
|
typedef struct |
140 |
|
{ |
141 |
|
XVID_IMAGE input; |
142 |
|
XVID_IMAGE output; |
143 |
|
int width; |
144 |
|
int height; |
145 |
|
int interlacing; |
146 |
|
} XVID_INIT_CONVERTINFO; |
147 |
|
|
148 |
/***************************************************************************** |
/***************************************************************************** |
149 |
* Initialization entry point |
* Initialization entry point |
150 |
****************************************************************************/ |
****************************************************************************/ |
395 |
int quant; /* [out] frame quantizer */ |
int quant; /* [out] frame quantizer */ |
396 |
int hlength; /* [out] header length (bytes) */ |
int hlength; /* [out] header length (bytes) */ |
397 |
int kblks, mblks, ublks; /* [out] */ |
int kblks, mblks, ublks; /* [out] */ |
|
|
|
398 |
} |
} |
399 |
XVID_ENC_STATS; |
XVID_ENC_STATS; |
400 |
|
|