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.10 2003-10-28 23:42:09 edgomez Exp $ |
* $Id: config.h,v 1.1.2.15 2003-12-21 16:15:04 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
#ifndef _CONFIG_H_ |
#ifndef _CONFIG_H_ |
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; |
int cartoon_mode; |
158 |
|
int turbo; |
159 |
int max_key_interval; |
int max_key_interval; |
|
int min_key_interval; |
|
160 |
int frame_drop_ratio; |
int frame_drop_ratio; |
161 |
|
|
162 |
/* quant */ |
/* quant */ |
216 |
#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) |
217 |
#define PROFILE_ARTS (PROFILE_ADAPTQUANT|PROFILE_REDUCED) |
#define PROFILE_ARTS (PROFILE_ADAPTQUANT|PROFILE_REDUCED) |
218 |
|
|
219 |
|
static const int PARS[][2] = { |
220 |
|
{1, 1}, |
221 |
|
{12, 11}, |
222 |
|
{10, 11}, |
223 |
|
{16, 11}, |
224 |
|
{40, 33}, |
225 |
|
{0, 0}, |
226 |
|
}; |
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
231 |
typedef struct |
typedef struct |
232 |
{ |
{ |