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.1.2.8 2003-06-10 10:07:03 suxen_drol Exp $ |
* $Id: config.h,v 1.1.2.14 2003-12-18 14:51:40 syskin Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
#ifndef _CONFIG_H_ |
#ifndef _CONFIG_H_ |
83 |
{ |
{ |
84 |
int frame; |
int frame; |
85 |
|
|
86 |
|
int type; |
87 |
int mode; |
int mode; |
88 |
int weight; |
int weight; |
89 |
int quant; |
int quant; |
122 |
int bquant_offset; |
int bquant_offset; |
123 |
int packed; |
int packed; |
124 |
int closed_gov; |
int closed_gov; |
125 |
|
int display_aspect_ratio; /* aspect ratio */ |
126 |
|
int ar_x, ar_y; /* picture aspect ratio */ |
127 |
|
int par_x, par_y; /* custom pixel aspect ratio */ |
128 |
|
int ar_mode; /* picture/pixel AR */ |
129 |
|
|
130 |
/* zones */ |
/* zones */ |
131 |
int num_zones; |
int num_zones; |
142 |
|
|
143 |
/* 2pass2 */ |
/* 2pass2 */ |
144 |
int keyframe_boost; |
int keyframe_boost; |
145 |
int kftreshold; |
int kfthreshold; |
146 |
int kfreduction; |
int kfreduction; |
147 |
int curve_compression_high; |
int curve_compression_high; |
148 |
int curve_compression_low; |
int curve_compression_low; |
149 |
|
int overflow_control_strength; |
150 |
int twopass_max_overflow_improvement; |
int twopass_max_overflow_improvement; |
151 |
int twopass_max_overflow_degradation; |
int twopass_max_overflow_degradation; |
|
int bitrate_payback_delay; |
|
|
int bitrate_payback_method; |
|
152 |
|
|
153 |
/* motion */ |
/* motion */ |
154 |
int motion_search; |
int motion_search; |
155 |
int vhq_mode; |
int vhq_mode; |
156 |
int chromame; |
int chromame; |
157 |
|
int cartoon_mode; |
158 |
int max_key_interval; |
int max_key_interval; |
|
int min_key_interval; |
|
159 |
int frame_drop_ratio; |
int frame_drop_ratio; |
160 |
|
|
161 |
/* quant */ |
/* quant */ |
215 |
#define PROFILE_AS (PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_MPEGQUANT|PROFILE_INTERLACE|PROFILE_QPEL|PROFILE_GMC) |
#define PROFILE_AS (PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_MPEGQUANT|PROFILE_INTERLACE|PROFILE_QPEL|PROFILE_GMC) |
216 |
#define PROFILE_ARTS (PROFILE_ADAPTQUANT|PROFILE_REDUCED) |
#define PROFILE_ARTS (PROFILE_ADAPTQUANT|PROFILE_REDUCED) |
217 |
|
|
218 |
|
static const int PARS[][2] = { |
219 |
|
{1, 1}, |
220 |
|
{12, 11}, |
221 |
|
{10, 11}, |
222 |
|
{16, 11}, |
223 |
|
{40, 33}, |
224 |
|
{0, 0}, |
225 |
|
}; |
226 |
|
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
typedef struct |
typedef struct |
231 |
{ |
{ |