24 |
|
|
25 |
#define XVID_BUILD __TIME__ ", " __DATE__ |
#define XVID_BUILD __TIME__ ", " __DATE__ |
26 |
#define XVID_WEBSITE "http://www.xvid.org/" |
#define XVID_WEBSITE "http://www.xvid.org/" |
|
|
|
27 |
#define XVID_SPECIAL_BUILD "(Vanilla CVS Build)" |
#define XVID_SPECIAL_BUILD "(Vanilla CVS Build)" |
28 |
|
|
29 |
/* constants */ |
/* constants */ |
55 |
#define QUANT_MODE_MPEG 1 |
#define QUANT_MODE_MPEG 1 |
56 |
#define QUANT_MODE_CUSTOM 2 |
#define QUANT_MODE_CUSTOM 2 |
57 |
#define QUANT_MODE_MOD 3 |
#define QUANT_MODE_MOD 3 |
58 |
|
#define QUANT_MODE_MOD_NEW 4 |
59 |
|
|
60 |
/* credits modes */ |
/* credits modes */ |
61 |
#define CREDITS_MODE_RATE 0 |
#define CREDITS_MODE_RATE 0 |
62 |
#define CREDITS_MODE_QUANT 1 |
#define CREDITS_MODE_QUANT 1 |
63 |
#define CREDITS_MODE_SIZE 2 |
#define CREDITS_MODE_SIZE 2 |
64 |
|
|
65 |
|
/* vhq modes */ |
66 |
|
#define VHQ_OFF 0 |
67 |
|
#define VHQ_MODE_DECISION 1 |
68 |
|
#define VHQ_LIMITED_SEARCH 2 |
69 |
|
#define VHQ_MEDIUM_SEARCH 3 |
70 |
|
#define VHQ_WIDE_SEARCH 4 |
71 |
|
|
72 |
#define CREDITS_START 1 |
#define CREDITS_START 1 |
73 |
#define CREDITS_END 2 |
#define CREDITS_END 2 |
74 |
|
|
93 |
int motion_search; |
int motion_search; |
94 |
int quant_type; |
int quant_type; |
95 |
int fourcc_used; |
int fourcc_used; |
96 |
|
int vhq_mode; |
97 |
int max_key_interval; |
int max_key_interval; |
98 |
int min_key_interval; |
int min_key_interval; |
99 |
int lum_masking; |
int lum_masking; |
100 |
int interlacing; |
int interlacing; |
101 |
|
int qpel; |
102 |
|
int gmc; |
103 |
|
int chromame; |
104 |
//added by koepi for gruel's greyscale_mode |
//added by koepi for gruel's greyscale_mode |
|
|
|
105 |
int greyscale; |
int greyscale; |
|
|
|
106 |
// end of koepi's additions |
// end of koepi's additions |
|
|
|
|
#ifdef BFRAMES |
|
107 |
int max_bframes; |
int max_bframes; |
108 |
int bquant_ratio; |
int bquant_ratio; |
109 |
|
int bquant_offset; |
110 |
int packed; |
int packed; |
111 |
int dx50bvop; |
int dx50bvop; |
112 |
int debug; |
int debug; |
113 |
#endif |
int reduced_resolution; |
114 |
|
|
115 |
int min_iquant; |
int min_iquant; |
116 |
int max_iquant; |
int max_iquant; |
154 |
int credits_end_end; |
int credits_end_end; |
155 |
|
|
156 |
//added by koepi for gruel's greyscale_mode |
//added by koepi for gruel's greyscale_mode |
|
|
|
157 |
int credits_greyscale; |
int credits_greyscale; |
|
|
|
158 |
// end of koepi's additions |
// end of koepi's additions |
|
|
|
159 |
int credits_mode; |
int credits_mode; |
160 |
int credits_rate; |
int credits_rate; |
161 |
int credits_quant_i; |
int credits_quant_i; |
166 |
#ifdef _SMP |
#ifdef _SMP |
167 |
int num_threads; |
int num_threads; |
168 |
#endif |
#endif |
169 |
#ifdef BFRAMES |
int chroma_opt; |
170 |
|
|
171 |
int frame_drop_ratio; |
int frame_drop_ratio; |
172 |
#endif |
|
173 |
|
/* decoder */ |
174 |
|
|
175 |
|
int deblock_y; |
176 |
|
int deblock_uv; |
177 |
|
|
178 |
// char build[50]; |
// char build[50]; |
179 |
DWORD cpu; |
DWORD cpu; |