--- trunk/vfw/src/config.h 2002/04/15 08:03:50 121 +++ trunk/vfw/src/config.h 2002/08/01 12:56:29 355 @@ -68,10 +68,15 @@ typedef struct { - int mode; +/********** ATTENTION **********/ + int mode; // Vidomi directly accesses these vars + int rc_bitrate; // + int desired_size; // please try to avoid modifications here + char stats1[MAX_PATH]; // +/*******************************/ + int quality; int quant; - int rc_bitrate; int rc_reaction_delay_factor; int rc_averaging_period; int rc_buffer; @@ -83,6 +88,16 @@ int min_key_interval; int lum_masking; int interlacing; +//added by koepi for gruel's greyscale_mode + int greyscale; +// end of koepi's additions +#ifdef BFRAMES + int max_bframes; + int bquant_ratio; + int packed; + int dx50bvop; + int debug; +#endif int min_iquant; int max_iquant; @@ -91,8 +106,11 @@ BYTE qmatrix_intra[64]; BYTE qmatrix_inter[64]; - int desired_size; int keyframe_boost; +//added by koepi for new 2pass curve treatment + int kftreshold; + int kfreduction; +// end of koepi's additions int discard1pass; int dummy2pass; int curve_compression_high; @@ -113,7 +131,6 @@ int bitrate_payback_method; int hinted_me; char hintfile[MAX_PATH]; - char stats1[MAX_PATH]; char stats2[MAX_PATH]; int credits_start; @@ -130,6 +147,13 @@ int credits_start_size; int credits_end_size; +#ifdef _SMP + int num_threads; +#endif +#ifdef BFRAMES + int frame_drop_ratio; +#endif + // char build[50]; DWORD cpu; float fquant; @@ -159,7 +183,8 @@ void config_reg_get(CONFIG *); void config_reg_set(CONFIG *); void config_reg_default(CONFIG *); -int config_get_int(HWND, UINT, int); +int config_get_int(HWND, INT, int); +int config_get_uint(HWND, UINT, int); void main_download(HWND, CONFIG *); void main_slider(HWND, CONFIG *); void main_value(HWND, CONFIG *);