diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-04-30 13:44:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-30 13:44:29 +0000 |
commit | bf266e195aa8ce938caab674c2b75defbf8db661 (patch) | |
tree | f6a9999149b207f5094ede46b2cfa09fd3ee991c /ffmpeg.c | |
parent | 26d4f26bb72622a5f8336f763bae75e97eb9217d (diff) | |
download | ffmpeg-bf266e195aa8ce938caab674c2b75defbf8db661.tar.gz |
intra_dc_precission>0 encoding support
Originally committed as revision 3093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -164,6 +164,7 @@ static int debug = 0; static int debug_mv = 0; static int me_threshold = 0; static int mb_threshold = 0; +static int intra_dc_precision = 0; extern int loop_input; /* currently a hack */ static int gop_size = 12; @@ -2893,6 +2894,7 @@ static void opt_output_file(const char *filename) video_enc->idct_algo = idct_algo; video_enc->me_threshold= me_threshold; video_enc->mb_threshold= mb_threshold; + video_enc->intra_dc_precision= intra_dc_precision; video_enc->strict_std_compliance = strict; video_enc->error_rate = error_rate; video_enc->noise_reduction= noise_reduction; @@ -3580,6 +3582,7 @@ const OptionDef options[] = { { "qns", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_qns}, "quantization noise shaping", "" }, { "sc_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_sc_threshold}, "scene change threshold", "threshold" }, { "me_range", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_me_range}, "limit motion vectors range (1023 for DivX player)", "range" }, + { "dc", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&intra_dc_precision}, "intra_dc_precision", "precision" }, /* audio options */ { "ab", HAS_ARG | OPT_AUDIO, {(void*)opt_audio_bitrate}, "set audio bitrate (in kbit/s)", "bitrate", }, |