[vlc-devel] [PATCH 2/2] Anti-flicker filter initial version
dharani.prabhu.s
dharani.prabhu.s at gmail.com
Sun Apr 3 07:38:35 CEST 2011
---
modules/gui/qt4/components/extended_panels.cpp | 4 +
modules/gui/qt4/ui/video_effects.ui | 85 ++++++++++++++++++++++++
2 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index afb6681..871770c 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -221,6 +221,10 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QTabWidget *_parent ) :
SETUP_VFILTER( grain )
SETUP_VFILTER_OPTION( grainVarianceSlider, valueChanged( int ) )
+ SETUP_VFILTER( antiflicker )
+ SETUP_VFILTER_OPTION( antiflickerWinszSlider, valueChanged( int ) )
+ SETUP_VFILTER_OPTION( antiflickerSftnSlider, valueChanged( int ) )
+
if( module_exists( "atmo" ) )
{
SETUP_VFILTER( atmo )
diff --git a/modules/gui/qt4/ui/video_effects.ui b/modules/gui/qt4/ui/video_effects.ui
index d79679f..4bfd9b8 100644
--- a/modules/gui/qt4/ui/video_effects.ui
+++ b/modules/gui/qt4/ui/video_effects.ui
@@ -1599,6 +1599,88 @@
</item>
</layout>
</widget>
+
+ <widget class="QWidget" name="tab_image_stbl">
+ <attribute name="title">
+ <string>Image stabilization</string>
+ </attribute>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QGroupBox" name="antiflickerEnable">
+ <property name="title">
+ <string>antiflicker</string>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ <layout class="QGridLayout">
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_Winsz">
+ <property name="text">
+ <string>window size</string>
+ </property>
+ <property name="buddy">
+ <cstring>antiflickerWinszSlider</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" colspan="2">
+ <widget class="QLabel" name="label_Sftn">
+ <property name="text">
+ <string>softening</string>
+ </property>
+ <property name="buddy">
+ <cstring>antiflickerSftnSlider</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" colspan="2">
+ <widget class="QSlider" name="antiflickerWinszSlider">
+ <property name="maximum">
+ <number>100</number>
+ </property>
+ <property name="value">
+ <number>10</number>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="tickPosition">
+ <enum>QSlider::TicksBothSides</enum>
+ </property>
+ <property name="tickInterval">
+ <number>5</number>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1" colspan="2">
+ <widget class="QSlider" name="antiflickerSftnSlider">
+ <property name="maximum">
+ <number>30</number>
+ </property>
+ <property name="value">
+ <number>0</number>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="tickPosition">
+ <enum>QSlider::TicksBothSides</enum>
+ </property>
+ <property name="tickInterval">
+ <number>5</number>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+
</widget>
<tabstops>
<tabstop>adjustEnable</tabstop>
@@ -1680,6 +1762,9 @@
<tabstop>eraseMaskText</tabstop>
<tabstop>eraseYSpin</tabstop>
<tabstop>eraseXSpin</tabstop>
+ <tabstop>antiflickerEnable</tabstop>
+ <tabstop>antiflickerWinszSlider</tabstop>
+ <tabstop>antiflickerSftnSlider</tabstop>
</tabstops>
<resources/>
<connections/>
--
1.6.3.3
More information about the vlc-devel
mailing list