1 |
|
#define KOEPI_2PASS |
2 |
/***************************************************************************** |
/***************************************************************************** |
3 |
* |
* |
4 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
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 |
|
|