23 |
#define XVID_REG_CLASS "config" |
#define XVID_REG_CLASS "config" |
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)" |
28 |
|
|
29 |
/* constants */ |
/* constants */ |
30 |
#define CONFIG_HINTFILE "\\hintfile.mvh" |
#define CONFIG_HINTFILE "\\hintfile.mvh" |
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 |
90 |
int min_key_interval; |
int min_key_interval; |
91 |
int lum_masking; |
int lum_masking; |
92 |
int interlacing; |
int interlacing; |
93 |
|
int qpel; |
94 |
|
int gmc; |
95 |
|
int chromame; |
96 |
|
//added by koepi for gruel's greyscale_mode |
97 |
|
int greyscale; |
98 |
|
// end of koepi's additions |
99 |
|
int max_bframes; |
100 |
|
int bquant_ratio; |
101 |
|
int bquant_offset; |
102 |
|
int packed; |
103 |
|
int dx50bvop; |
104 |
|
int debug; |
105 |
|
int reduced_resolution; |
106 |
|
|
107 |
int min_iquant; |
int min_iquant; |
108 |
int max_iquant; |
int max_iquant; |
112 |
BYTE qmatrix_inter[64]; |
BYTE qmatrix_inter[64]; |
113 |
|
|
114 |
int keyframe_boost; |
int keyframe_boost; |
115 |
|
//added by koepi for new 2pass curve treatment |
116 |
|
int kftreshold; |
117 |
|
int kfreduction; |
118 |
|
// end of koepi's additions |
119 |
int discard1pass; |
int discard1pass; |
120 |
int dummy2pass; |
int dummy2pass; |
121 |
int curve_compression_high; |
int curve_compression_high; |
145 |
int credits_end_begin; |
int credits_end_begin; |
146 |
int credits_end_end; |
int credits_end_end; |
147 |
|
|
148 |
|
//added by koepi for gruel's greyscale_mode |
149 |
|
int credits_greyscale; |
150 |
|
// end of koepi's additions |
151 |
int credits_mode; |
int credits_mode; |
152 |
int credits_rate; |
int credits_rate; |
153 |
int credits_quant_i; |
int credits_quant_i; |
155 |
int credits_start_size; |
int credits_start_size; |
156 |
int credits_end_size; |
int credits_end_size; |
157 |
|
|
158 |
|
#ifdef _SMP |
159 |
|
int num_threads; |
160 |
|
#endif |
161 |
|
int frame_drop_ratio; |
162 |
|
|
163 |
|
/* decoder */ |
164 |
|
|
165 |
|
int deblock_y; |
166 |
|
int deblock_uv; |
167 |
|
|
168 |
// char build[50]; |
// char build[50]; |
169 |
DWORD cpu; |
DWORD cpu; |
170 |
float fquant; |
float fquant; |
194 |
void config_reg_get(CONFIG *); |
void config_reg_get(CONFIG *); |
195 |
void config_reg_set(CONFIG *); |
void config_reg_set(CONFIG *); |
196 |
void config_reg_default(CONFIG *); |
void config_reg_default(CONFIG *); |
197 |
int config_get_int(HWND, UINT, int); |
int config_get_int(HWND, INT, int); |
198 |
|
int config_get_uint(HWND, UINT, int); |
199 |
void main_download(HWND, CONFIG *); |
void main_download(HWND, CONFIG *); |
200 |
void main_slider(HWND, CONFIG *); |
void main_slider(HWND, CONFIG *); |
201 |
void main_value(HWND, CONFIG *); |
void main_value(HWND, CONFIG *); |