--- branches/dev-api-4/xvidcore/vfw/src/config.h 2004/01/02 13:18:28 1301 +++ branches/dev-api-4/xvidcore/vfw/src/config.h 2004/01/26 03:16:53 1333 @@ -19,7 +19,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: config.h,v 1.1.2.16 2004-01-02 13:18:28 syskin Exp $ + * $Id: config.h,v 1.1.2.20 2004-01-26 03:16:53 suxen_drol Exp $ * ****************************************************************************/ #ifndef _CONFIG_H_ @@ -43,6 +43,7 @@ /* min/max bitrate when not specified by profile */ #define DEFAULT_MIN_KBPS 16 #define DEFAULT_MAX_KBPS 10000 +#define DEFAULT_QUANT 400 /* registry stuff */ #define XVID_REG_KEY HKEY_CURRENT_USER @@ -104,6 +105,7 @@ char stats[MAX_PATH]; /*******************************/ int use_2pass_bitrate; /* use bitrate for 2pass2 (instead of desired size) */ + int desired_quant; /* for one-pass constant quant */ /* profile */ char profile_name[MAX_PATH]; @@ -151,6 +153,19 @@ int twopass_max_overflow_improvement; int twopass_max_overflow_degradation; + /* bitrate calculator */ + int target_size; + int subtitle_size; + int container_type; + int hours; + int minutes; + int seconds; + int fps; + int audio_mode; + int audio_type; + int audio_rate; + int audio_size; + /* motion */ int motion_search; int vhq_mode; @@ -253,6 +268,8 @@ void config_reg_get(CONFIG * config); void config_reg_set(CONFIG * config); +void sort_zones(zone_t * zones, int zone_num, int * sel); + BOOL CALLBACK main_proc(HWND, UINT, WPARAM, LPARAM); BOOL CALLBACK about_proc(HWND, UINT, WPARAM, LPARAM);