Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
7ef858fe
Commit
7ef858fe
authored
Nov 01, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: video filters
Add grain in first page, move away blur Renaming gradfun Tab reorder
parent
96ea9d8f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
154 additions
and
102 deletions
+154
-102
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+3
-0
modules/gui/qt4/ui/video_effects.ui
modules/gui/qt4/ui/video_effects.ui
+151
-102
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
7ef858fe
...
...
@@ -215,6 +215,9 @@ ExtVideo::ExtVideo( intf_thread_t *_p_intf, QTabWidget *_parent ) :
SETUP_VFILTER
(
gradfun
)
SETUP_VFILTER_OPTION
(
gradfunRadiusSlider
,
valueChanged
(
int
)
)
SETUP_VFILTER
(
grain
)
SETUP_VFILTER_OPTION
(
grainVarianceSlider
,
valueChanged
(
int
)
)
if
(
module_exists
(
"atmo"
)
)
{
SETUP_VFILTER
(
atmo
)
...
...
modules/gui/qt4/ui/video_effects.ui
View file @
7ef858fe
...
...
@@ -7,7 +7,7 @@
<x>
0
</x>
<y>
0
</y>
<width>
542
</width>
<height>
2
7
6
</height>
<height>
2
8
6
</height>
</rect>
</property>
<property
name=
"currentIndex"
>
...
...
@@ -17,7 +17,7 @@
<attribute
name=
"title"
>
<string>
Basic
</string>
</attribute>
<layout
class=
"QGridLayout"
name=
"gridLayout_
4
"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_
8
"
>
<item
row=
"0"
column=
"0"
rowspan=
"3"
>
<widget
class=
"QGroupBox"
name=
"adjustEnable"
>
<property
name=
"enabled"
>
...
...
@@ -218,9 +218,9 @@
</widget>
</item>
<item
row=
"1"
column=
"1"
>
<widget
class=
"QGroupBox"
name=
"
motionblur
Enable"
>
<widget
class=
"QGroupBox"
name=
"
gradfun
Enable"
>
<property
name=
"title"
>
<string>
Motion blur
</string>
<string>
Banding removal
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
...
...
@@ -228,27 +228,27 @@
<property
name=
"checked"
>
<bool>
false
</bool>
</property>
<layout
class=
"QGridLayout"
name=
"
_3
"
>
<layout
class=
"QGridLayout"
name=
"
gridLayout_2
"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_3
4
"
>
<widget
class=
"QLabel"
name=
"label_3
2
"
>
<property
name=
"text"
>
<string>
Factor
</string>
<string>
Radius
</string>
</property>
<property
name=
"buddy"
>
<cstring>
blurFactor
Slider
</cstring>
<cstring>
gradfunRadius
Slider
</cstring>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QSlider"
name=
"
blurFactor
Slider"
>
<widget
class=
"QSlider"
name=
"
gradfunRadius
Slider"
>
<property
name=
"minimum"
>
<number>
1
</number>
<number>
4
</number>
</property>
<property
name=
"maximum"
>
<number>
127
</number>
<number>
32
</number>
</property>
<property
name=
"
value
"
>
<number>
80
</number>
<property
name=
"
pageStep
"
>
<number>
4
</number>
</property>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
...
...
@@ -257,7 +257,7 @@
<enum>
QSlider::TicksBelow
</enum>
</property>
<property
name=
"tickInterval"
>
<number>
16
</number>
<number>
4
</number>
</property>
</widget>
</item>
...
...
@@ -265,9 +265,9 @@
</widget>
</item>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QGroupBox"
name=
"gra
dfu
nEnable"
>
<widget
class=
"QGroupBox"
name=
"gra
i
nEnable"
>
<property
name=
"title"
>
<string>
Gradient
</string>
<string>
Film Grain
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
...
...
@@ -275,24 +275,24 @@
<property
name=
"checked"
>
<bool>
false
</bool>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout_
2
"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_
4
"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_
32
"
>
<widget
class=
"QLabel"
name=
"label_
50
"
>
<property
name=
"text"
>
<string>
Radius
</string>
<string>
Variance
</string>
</property>
<property
name=
"buddy"
>
<cstring>
gra
dfunRadius
Slider
</cstring>
<cstring>
gra
inVariance
Slider
</cstring>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QSlider"
name=
"gra
dfunRadius
Slider"
>
<widget
class=
"QSlider"
name=
"gra
inVariance
Slider"
>
<property
name=
"minimum"
>
<number>
4
</number>
<number>
0
</number>
</property>
<property
name=
"maximum"
>
<number>
32
</number>
<number>
40
</number>
</property>
<property
name=
"pageStep"
>
<number>
4
</number>
...
...
@@ -436,9 +436,9 @@
</attribute>
<layout
class=
"QGridLayout"
name=
"gridLayout_5"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QGroupBox"
name=
"
transform
Enable"
>
<widget
class=
"QGroupBox"
name=
"
rotate
Enable"
>
<property
name=
"title"
>
<string>
Transform
</string>
<string>
Rotate
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
...
...
@@ -446,33 +446,18 @@
<property
name=
"checked"
>
<bool>
false
</bool>
</property>
<layout
class=
"QGridLayout"
name=
"_4"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QComboBox"
name=
"transformTypeCombo"
/>
</item>
</layout>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QCheckBox"
name=
"magnifyEnable"
>
<layout
class=
"QGridLayout"
>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_28"
>
<property
name=
"text"
>
<string>
Magnification/Zoom
</string>
<string>
Angle
</string>
</property>
<property
name=
"buddy"
>
<cstring>
rotateAngleDial
</cstring>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QGroupBox"
name=
"rotateEnable"
>
<property
name=
"title"
>
<string>
Rotate
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
</property>
<property
name=
"checked"
>
<bool>
false
</bool>
</property>
<layout
class=
"QGridLayout"
>
<item
row=
"0"
column=
"1"
>
<item
row=
"1"
column=
"1"
>
<widget
class=
"QDial"
name=
"rotateAngleDial"
>
<property
name=
"maximum"
>
<number>
359
</number>
...
...
@@ -485,20 +470,28 @@
</property>
</widget>
</item>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_28"
>
<property
name=
"text"
>
<string>
Angle
</string>
</layout>
</widget>
</item>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QGroupBox"
name=
"transformEnable"
>
<property
name=
"title"
>
<string>
Transform
</string>
</property>
<property
name=
"buddy
"
>
<cstring>
rotateAngleDial
</cstring
>
<property
name=
"checkable
"
>
<bool>
true
</bool
>
</property>
</widget>
<property
name=
"checked"
>
<bool>
false
</bool>
</property>
<layout
class=
"QGridLayout"
name=
"_4"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QComboBox"
name=
"transformTypeCombo"
/>
</item>
</layout>
</widget>
</item>
<item
row=
"
1
"
column=
"1"
>
<item
row=
"
0
"
column=
"1"
>
<widget
class=
"QGroupBox"
name=
"puzzleEnable"
>
<property
name=
"title"
>
<string>
Puzzle game
</string>
...
...
@@ -566,6 +559,13 @@
</layout>
</widget>
</item>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QCheckBox"
name=
"magnifyEnable"
>
<property
name=
"text"
>
<string>
Magnification/Zoom
</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget
class=
"QWidget"
name=
"tab_2"
>
...
...
@@ -573,7 +573,7 @@
<string>
Color
</string>
</attribute>
<layout
class=
"QGridLayout"
name=
"gridLayout_7"
>
<item
row=
"0"
column=
"0"
>
<item
row=
"0"
column=
"0"
rowspan=
"2"
>
<widget
class=
"QGroupBox"
name=
"colorthresEnable"
>
<property
name=
"title"
>
<string>
Color threshold
</string>
...
...
@@ -639,7 +639,7 @@
</layout>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<item
row=
"0"
column=
"1"
rowspan=
"2"
colspan=
"2"
>
<widget
class=
"QGroupBox"
name=
"gradientEnable"
>
<property
name=
"title"
>
<string>
Gradient
</string>
...
...
@@ -678,10 +678,10 @@
</layout>
</widget>
</item>
<item
row=
"
1"
column=
"0"
rowspan=
"5
"
>
<widget
class=
"QGroupBox"
name=
"
extract
Enable"
>
<item
row=
"
0"
column=
"3
"
>
<widget
class=
"QGroupBox"
name=
"
posterize
Enable"
>
<property
name=
"title"
>
<string>
Color extraction
</string>
<string>
Posterize
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
...
...
@@ -689,28 +689,34 @@
<property
name=
"checked"
>
<bool>
false
</bool>
</property>
<layout
class=
"QGridLayout"
>
<layout
class=
"QGridLayout"
name=
"gridLayout_3"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_
6
"
>
<widget
class=
"QLabel"
name=
"label_
33
"
>
<property
name=
"text"
>
<string>
Color
</string>
<string>
Posterize level
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"extractComponentText"
>
<property
name=
"inputMask"
>
<string>
>
HHHHHH;#
</string>
<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>
<item
row=
"
0"
column=
"2
"
>
<widget
class=
"QGroupBox"
name=
"
posterize
Enable"
>
<item
row=
"
1"
column=
"3"
rowspan=
"3
"
>
<widget
class=
"QGroupBox"
name=
"
motionblur
Enable"
>
<property
name=
"title"
>
<string>
Posterize
</string>
<string>
Motion blur
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
...
...
@@ -718,69 +724,110 @@
<property
name=
"checked"
>
<bool>
false
</bool>
</property>
<layout
class=
"QGridLayout"
name=
"
gridLayout
_3"
>
<layout
class=
"QGridLayout"
name=
"_3"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_3
3
"
>
<widget
class=
"QLabel"
name=
"label_3
4
"
>
<property
name=
"text"
>
<string>
Posterize level
</string>
<string>
Factor
</string>
</property>
<property
name=
"buddy"
>
<cstring>
blurFactorSlider
</cstring>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QS
pinBox"
name=
"posterizeLevelSpin
"
>
<widget
class=
"QS
lider"
name=
"blurFactorSlider
"
>
<property
name=
"minimum"
>
<number>
2
</number>
<number>
1
</number>
</property>
<property
name=
"maximum"
>
<number>
256
</number>
<number>
127
</number>
</property>
<property
name=
"value"
>
<number>
3
</number>
<number>
80
</number>
</property>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"tickPosition"
>
<enum>
QSlider::TicksBelow
</enum>
</property>
<property
name=
"tickInterval"
>
<number>
16
</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item
row=
"1"
column=
"1"
>
<item
row=
"2"
column=
"0"
rowspan=
"6"
>
<widget
class=
"QGroupBox"
name=
"extractEnable"
>
<property
name=
"title"
>
<string>
Color extraction
</string>
</property>
<property
name=
"checkable"
>
<bool>
true
</bool>
</property>
<property
name=
"checked"
>
<bool>
false
</bool>
</property>
<layout
class=
"QGridLayout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_6"
>
<property
name=
"text"
>
<string>
Color
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"extractComponentText"
>
<property
name=
"inputMask"
>
<string>
>
HHHHHH;#
</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QCheckBox"
name=
"invertEnable"
>
<property
name=
"text"
>
<string>
Invert colors
</string>
</property>
</widget>
</item>
<item
row=
"
2"
column=
"2
"
>
<item
row=
"
4"
column=
"3
"
>
<widget
class=
"QCheckBox"
name=
"rippleEnable"
>
<property
name=
"text"
>
<string>
Water effect
</string>
</property>
</widget>
</item>
<item
row=
"
2"
column=
"1
"
>
<widget
class=
"QCheckBox"
name=
"
motiondetect
Enable"
>
<item
row=
"
5"
column=
"3
"
>
<widget
class=
"QCheckBox"
name=
"
wave
Enable"
>
<property
name=
"text"
>
<string>
Motion detect
</string>
<string>
Waves
</string>
</property>
</widget>
</item>
<item
row=
"
1"
column=
"2
"
>
<widget
class=
"QCheckBox"
name=
"
wave
Enable"
>
<item
row=
"
5"
column=
"1
"
>
<widget
class=
"QCheckBox"
name=
"
psychedelic
Enable"
>
<property
name=
"text"
>
<string>
Waves
</string>
<string>
Psychedelic
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"1"
>
<widget
class=
"QCheckBox"
name=
"
noise
Enable"
>
<widget
class=
"QCheckBox"
name=
"
motiondetect
Enable"
>
<property
name=
"text"
>
<string>
Noise
</string>
<string>
Motion detect
</string>
</property>
</widget>
</item>
<item
row=
"
3"
column=
"2
"
>
<widget
class=
"QCheckBox"
name=
"
psychedelic
Enable"
>
<item
row=
"
4"
column=
"1
"
>
<widget
class=
"QCheckBox"
name=
"
noise
Enable"
>
<property
name=
"text"
>
<string>
Psychedelic
</string>
<string>
Noise
</string>
</property>
</widget>
</item>
...
...
@@ -1527,27 +1574,28 @@
<tabstop>
gammaSlider
</tabstop>
<tabstop>
sharpenEnable
</tabstop>
<tabstop>
sharpenSigmaSlider
</tabstop>
<tabstop>
motionblurEnable
</tabstop>
<tabstop>
blurFactorSlider
</tabstop>
<tabstop>
gradfunEnable
</tabstop>
<tabstop>
gradfunRadiusSlider
</tabstop>
<tabstop>
grainEnable
</tabstop>
<tabstop>
grainVarianceSlider
</tabstop>
<tabstop>
cropTopPx
</tabstop>
<tabstop>
cropLeftPx
</tabstop>
<tabstop>
cropRightPx
</tabstop>
<tabstop>
cropBotPx
</tabstop>
<tabstop>
topBotCropSync
</tabstop>
<tabstop>
leftRightCropSync
</tabstop>
<tabstop>
transformEnable
</tabstop>
<tabstop>
transformTypeCombo
</tabstop>
<tabstop>
rotateEnable
</tabstop>
<tabstop>
rotateAngleDial
</tabstop>
<tabstop>
magnifyEnable
</tabstop>
<tabstop>
transformEnable
</tabstop>
<tabstop>
transformTypeCombo
</tabstop>
<tabstop>
puzzleEnable
</tabstop>
<tabstop>
puzzleRowsSpin
</tabstop>
<tabstop>
puzzleColsSpin
</tabstop>
<tabstop>
puzzleBlackSlotCheck
</tabstop>
<tabstop>
magnifyEnable
</tabstop>
<tabstop>
colorthresEnable
</tabstop>
<tabstop>
colorthresColorText
</tabstop>
<tabstop>
eraseXSpin
</tabstop>
<tabstop>
colorthresSaturationthresSlider
</tabstop>
<tabstop>
colorthresSimilaritythresSlider
</tabstop>
<tabstop>
extractEnable
</tabstop>
...
...
@@ -1559,20 +1607,22 @@
<tabstop>
invertEnable
</tabstop>
<tabstop>
motiondetectEnable
</tabstop>
<tabstop>
noiseEnable
</tabstop>
<tabstop>
psychedelicEnable
</tabstop>
<tabstop>
posterizeEnable
</tabstop>
<tabstop>
posterizeLevelSpin
</tabstop>
<tabstop>
waveEnable
</tabstop>
<tabstop>
motionblurEnable
</tabstop>
<tabstop>
blurFactorSlider
</tabstop>
<tabstop>
rippleEnable
</tabstop>
<tabstop>
psychedelic
Enable
</tabstop>
<tabstop>
wave
Enable
</tabstop>
<tabstop>
atmoEnable
</tabstop>
<tabstop>
atmoEdgeweightningSlider
</tabstop>
<tabstop>
atmoBrightnessSlider
</tabstop>
<tabstop>
atmoDarknesslimitSlider
</tabstop>
<tabstop>
atmoFiltermodeCombo
</tabstop>
<tabstop>
atmoShowdotsCheck
</tabstop>
<tabstop>
atmoMeanlengthSlider
</tabstop>
<tabstop>
atmoMeanthresholdSlider
</tabstop>
<tabstop>
atmoPercentnewSlider
</tabstop>
<tabstop>
atmoFiltermodeCombo
</tabstop>
<tabstop>
atmoShowdotsCheck
</tabstop>
<tabstop>
wallEnable
</tabstop>
<tabstop>
wallRowsSpin
</tabstop>
<tabstop>
wallColsSpin
</tabstop>
...
...
@@ -1592,7 +1642,6 @@
<tabstop>
eraseEnable
</tabstop>
<tabstop>
eraseMaskText
</tabstop>
<tabstop>
eraseYSpin
</tabstop>
<tabstop>
eraseXSpin
</tabstop>
</tabstops>
<resources/>
<connections/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment