diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-09-25 23:18:58 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-09-25 23:18:58 +0000 |
commit | 178fcca84883bdbff02d5ae8eb7825bf884b40d8 (patch) | |
tree | daf6d857ef63cf0ad688acdadf1091732507b965 /ffplay.c | |
parent | bc133816c03b32d722fa43cfe1d199a273fc65b4 (diff) | |
download | ffmpeg-178fcca84883bdbff02d5ae8eb7825bf884b40d8.tar.gz |
1/2 resolution decoding
Originally committed as revision 3507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -171,6 +171,8 @@ static int step = 0; static int thread_count = 1; static int workaround_bugs = 1; static int fast = 0; +static int lowres = 0; +static int idct = FF_IDCT_AUTO; /* current context */ static int is_full_screen; @@ -1173,6 +1175,8 @@ static int stream_component_open(VideoState *is, int stream_index) enc->debug_mv = debug_mv; enc->debug = debug; enc->workaround_bugs = workaround_bugs; + enc->lowres = lowres; + enc->idct_algo= idct; if(fast) enc->flags2 |= CODEC_FLAG2_FAST; if (!codec || avcodec_open(enc, codec) < 0) @@ -1832,6 +1836,8 @@ const OptionDef options[] = { { "bug", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&workaround_bugs}, "workaround bugs", "" }, { "vismv", HAS_ARG | OPT_EXPERT, {(void*)opt_vismv}, "visualize motion vectors", "" }, { "fast", OPT_BOOL | OPT_EXPERT, {(void*)&fast}, "non spec compliant optimizations", "" }, + { "lowres", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&lowres}, "", "" }, + { "idct", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&idct}, "set idct algo", "algo" }, #ifdef CONFIG_NETWORK { "rtp_tcp", OPT_EXPERT, {(void*)&opt_rtp_tcp}, "force RTP/TCP protocol usage", "" }, #endif |