[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.93,1.94
Michael Niedermayer CVS
syncmail at mplayerhq.hu
Mon Jun 7 19:31:53 CEST 2004
CVS change done by Michael Niedermayer CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv24764
Modified Files:
ve_lavc.c
Log Message:
nsse weight
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- ve_lavc.c 24 Mar 2004 15:16:36 -0000 1.93
+++ ve_lavc.c 7 Jun 2004 17:31:50 -0000 1.94
@@ -149,6 +149,7 @@
static int lavc_param_top= -1;
static int lavc_param_alt= 0;
static int lavc_param_ilme= 0;
+static int lavc_param_nssew= 8;
char *lavc_param_acodec = "mp2";
@@ -290,6 +291,7 @@
{"sc_threshold", &lavc_param_sc_threshold, CONF_TYPE_INT, CONF_RANGE, -1000000, 1000000, NULL},
{"top", &lavc_param_top, CONF_TYPE_INT, CONF_RANGE, -1, 1, NULL},
{"qns", &lavc_param_qns, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL},
+ {"nssew", &lavc_param_nssew, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
#endif
@@ -412,6 +414,9 @@
#if LIBAVCODEC_BUILD >= 4693
lavc_venc_context->inter_threshold= lavc_param_inter_threshold;
#endif
+#if LIBAVCODEC_BUILD >= 4716
+ lavc_venc_context->nsse_weight= lavc_param_nssew;
+#endif
#if LIBAVCODEC_BUILD >= 4675
if (lavc_param_intra_matrix)
{
More information about the MPlayer-cvslog
mailing list