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.13 2008-11-30 16:36:44 Isibaar Exp $ |
* $Id: config.h,v 1.14 2010-12-02 06:46:07 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 */ |
247 |
#define PROFILE_4MV 0x00000040 |
#define PROFILE_4MV 0x00000040 |
248 |
#define PROFILE_PACKED 0x00000080 |
#define PROFILE_PACKED 0x00000080 |
249 |
#define PROFILE_EXTRA 0x00000100 |
#define PROFILE_EXTRA 0x00000100 |
250 |
|
#define PROFILE_XVID 0x00000200 |
251 |
|
|
252 |
static const int PARS[][2] = { |
static const int PARS[][2] = { |
253 |
{1, 1}, |
{1, 1}, |
264 |
typedef struct |
typedef struct |
265 |
{ |
{ |
266 |
char * name; |
char * name; |
267 |
|
char * short_name; |
268 |
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 */ |
269 |
int width; |
int width; |
270 |
int height; |
int height; |