[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.31,1.32
Michael Niedermayer
michael at mplayerhq.hu
Tue Sep 24 13:23:25 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv12926/libmpcodecs
Modified Files:
ve_lavc.c
Log Message:
darkmasking & docs
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ve_lavc.c 23 Sep 2002 15:46:16 -0000 1.31
+++ ve_lavc.c 24 Sep 2002 11:23:12 -0000 1.32
@@ -90,6 +90,7 @@
static float lavc_param_aspect=0.0;
#endif
static float lavc_param_lumi_masking= 0.0;
+static float lavc_param_dark_masking= 0.0;
static float lavc_param_temporal_cplx_masking= 0.0;
static float lavc_param_spatial_cplx_masking= 0.0;
static float lavc_param_p_masking= 0.0;
@@ -160,6 +161,9 @@
{"p_mask", &lavc_param_p_masking, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
{"naq", &lavc_param_normalize_aqp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
#endif
+#if LIBAVCODEC_BUILD >= 4626
+ {"dark_mask", &lavc_param_dark_masking, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
+#endif
{NULL, NULL, 0, 0, 0, 0, NULL}
};
#endif
@@ -268,6 +272,9 @@
lavc_venc_context->temporal_cplx_masking= lavc_param_temporal_cplx_masking;
lavc_venc_context->spatial_cplx_masking= lavc_param_spatial_cplx_masking;
lavc_venc_context->p_masking= lavc_param_p_masking;
+#endif
+#if LIBAVCODEC_BUILD >= 4626
+ lavc_venc_context->dark_masking= lavc_param_dark_masking;
#endif
#if LIBAVCODEC_BUILD >= 4623
More information about the MPlayer-cvslog
mailing list