summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-09-25 23:18:58 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-09-25 23:18:58 +0000
commit178fcca84883bdbff02d5ae8eb7825bf884b40d8 (patch)
treedaf6d857ef63cf0ad688acdadf1091732507b965 /ffmpeg.c
parentbc133816c03b32d722fa43cfe1d199a273fc65b4 (diff)
downloadffmpeg-streaming-178fcca84883bdbff02d5ae8eb7825bf884b40d8.zip
ffmpeg-streaming-178fcca84883bdbff02d5ae8eb7825bf884b40d8.tar.gz
1/2 resolution decoding
Originally committed as revision 3507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 1bbf7d7..2c6eab8 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -188,6 +188,8 @@ static int predictor = 0;
static int video_profile = FF_PROFILE_UNKNOWN;
static int video_level = FF_LEVEL_UNKNOWN;
static int nsse_weight = 8;
+static int subpel_quality= 8;
+static int lowres= 0;
extern int loop_input; /* currently a hack */
static int gop_size = 12;
@@ -3148,6 +3150,8 @@ static void opt_output_file(const char *filename)
video_enc->profile= video_profile;
video_enc->level= video_level;
video_enc->nsse_weight= nsse_weight;
+ video_enc->me_subpel_quality= subpel_quality;
+ video_enc->lowres= lowres;
if(packet_size){
video_enc->rtp_mode= 1;
@@ -3840,6 +3844,8 @@ const OptionDef options[] = {
{ "vprofile", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_profile}, "profile", "" },
{ "vlevel", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_level}, "level", "" },
{ "nssew", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&nsse_weight}, "weight", "" },
+ { "subq", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&subpel_quality}, "", "" },
+ { "lowres", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&lowres}, "", "" },
/* audio options */
{ "ab", HAS_ARG | OPT_AUDIO, {(void*)opt_audio_bitrate}, "set audio bitrate (in kbit/s)", "bitrate", },
OpenPOWER on IntegriCloud