[MPlayer-DOCS] r29413 - in trunk: DOCS/man/en/mplayer.1 Makefile libmpcodecs/vf.c libmpcodecs/vf_gradfun.c

lorenm subversion at mplayerhq.hu
Tue Jul 7 04:01:36 CEST 2009


Author: lorenm
Date: Tue Jul  7 04:01:36 2009
New Revision: 29413

Log:
new debanding filter

Modified:
   trunk/DOCS/man/en/mplayer.1

Changes in other areas also in this revision:
Added:
   trunk/libmpcodecs/vf_gradfun.c
Modified:
   trunk/Makefile
   trunk/libmpcodecs/vf.c

Modified: trunk/DOCS/man/en/mplayer.1
==============================================================================
--- trunk/DOCS/man/en/mplayer.1	Sun Jul  5 22:10:59 2009	(r29412)
+++ trunk/DOCS/man/en/mplayer.1	Tue Jul  7 04:01:36 2009	(r29413)
@@ -7336,6 +7336,26 @@ Percentage of the pixels that have to be
 Threshold below which a pixel value is considered black (default: 32).
 .RE
 .
+.TP
+.B gradfun[=strength[:radius]]
+Fix the banding artifacts that are sometimes introduced into nearly flat
+regions by truncation to 8bit colordepth.
+Interpolates the gradients that should go where the bands are, and
+dithers them.
+.sp 1
+This filter is designed for playback only.
+Do not use it prior to lossy compression, because compression tends
+to lose the dither and bring back the bands.
+.RSs
+.IPs <strength>
+Maximum amount by which the filter will change any one pixel.
+Also the threshold for detecting nearly flat regions (default: 1.2).
+.IPs <radius>
+Neighborhood to fit the gradient to.
+Larger radius makes for smoother gradients, but also prevents the filter
+from modifying pixels near detailed regions (default: 16).
+.RE
+.
 .
 .
 .SH "GENERAL ENCODING OPTIONS (MENCODER ONLY)"


More information about the MPlayer-DOCS mailing list