28 |
* ToDo ? : when BFRAMES is defined, the API_VERSION should not |
* ToDo ? : when BFRAMES is defined, the API_VERSION should not |
29 |
* be the same (3.0 ?) |
* be the same (3.0 ?) |
30 |
* |
* |
31 |
* $Id: xvid.h,v 1.10 2002-06-13 12:42:18 edgomez Exp $ |
* $Id: xvid.h,v 1.12 2002-06-20 14:05:57 suxen_drol Exp $ |
32 |
* |
* |
33 |
*****************************************************************************/ |
*****************************************************************************/ |
34 |
|
|
37 |
#define _XVID_H_ |
#define _XVID_H_ |
38 |
|
|
39 |
#ifdef __cplusplus |
#ifdef __cplusplus |
40 |
* $Id: xvid.h,v 1.10 2002-06-13 12:42:18 edgomez Exp $ |
* $Id: xvid.h,v 1.12 2002-06-20 14:05:57 suxen_drol Exp $ |
41 |
#endif |
#endif |
42 |
|
|
43 |
/***************************************************************************** |
/***************************************************************************** |
85 |
#define XVID_CPU_3DNOWEXT 0x00000020 |
#define XVID_CPU_3DNOWEXT 0x00000020 |
86 |
|
|
87 |
#define XVID_CPU_TSC 0x00000040 |
#define XVID_CPU_TSC 0x00000040 |
88 |
|
|
89 |
#define XVID_CPU_IA64 0x00000080 |
#define XVID_CPU_IA64 0x00000080 |
90 |
|
|
91 |
#define XVID_CPU_CHKONLY 0x40000000 /* check cpu only; dont init globals */ |
#define XVID_CPU_CHKONLY 0x40000000 /* check cpu only; dont init globals */ |
92 |
#define XVID_CPU_FORCE 0x80000000 |
#define XVID_CPU_FORCE 0x80000000 |
93 |
|
|
94 |
|
|
95 |
|
/***************************************************************************** |
96 |
* Initialization structures |
* Initialization structures |
97 |
|
****************************************************************************/ |
98 |
|
|
99 |
|
typedef struct |
100 |
int cpu_flags; |
int cpu_flags; |
101 |
int api_version; |
int api_version; |
102 |
int core_build; |
int core_build; |
240 |
* used only when bquant < 1 |
* used only when bquant < 1 |
241 |
* eg. 200 = x2 multiplier |
* eg. 200 = x2 multiplier |
242 |
#endif |
#endif |
243 |
|
int packed; /* enable packed mode */ |
244 |
} |
} |
245 |
XVID_ENC_PARAM; |
XVID_ENC_PARAM; |
246 |
|
|
304 |
typedef struct |
typedef struct |
305 |
{ |
{ |
306 |
int quant; /* [out] frame quantizer */ |
int quant; /* [out] frame quantizer */ |
|
int input_consumed; /* [out] */ |
|
307 |
int hlength; /* [out] header length (bytes) */ |
int hlength; /* [out] header length (bytes) */ |
308 |
int kblks, mblks, ublks; /* [out] */ |
int kblks, mblks, ublks; /* [out] */ |
309 |
|
|