[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.81,1.82
Michael Niedermayer CVS
michael at mplayerhq.hu
Mon Nov 3 00:22:20 CET 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv16691
Modified Files:
ve_lavc.c
Log Message:
noise reduction
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- ve_lavc.c 23 Oct 2003 12:05:33 -0000 1.81
+++ ve_lavc.c 2 Nov 2003 23:21:45 -0000 1.82
@@ -133,6 +133,7 @@
static char *lavc_param_inter_matrix = NULL;
static int lavc_param_cbp= 0;
static int lavc_param_mv0= 0;
+static int lavc_param_noise_reduction= 0;
#include "m_option.h"
@@ -236,6 +237,7 @@
#if LIBAVCODEC_BUILD >= 4683
{"mv0", &lavc_param_mv0, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_MV0, NULL},
#endif
+ {"nr", &lavc_param_noise_reduction, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}
};
#endif
@@ -345,6 +347,9 @@
#if LIBAVCODEC_BUILD >= 4669
lavc_venc_context->coder_type= lavc_param_coder;
lavc_venc_context->context_model= lavc_param_context;
+#endif
+#if LIBAVCODEC_BUILD >= 4690
+ lavc_venc_context->noise_reduction= lavc_param_noise_reduction;
#endif
#if LIBAVCODEC_BUILD >= 4675
if (lavc_param_intra_matrix)
More information about the MPlayer-cvslog
mailing list