Commit 1df0fa13 authored by Branko Kokanovic's avatar Branko Kokanovic Committed by Jean-Baptiste Kempf

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: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9427bb62
...@@ -138,6 +138,9 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QTabWidget *_parent ) : ...@@ -138,6 +138,9 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QTabWidget *_parent ) :
SETUP_VFILTER( extract ) SETUP_VFILTER( extract )
SETUP_VFILTER_OPTION( extractComponentText, textChanged( const QString& ) ) SETUP_VFILTER_OPTION( extractComponentText, textChanged( const QString& ) )
SETUP_VFILTER( posterize )
SETUP_VFILTER_OPTION( posterizeLevelSpin, valueChanged( int ) )
SETUP_VFILTER( colorthres ) SETUP_VFILTER( colorthres )
SETUP_VFILTER_OPTION( colorthresColorText, textChanged( const QString& ) ) SETUP_VFILTER_OPTION( colorthresColorText, textChanged( const QString& ) )
SETUP_VFILTER_OPTION( colorthresSaturationthresSlider, valueChanged( int ) ) SETUP_VFILTER_OPTION( colorthresSaturationthresSlider, valueChanged( int ) )
......
...@@ -523,7 +523,7 @@ ...@@ -523,7 +523,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" rowspan="2"> <item row="0" column="0" rowspan="3">
<widget class="QGroupBox" name="colorthresEnable"> <widget class="QGroupBox" name="colorthresEnable">
<property name="title"> <property name="title">
<string>Color threshold</string> <string>Color threshold</string>
...@@ -580,6 +580,41 @@ ...@@ -580,6 +580,41 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="2" column="1">
<widget class="QGroupBox" name="posterizeEnable">
<property name="title">
<string>Posterize</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="label_33">
<property name="text">
<string>Posterize level</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="posterizeLevelSpin">
<property name="minimum">
<number>2</number>
</property>
<property name="maximum">
<number>256</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab_7"> <widget class="QWidget" name="tab_7">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment