diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-01-01 22:04:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-01-01 22:04:14 +0000 |
commit | c0baa56a252310f461925bf30fea5bb07df9285a (patch) | |
tree | 760d9e2b0d3c463361ae75bd515dc80bca61dbd3 /ffmpeg.c | |
parent | ca1c3f52e75b892af432914e78531baa9512f717 (diff) | |
download | ffmpeg-c0baa56a252310f461925bf30fea5bb07df9285a.tar.gz |
trellis quantization regression test
Originally committed as revision 2648 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -120,6 +120,7 @@ static int use_aic = 0; static int use_aiv = 0; static int use_umv = 0; static int use_alt_scan = 0; +static int use_trell = 0; static int do_deinterlace = 0; static int do_interlace_dct = 0; static int do_interlace_me = 0; @@ -2395,6 +2396,9 @@ static void opt_output_file(const char *filename) if (use_alt_scan) { video_enc->flags |= CODEC_FLAG_ALT_SCAN; } + if (use_trell) { + video_enc->flags |= CODEC_FLAG_TRELLIS_QUANT; + } if (b_frames) { video_enc->max_b_frames = b_frames; video_enc->b_frame_strategy = 0; @@ -3029,6 +3033,7 @@ const OptionDef options[] = { { "aiv", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&use_aiv}, "enable Alternative inter vlc (h263+)" }, { "umv", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&use_umv}, "enable Unlimited Motion Vector (h263+)" }, { "alt", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&use_alt_scan}, "enable alternate scantable (mpeg2)" }, + { "trell", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&use_trell}, "enable trellis quantization" }, { "intra_matrix", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_intra_matrix}, "specify intra matrix coeffs", "matrix" }, { "inter_matrix", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_inter_matrix}, "specify inter matrix coeffs", "matrix" }, { "top", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_top_field_first}, "top=1/bottom=0/auto=-1 field first", "" }, |