3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - VFW configuration header - |
* - VFW configuration header - |
5 |
* |
* |
6 |
* Copyright(C) 2002-2003 Anonymous <xvid-devel@xvid.org> |
* Copyright(C) Peter Ross <pross@xvid.org> |
7 |
* |
* |
8 |
* This program is free software ; you can redistribute it and/or modify |
* This program is free software ; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
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.11 2006-07-10 17:39:23 Isibaar Exp $ |
* $Id: config.h,v 1.15 2010-12-21 16:56:42 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
26 |
#ifndef _CONFIG_H_ |
#ifndef _CONFIG_H_ |
27 |
#define _CONFIG_H_ |
#define _CONFIG_H_ |
28 |
|
|
43 |
|
|
44 |
/* min/max bitrate when not specified by profile */ |
/* min/max bitrate when not specified by profile */ |
45 |
#define DEFAULT_MIN_KBPS 16 |
#define DEFAULT_MIN_KBPS 16 |
46 |
#define DEFAULT_MAX_KBPS 10000 |
#define DEFAULT_MAX_KBPS 20480 |
47 |
#define DEFAULT_QUANT 400 |
#define DEFAULT_QUANT 400 |
48 |
|
|
49 |
/* registry stuff */ |
/* registry stuff */ |
54 |
|
|
55 |
#define XVID_BUILD __TIME__ ", " __DATE__ |
#define XVID_BUILD __TIME__ ", " __DATE__ |
56 |
#define XVID_WEBSITE "http://www.xvid.org/" |
#define XVID_WEBSITE "http://www.xvid.org/" |
57 |
#define XVID_SPECIAL_BUILD "(Vanilla CVS Build)" |
#define XVID_SPECIAL_BUILD "Vanilla CVS Build" |
58 |
|
|
59 |
/* constants */ |
/* constants */ |
60 |
#define CONFIG_2PASS_FILE ".\\video.pass" |
#define CONFIG_2PASS_FILE ".\\video.pass" |
107 |
/* motion */ |
/* motion */ |
108 |
int motion_search; |
int motion_search; |
109 |
int vhq_mode; |
int vhq_mode; |
110 |
|
int vhq_metric; |
111 |
int vhq_bframe; |
int vhq_bframe; |
112 |
int chromame; |
int chromame; |
113 |
int turbo; |
int turbo; |
211 |
|
|
212 |
DWORD cpu; |
DWORD cpu; |
213 |
|
|
214 |
|
int num_slices; |
215 |
|
|
216 |
/* internal */ |
/* internal */ |
217 |
int ci_valid; |
int ci_valid; |
218 |
VFWEXT_CONFIGURE_INFO_T ci; |
VFWEXT_CONFIGURE_INFO_T ci; |
250 |
#define PROFILE_4MV 0x00000040 |
#define PROFILE_4MV 0x00000040 |
251 |
#define PROFILE_PACKED 0x00000080 |
#define PROFILE_PACKED 0x00000080 |
252 |
#define PROFILE_EXTRA 0x00000100 |
#define PROFILE_EXTRA 0x00000100 |
253 |
|
#define PROFILE_XVID 0x00000200 |
254 |
|
|
255 |
static const int PARS[][2] = { |
static const int PARS[][2] = { |
256 |
{1, 1}, |
{1, 1}, |
267 |
typedef struct |
typedef struct |
268 |
{ |
{ |
269 |
char * name; |
char * name; |
270 |
|
char * short_name; |
271 |
int id; /* mpeg-4 profile id; iso/iec 14496-2:2001 table G-1 */ |
int id; /* mpeg-4 profile id; iso/iec 14496-2:2001 table G-1 */ |
272 |
int width; |
int width; |
273 |
int height; |
int height; |
297 |
void sort_zones(zone_t * zones, int zone_num, int * sel); |
void sort_zones(zone_t * zones, int zone_num, int * sel); |
298 |
|
|
299 |
|
|
300 |
BOOL CALLBACK main_proc(HWND, UINT, WPARAM, LPARAM); |
INT_PTR CALLBACK main_proc(HWND, UINT, WPARAM, LPARAM); |
301 |
BOOL CALLBACK about_proc(HWND, UINT, WPARAM, LPARAM); |
INT_PTR CALLBACK about_proc(HWND, UINT, WPARAM, LPARAM); |
302 |
|
|
303 |
#endif /* _CONFIG_H_ */ |
#endif /* _CONFIG_H_ */ |