diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-08-30 19:49:12 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-08-30 19:49:12 +0000 |
commit | 463678ac8bce3845514f2d9a62e3220f513e5eac (patch) | |
tree | 6bfc5c7787f68cafb5f74ee1a3b6a04b08576e4e /ffmpeg.c | |
parent | 3f027ca76cb1424fa1c80bf76499e089921f537b (diff) | |
download | ffmpeg-463678ac8bce3845514f2d9a62e3220f513e5eac.tar.gz |
using only the fast int dct for regression tests
Originally committed as revision 884 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -111,6 +111,7 @@ static int use_hq = 0; static int use_4mv = 0; static int do_deinterlace = 0; static int workaround_bugs = 0; +static int dct_algo = 0; static int gop_size = 12; static int intra_only = 0; @@ -1371,6 +1372,11 @@ void opt_workaround_bugs(const char *arg) workaround_bugs = atoi(arg); } +void opt_dct_algo(const char *arg) +{ + dct_algo = atoi(arg); +} + void opt_frame_rate(const char *arg) { frame_rate = (int)(strtod(arg, 0) * FRAME_RATE_BASE); @@ -1794,6 +1800,7 @@ void opt_output_file(const char *filename) video_enc->b_quant_factor = video_b_qfactor; video_enc->i_quant_offset = video_i_qoffset; video_enc->b_quant_offset = video_b_qoffset; + video_enc->dct_algo = dct_algo; if (do_psnr) video_enc->get_psnr = 1; @@ -2145,6 +2152,7 @@ const OptionDef options[] = { { "vcodec", HAS_ARG | OPT_EXPERT, {(void*)opt_video_codec}, "force video codec", "codec" }, { "me", HAS_ARG | OPT_EXPERT, {(void*)opt_motion_estimation}, "set motion estimation method", "method" }, + { "dct_algo", HAS_ARG | OPT_EXPERT, {(void*)opt_dct_algo}, "set dct algo", "algo" }, { "bf", HAS_ARG | OPT_EXPERT, {(void*)opt_b_frames}, "use 'frames' B frames (only MPEG-4)", "frames" }, { "hq", OPT_BOOL | OPT_EXPERT, {(void*)&use_hq}, "activate high quality settings" }, { "4mv", OPT_BOOL | OPT_EXPERT, {(void*)&use_4mv}, "use four motion vector by macroblock (only MPEG-4)" }, |