From: Branko Kokanovic Date: Wed, 15 Sep 2010 22:35:45 +0000 (+0200) Subject: Adding posterize filter to effects dialog X-Git-Tag: 1.2.0-pre1~5262 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1df0fa1323fbb927ae8e869a85e2eca0a03fff0f;p=vlc Adding posterize filter to effects dialog Adding posterize filter to Color fun tab of Video effects tab of Effects and filters dialog Signed-off-by: Jean-Baptiste Kempf --- diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp index 8313536b8c..b7d6e3effb 100644 --- a/modules/gui/qt4/components/extended_panels.cpp +++ b/modules/gui/qt4/components/extended_panels.cpp @@ -138,6 +138,9 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QTabWidget *_parent ) : SETUP_VFILTER( extract ) SETUP_VFILTER_OPTION( extractComponentText, textChanged( const QString& ) ) + SETUP_VFILTER( posterize ) + SETUP_VFILTER_OPTION( posterizeLevelSpin, valueChanged( int ) ) + SETUP_VFILTER( colorthres ) SETUP_VFILTER_OPTION( colorthresColorText, textChanged( const QString& ) ) SETUP_VFILTER_OPTION( colorthresSaturationthresSlider, valueChanged( int ) ) diff --git a/modules/gui/qt4/ui/video_effects.ui b/modules/gui/qt4/ui/video_effects.ui index 65f52eebdd..193c12d268 100644 --- a/modules/gui/qt4/ui/video_effects.ui +++ b/modules/gui/qt4/ui/video_effects.ui @@ -523,7 +523,7 @@ - + Color threshold @@ -580,6 +580,41 @@ + + + + Posterize + + + true + + + false + + + + + + Posterize level + + + + + + + 2 + + + 256 + + + 3 + + + + + +