[MPlayer-dev-eng] [PATCH] new filter: levels
Michael Niedermayer
michaelni at gmx.at
Thu Sep 2 21:13:22 CEST 2004
Hi
On Thursday 02 September 2004 21:02, James Crowson wrote:
> levels[=black_level:white_level[:mode]]
> Sets the black and white levels to new values. Defaults are
> black_level=16, white_level=235 (no effect). This filter sup-
> ports two modes of operation:
>
> c In compress mode (default), the entire intensity range
> of the input will be compressed into the intensity range
> black_level-white_level in the output. This can be used
> to make images less contrasty, and a range of the form
> n-235 (where n > 16) can be used to compensate for too
> low of a black level on the output device.
>
> e In expand mode, the intensity range black_level-
> white_level of the input will be expanded into the en-
> tire intensity range of the output. This can be used to
> fix washed-out source material. Raise black_level from
> 16 until the darkest intensity in the source becomes
> true black, and lower white_level from 235 until the
> lightest intensity in the source becomes true white.
rejected, we already have 2 filters which are capable of doing this, and they
are also much better optimized
maybe u want to extend the eq2 filter so it can be directly feeded with
black/white levels, something like eq2=c:123:345 / eq2=e:123:345 maybe
[...]
--
Michael
level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535)
buf[i]= qp - buf[i-1]; (violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
More information about the MPlayer-dev-eng
mailing list