[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.51,1.52
Michael Niedermayer CVS
michael at mplayerhq.hu
Thu Jan 2 02:33:21 CET 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv18026
Modified Files:
ve_lavc.c
Log Message:
motion estimation pre pass
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- ve_lavc.c 1 Jan 2003 14:39:09 -0000 1.51
+++ ve_lavc.c 2 Jan 2003 01:33:14 -0000 1.52
@@ -114,6 +114,7 @@
static int lavc_param_qpel= 0;
static int lavc_param_trell= 0;
static int lavc_param_last_pred= 0;
+static int lavc_param_pre_me= 1;
#include "cfgparser.h"
@@ -186,6 +187,7 @@
{"trell", &lavc_param_trell, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_TRELLIS_QUANT, NULL},
#endif
{"last_pred", &lavc_param_last_pred, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
+ {"preme", &lavc_param_pre_me, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
#endif
@@ -261,6 +263,9 @@
#endif
#if LIBAVCODEC_BUILD >= 4649
lavc_venc_context->last_predictor_count= lavc_param_last_pred;
+#endif
+#if LIBAVCODEC_BUILD >= 4650
+ lavc_venc_context->pre_me= lavc_param_pre_me;
#endif
p= lavc_param_rc_override_string;
More information about the MPlayer-cvslog
mailing list