--- branches/dev-api-4/xvidcore/vfw/src/config.h 2003/06/02 11:47:30 1052 +++ branches/dev-api-4/xvidcore/vfw/src/config.h 2003/06/10 10:07:03 1061 @@ -1,3 +1,27 @@ +/***************************************************************************** + * + * XVID MPEG-4 VIDEO CODEC + * - VFW configuration header - + * + * Copyright(C) 2002-2003 Anonymous + * + * This program is free software ; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation ; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY ; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * 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.8 2003-06-10 10:07:03 suxen_drol Exp $ + * + ****************************************************************************/ #ifndef _CONFIG_H_ #define _CONFIG_H_ @@ -19,7 +43,6 @@ #define DEFAULT_MIN_KBPS 16 #define DEFAULT_MAX_KBPS 10000 - /* registry stuff */ #define XVID_REG_KEY HKEY_CURRENT_USER #define XVID_REG_PARENT "Software\\GNU" @@ -63,7 +86,7 @@ int mode; int weight; int quant; - /* overrides: when ==MODIFIER_USE_DEFAULT use default/global setting */ + unsigned int greyscale; unsigned int chroma_opt; unsigned int bvop_threshold; @@ -73,11 +96,12 @@ typedef struct { /********** ATTENTION **********/ - int mode; // Vidomi directly accesses these vars - int bitrate; // - int desired_size; // please try to avoid modifications here - char stats[MAX_PATH]; // + int mode; /* Vidomi directly accesses these vars */ + int bitrate; + int desired_size; /* please try to avoid modifications here */ + char stats[MAX_PATH]; /*******************************/ + int use_2pass_bitrate; /* use bitrate for 2pass2 (instead of desired size) */ /* profile */ char profile_name[MAX_PATH]; @@ -108,11 +132,13 @@ int rc_averaging_period; int rc_buffer; + /* 2pass1 */ + int discard1pass; + /* 2pass2 */ int keyframe_boost; int kftreshold; int kfreduction; - int discard1pass; int curve_compression_high; int curve_compression_low; int twopass_max_overflow_improvement; @@ -142,6 +168,7 @@ int fourcc_used; int vop_debug; int debug; + int display_status; DWORD cpu;