[MPlayer-dev-eng] [PATCH] new filter: levels

James Crowson jbcrowso at ncsu.edu
Thu Sep 2 21:02:54 CEST 2004


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 ’c’ompress 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  ’e’xpand  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.

An English manpage update is included.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: levels.patch
Type: text/x-patch
Size: 5722 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040902/285cf842/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: levels-man.patch
Type: text/x-patch
Size: 1246 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040902/285cf842/attachment-0001.bin>


More information about the MPlayer-dev-eng mailing list