[MPlayer-dev-eng] equalizer for vo_X11 & vo_gl2 - patch
lucho
lucho at haemimont.bg
Mon Oct 28 16:19:59 CET 2002
here is a somewhat generic equalizer implementation for the X11 vo drivers using the window's colormap.
the patches are for vo_x11 and vo_gl2 only, but it can be used easely for vo_gl, and
with a little bit of additional codding for vo_dga.
this method is using the video card's hardware gamma ramp so it involves no performance penalties at all.
this way we can do gamma, brightness, contrast, hue and red/green/blue intensities, but
we cannot do saturation. I implemented brightness, contrast and gamma but tested
only brightness and contrast (why there aren't keys for adjusting gamma).
the patches are relative to <mplayer_src_dir>/libvo
lucho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021028/58d63d48/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vo_gl2.c.diff
Type: application/octet-stream
Size: 3339 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021028/58d63d48/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vo_x11.c.diff
Type: application/octet-stream
Size: 1441 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021028/58d63d48/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11_common.c.diff
Type: application/octet-stream
Size: 4413 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021028/58d63d48/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11_common.h.diff
Type: application/octet-stream
Size: 461 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021028/58d63d48/attachment-0003.obj>
More information about the MPlayer-dev-eng
mailing list