[MPlayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.114,1.115

Guillaume Poirier CVS syncmail at mplayerhq.hu
Sun May 8 22:51:40 CEST 2005


CVS change done by Guillaume Poirier CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv31425/libmpcodecs

Modified Files:
	ve_lavc.c 
Log Message:
Add border masking support for lavc


Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- ve_lavc.c	8 May 2005 10:31:33 -0000	1.114
+++ ve_lavc.c	8 May 2005 20:51:38 -0000	1.115
@@ -103,6 +103,7 @@
 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;
+static float lavc_param_border_masking= 0.0;
 static int lavc_param_normalize_aqp= 0;
 static int lavc_param_interlaced_dct= 0;
 static int lavc_param_prediction_method= FF_PRED_LEFT;
@@ -297,6 +298,9 @@
 #if LIBAVCODEC_BUILD >= 4711
 	{"dc", &lavc_param_dc_precision, CONF_TYPE_INT, CONF_RANGE, 8, 11, NULL},
 #endif
+#if LIBAVCODEC_BUILD >= 4741
+	{"border_mask", &lavc_param_border_masking, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 1.0, NULL},
+#endif
 	{"inter_threshold", &lavc_param_inter_threshold, CONF_TYPE_INT, CONF_RANGE, -1000000, 1000000, NULL},
 	{"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},
@@ -513,6 +517,9 @@
     lavc_venc_context->spatial_cplx_masking= lavc_param_spatial_cplx_masking;
     lavc_venc_context->p_masking= lavc_param_p_masking;
     lavc_venc_context->dark_masking= lavc_param_dark_masking;
+#if LIBAVCODEC_BUILD >= 4741
+        lavc_venc_context->border_masking = lavc_param_border_masking;
+#endif
 
     if (lavc_param_aspect != NULL)
     {




More information about the MPlayer-cvslog mailing list