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.3 2004-07-11 08:54:37 syskin Exp $ |
* $Id: config.h,v 1.7 2005-03-27 03:59:42 suxen_drol Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
#ifndef _CONFIG_H_ |
#ifndef _CONFIG_H_ |
93 |
unsigned int greyscale; |
unsigned int greyscale; |
94 |
unsigned int chroma_opt; |
unsigned int chroma_opt; |
95 |
unsigned int bvop_threshold; |
unsigned int bvop_threshold; |
96 |
|
unsigned int cartoon_mode; |
97 |
} zone_t; |
} zone_t; |
98 |
|
|
99 |
|
|
120 |
int tff; |
int tff; |
121 |
int qpel; |
int qpel; |
122 |
int gmc; |
int gmc; |
|
int reduced_resolution; |
|
123 |
int use_bvop; |
int use_bvop; |
124 |
int max_bframes; |
int max_bframes; |
125 |
int bquant_ratio; |
int bquant_ratio; |
126 |
int bquant_offset; |
int bquant_offset; |
127 |
int packed; |
int packed; |
|
int closed_gov; |
|
128 |
int display_aspect_ratio; /* aspect ratio */ |
int display_aspect_ratio; /* aspect ratio */ |
129 |
int ar_x, ar_y; /* picture aspect ratio */ |
int ar_x, ar_y; /* picture aspect ratio */ |
130 |
int par_x, par_y; /* custom pixel aspect ratio */ |
int par_x, par_y; /* custom pixel aspect ratio */ |
169 |
/* motion */ |
/* motion */ |
170 |
int motion_search; |
int motion_search; |
171 |
int vhq_mode; |
int vhq_mode; |
172 |
|
int vhq_bframe; |
173 |
int chromame; |
int chromame; |
|
int cartoon_mode; |
|
174 |
int turbo; |
int turbo; |
175 |
int max_key_interval; |
int max_key_interval; |
176 |
int frame_drop_ratio; |
int frame_drop_ratio; |
228 |
#define PROFILE_INTERLACE 0x00000008 |
#define PROFILE_INTERLACE 0x00000008 |
229 |
#define PROFILE_QPEL 0x00000010 |
#define PROFILE_QPEL 0x00000010 |
230 |
#define PROFILE_GMC 0x00000020 |
#define PROFILE_GMC 0x00000020 |
231 |
#define PROFILE_REDUCED 0x00000040 /* dynamic resolution conversion */ |
#define PROFILE_4MV 0x00000040 |
232 |
|
#define PROFILE_DXN 0x00000080 |
233 |
|
|
|
#define PROFILE_AS (PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_MPEGQUANT|PROFILE_INTERLACE|PROFILE_QPEL|PROFILE_GMC) |
|
|
#define PROFILE_ARTS (PROFILE_ADAPTQUANT|PROFILE_REDUCED) |
|
234 |
|
|
235 |
static const int PARS[][2] = { |
static const int PARS[][2] = { |
236 |
{1, 1}, |
{1, 1}, |
258 |
int max_acpred_mbs; /* percentage */ |
int max_acpred_mbs; /* percentage */ |
259 |
int max_vbv_size; /* max vbv size (bits) 16368 bits */ |
int max_vbv_size; /* max vbv size (bits) 16368 bits */ |
260 |
int max_video_packet_length; /* bits */ |
int max_video_packet_length; /* bits */ |
261 |
int max_bitrate; /* kbits/s */ |
int max_bitrate; /* bits per second */ |
262 |
|
int vbv_peakrate; /* max bits over anyone second period; 0=don't care */ |
263 |
|
int dxn_max_bframes; /* dxn: max consecutive bframes */ |
264 |
unsigned int flags; |
unsigned int flags; |
265 |
} profile_t; |
} profile_t; |
266 |
|
|