[MPlayer-dev-eng] [PATCH] Coring filter

Rich Felker dalias at aerifal.cx
Mon Jun 27 01:12:16 CEST 2005


On Sun, Jun 26, 2005 at 11:28:12PM +0200, Jan Paul Schmidt wrote:
> Hi there,
> 
> this is my type of a coring filter for MPlayer/MEncoder. See 
> attachments. vf_coring.c is the new filter file and vf_coring.diff the 
> patches to integrate it into the source tree.
> 
> Coring sets everything below a treshold to black. This coring filter 
> only uses luminance to make the decision.
> 
> Feedback is really appreciated, as this is my first encounter with the 
> MPlayer/Mencoder filters.
> 
> jps

This filter's not bad as far as I can see, but I question how good the
results will be. You'd be better off using eq2 to adjust brightness
and contrast so as to clip off the values below a certain level.
Otherwise you'll introduce artifacts right at the cutoff threshold,
and even if they're not visible on your monitor they'll show up for
people with different brightness/gamma settings, especially on lcd
panels.

Rich




More information about the MPlayer-dev-eng mailing list