[Mplayer-cvslog] CVS: main cfg-common.h,1.24,1.25

Michael Niedermayer michael at mplayer.dev.hu
Mon Jan 21 16:22:30 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv6709

Modified Files:
	cfg-common.h 
Log Message:
a few filters (should be removed/merged when arpis videofilter stuff is finished)
-ssf cgb=<float> -> chrominance gaussian blur (nice to improve picture quality)
-ssf lgb=<float> -> luminance gaussian blur (dunno what its good for)
-ssf chs=<int> -> shift chrominance horizontally
-ssf cvs=<int> -> shift chrominance vertically
these will only work if the swscaler is used at all


Index: cfg-common.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-common.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- cfg-common.h	21 Jan 2002 09:44:31 -0000	1.24
+++ cfg-common.h	21 Jan 2002 15:22:28 -0000	1.25
@@ -77,6 +77,7 @@
         {"oldpp", "MPlayer was compiled without opendivx library\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
 #endif
 	{"sws", &sws_flags, CONF_TYPE_INT, 0, 0, 2, NULL},
+	{"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
 
 #ifdef USE_TV
 	{"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
@@ -108,6 +109,19 @@
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };
 #endif
+
+extern int sws_chr_vshift;
+extern int sws_chr_hshift;
+extern float sws_chr_gblur;
+extern float sws_lum_gblur;
+
+struct config scaler_filter_conf[]={
+	{"lgb", &sws_lum_gblur, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
+	{"cgb", &sws_chr_gblur, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
+	{"cvs", &sws_chr_vshift, CONF_TYPE_INT, 0, 0, 0, NULL},
+	{"chs", &sws_chr_hshift, CONF_TYPE_INT, 0, 0, 0, NULL},
+	{NULL, NULL, 0, 0, 0, 0, NULL}
+};
 
 /* VIVO demuxer options: */
 extern int vivo_param_version;




More information about the MPlayer-cvslog mailing list