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 |
|
|
117 |
BYTE qmatrix_inter[64]; |
BYTE qmatrix_inter[64]; |
118 |
int lum_masking; |
int lum_masking; |
119 |
int interlacing; |
int interlacing; |
120 |
|
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; |
190 |
int vop_debug; |
int vop_debug; |
191 |
int debug; |
int debug; |
192 |
int display_status; |
int display_status; |
193 |
|
int full1pass; |
194 |
|
|
195 |
DWORD cpu; |
DWORD cpu; |
196 |
|
|
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 |
|
|