forked from petersimonsson/libqatemcontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qupstreamkeysettings.h
140 lines (130 loc) · 3.93 KB
/
qupstreamkeysettings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/*
Copyright 2012 Peter Simonsson <peter.simonsson@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef QUPSTREAMKEYSETTINGS_H
#define QUPSTREAMKEYSETTINGS_H
#include "qatemtypes.h"
#include "libqatemcontrol_global.h"
#include <QColor>
struct LIBQATEMCONTROLSHARED_EXPORT QUpstreamKeySettings
{
QUpstreamKeySettings(quint8 id) : m_id (id)
{
m_onAir = false;
m_type = 0;
m_fillSource = 0;
m_keySource = 0;
m_enableMask = false;
m_topMask = 0;
m_bottomMask = 0;
m_leftMask = 0;
m_rightMask = 0;
m_lumaPreMultipliedKey = false;
m_lumaInvertKey = false;
m_lumaClip = 0;
m_lumaGain = 0;
m_chromaHue = 0;
m_chromaGain = 0;
m_chromaYSuppress = 0;
m_chromaLift = 0;
m_chromaNarrowRange = false;
m_patternPattern = 0;
m_patternInvertPattern = false;
m_patternSize = 0;
m_patternSymmetry = 0;
m_patternSoftness = 0;
m_patternXPosition = 0;
m_patternYPosition = 0;
m_dveXPosition = 0;
m_dveYPosition = 0;
m_dveXSize = 0;
m_dveYSize = 0;
m_dveRotation = 0;
m_dveEnableDropShadow = false;
m_dveLightSourceDirection = 0;
m_dveLightSourceAltitude = 0;
m_dveEnableBorder = false;
m_dveBorderStyle = 0;
m_dveBorderOutsideWidth = 0;
m_dveBorderInsideWidth = 0;
m_dveBorderOutsideSoften = 0;
m_dveBorderInsideSoften = 0;
m_dveBorderOpacity = 0;
m_dveBorderBevelPosition = 0;
m_dveBorderBevelSoften = 0;
m_dveRate = 0;
m_dveKeyFrameASet = 0;
m_dveKeyFrameBSet = 0;
m_dveMaskEnabled = false;
m_dveMaskTop = 0;
m_dveMaskBottom = 0;
m_dveMaskLeft = 0;
m_dveMaskRight = 0;
m_enableFly = false;
}
quint8 m_id;
bool m_onAir;
quint8 m_type;
quint16 m_fillSource;
quint16 m_keySource;
bool m_enableMask;
float m_topMask;
float m_bottomMask;
float m_leftMask;
float m_rightMask;
bool m_lumaPreMultipliedKey;
bool m_lumaInvertKey;
float m_lumaClip;
float m_lumaGain;
float m_chromaHue;
float m_chromaGain;
float m_chromaYSuppress;
float m_chromaLift;
bool m_chromaNarrowRange;
quint8 m_patternPattern;
bool m_patternInvertPattern;
float m_patternSize;
float m_patternSymmetry;
float m_patternSoftness;
float m_patternXPosition;
float m_patternYPosition;
float m_dveXPosition;
float m_dveYPosition;
float m_dveXSize;
float m_dveYSize;
float m_dveRotation;
bool m_dveEnableDropShadow;
float m_dveLightSourceDirection;
quint8 m_dveLightSourceAltitude;
bool m_dveEnableBorder;
quint8 m_dveBorderStyle;
QColor m_dveBorderColor;
float m_dveBorderOutsideWidth;
float m_dveBorderInsideWidth;
quint8 m_dveBorderOutsideSoften;
quint8 m_dveBorderInsideSoften;
quint8 m_dveBorderOpacity;
float m_dveBorderBevelPosition;
float m_dveBorderBevelSoften;
quint8 m_dveRate;
bool m_dveKeyFrameASet;
bool m_dveKeyFrameBSet;
bool m_dveMaskEnabled;
float m_dveMaskTop;
float m_dveMaskBottom;
float m_dveMaskLeft;
float m_dveMaskRight;
bool m_enableFly;
QAtem::DveKeyFrame m_keyFrames[2];
};
#endif // QUPSTREAMKEYSETTINGS_H