[vlc-devel] [PATCH] 2-of-3: vlc-1.1.0 video adjust patch

Frank Enderle frank.enderle at anamica.de
Thu Jun 24 00:38:42 CEST 2010


I'd like to subit the following patch against the VLC-1.1.0 release.


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



Dipl.-Ing. (FH) Frank Enderle

anamica UG (haftungsbeschränkt)
Beinsteinerstr. 6
71334 Waiblingen

Telefon:  +49 151 14981091
Telefax:  +49 7151 1335770
E-Mail:   frank.enderle at anamica.de
Internet: www.anamica.de

Handelsregister: AG Stuttgart HRB 732357
Geschäftsführer: Yvonne Holzwarth, Frank Enderle
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vlc-1.1.0-video-adjust.diff
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100624/e8bae667/attachment.ksh>

More information about the vlc-devel mailing list