[svn] / trunk / xvidcore / vfw / src / config.h Repository:
ViewVC logotype

Diff of /trunk/xvidcore/vfw/src/config.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1607, Sun Mar 27 03:59:42 2005 UTC revision 1649, Sun Oct 16 00:00:04 2005 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: config.h,v 1.7 2005-03-27 03:59:42 suxen_drol Exp $   * $Id: config.h,v 1.8 2005-10-16 00:00:04 suxen_drol Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25  #ifndef _CONFIG_H_  #ifndef _CONFIG_H_
# Line 97  Line 97 
97  } zone_t;  } zone_t;
98    
99    
100    /* this structure represents a quality preset. it encapsulates
101       options from the motion and quantizer config pages. */
102    #define QUALITY_GENERAL_STRING  "General purpose"
103    #define QUALITY_USER_STRING     "(User defined)"
104    typedef struct {
105      char * name;
106      /* motion */
107      int motion_search;
108            int vhq_mode;
109            int vhq_bframe;
110            int chromame;
111            int turbo;
112            int max_key_interval;
113            int frame_drop_ratio;
114    
115            /* quant */
116            int min_iquant;
117            int max_iquant;
118            int min_pquant;
119            int max_pquant;
120            int min_bquant;
121            int max_bquant;
122            int trellis_quant;
123    } quality_t;
124    
125    
126  typedef struct  typedef struct
127  {  {
128  /********** ATTENTION **********/  /********** ATTENTION **********/
# Line 112  Line 138 
138          char profile_name[MAX_PATH];          char profile_name[MAX_PATH];
139          int profile;                    /* used internally; *not* written to registry */          int profile;                    /* used internally; *not* written to registry */
140    
141      /* quality preset */
142            char quality_name[MAX_PATH];
143            int quality;                    /* used internally; *not* written to registry */
144    
145          int quant_type;          int quant_type;
146          BYTE qmatrix_intra[64];          BYTE qmatrix_intra[64];
147          BYTE qmatrix_inter[64];          BYTE qmatrix_inter[64];
# Line 166  Line 196 
196          int audio_rate;          int audio_rate;
197          int audio_size;          int audio_size;
198    
199          /* motion */    /* user defined quality settings */
200          int motion_search;    quality_t quality_user;
         int vhq_mode;  
         int vhq_bframe;  
         int chromame;  
         int turbo;  
         int max_key_interval;  
         int frame_drop_ratio;  
   
         /* quant */  
         int min_iquant;  
         int max_iquant;  
         int min_pquant;  
         int max_pquant;  
         int min_bquant;  
         int max_bquant;  
         int trellis_quant;  
201    
202          /* debug */          /* debug */
203          int num_threads;          int num_threads;
# Line 267  Line 282 
282    
283  extern const profile_t profiles[];  extern const profile_t profiles[];
284    
285    extern const quality_t quality_table[];
286    extern const int quality_table_num; /* number of elements in quality table */
287    
288    
289  void config_reg_get(CONFIG * config);  void config_reg_get(CONFIG * config);
290  void config_reg_set(CONFIG * config);  void config_reg_set(CONFIG * config);

Legend:
Removed from v.1607  
changed lines
  Added in v.1649

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4