]> git.sesse.net Git - vlc/commit
Add adjust filter features to libvlc_media_player/libvlc_video
authorFrank Enderle <frank.enderle@anamica.de>
Thu, 24 Jun 2010 00:16:04 +0000 (03:16 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 24 Jun 2010 00:16:22 +0000 (03:16 +0300)
commita8fbe67ffbd0299169317074bdab82a84d35dc3b
tree132e8808935bb8aae44c92ba3ac9206c8be7f0b5
parent7cdb0761b23277f508cefeb5dca4098c9ec4120d
Add adjust filter features to libvlc_media_player/libvlc_video

This patch exposes the adjust module to libvlc_media_player/libvlc_video
and adds a frequently requested featureset: to manipulate brightness,
contrast, gamma, saturation and hue through libvlc. The patch introduces
a new set of functions analogous to
libvlc_video_{get,set}_{marq,logo}_*, hence the use of the function set
should be self explanatory.

New Functions:

* value = libvlc_video_get_adjust_int( p_mi, option );
* libvlc_video_set_adjust_int( p_mi, option, value );
* value = libvlc_video_get_adjust_float( p_mi, option );
* libvlc_video_set_adjust_float( p_mi, option, value );

New Options:

* libvlc_adjust_Enable
* libvlc_adjust_Contrast
* libvlc_adjust_Brightness
* libvlc_adjust_Hue
* libvlc_adjust_Saturation
* libvlc_adjust_Gamma

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
include/vlc/libvlc_media_player.h
src/control/media_player.c
src/control/video.c
src/libvlc.sym