SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
atvmodsettings.h
Go to the documentation of this file.
1 // Copyright (C) 2017 Edouard Griffiths, F4EXB //
3 // //
4 // This program is free software; you can redistribute it and/or modify //
5 // it under the terms of the GNU General Public License as published by //
6 // the Free Software Foundation as version 3 of the License, or //
7 // (at your option) any later version. //
8 // //
9 // This program is distributed in the hope that it will be useful, //
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
12 // GNU General Public License V3 for more details. //
13 // //
14 // You should have received a copy of the GNU General Public License //
15 // along with this program. If not, see <http://www.gnu.org/licenses/>. //
17 
18 #ifndef PLUGINS_CHANNELTX_MODATV_ATVMODSETTINGS_H_
19 #define PLUGINS_CHANNELTX_MODATV_ATVMODSETTINGS_H_
20 
21 #include <QByteArray>
22 #include <QString>
23 #include <stdint.h>
24 
25 class Serializable;
26 
28 {
29  typedef enum
30  {
37  } ATVStd;
38 
39  typedef enum
40  {
50  } ATVModInput;
51 
52  typedef enum
53  {
60  } ATVModulation;
61 
65  ATVStd m_atvStd;
66  int m_nbLines;
67  int m_fps;
68  ATVModInput m_atvModInput;
70  ATVModulation m_atvModulation;
72  bool m_videoPlay;
73  bool m_cameraPlay;
77  float m_fmExcursion;
80  QString m_overlayText;
81  quint32 m_rgbColor;
82  QString m_title;
88 
90 
92  void resetToDefaults();
93  void setChannelMarker(Serializable *channelMarker) { m_channelMarker = channelMarker; }
94  QByteArray serialize() const;
95  bool deserialize(const QByteArray& data);
96 };
97 
98 #endif /* PLUGINS_CHANNELTX_MODATV_ATVMODSETTINGS_H_ */
float m_rfScalingFactor
Scaling factor from +/-1 to +/-2^15.
ATVModulation m_atvModulation
RF modulation type.
uint16_t m_reverseAPIDeviceIndex
int m_nbLines
Number of lines per full frame.
QByteArray serialize() const
quint32 m_rgbColor
qint64 m_inputFrequencyOffset
offset from baseband center frequency
QString m_overlayText
bool m_channelMute
Mute channel baseband output.
bool m_forceDecimator
Forces decimator even when channel and source sample rates are equal.
unsigned short uint16_t
Definition: rtptypes_win.h:44
int m_fps
Number of frames per second.
uint16_t m_reverseAPIChannelIndex
QString m_reverseAPIAddress
float m_fmExcursion
FM excursion factor relative to full bandwidth.
bool m_showOverlayText
Show overlay text on image.
bool m_invertedVideo
True if video signal is inverted before modulation.
ATVStd m_atvStd
Standard.
ATVModInput m_atvModInput
Input source type.
bool m_videoPlay
True to play video and false to pause.
bool m_cameraPlay
True to play camera video and false to pause.
Real m_uniformLevel
Percentage between black and white for uniform screen display.
Serializable * m_channelMarker
Real m_rfBandwidth
Bandwidth of modulated signal or direct sideband for SSB / vestigial SSB.
uint16_t m_reverseAPIPort
Real m_rfOppBandwidth
Bandwidth of opposite sideband for vestigial SSB.
float Real
Definition: dsptypes.h:42
void setChannelMarker(Serializable *channelMarker)
bool deserialize(const QByteArray &data)
bool m_videoPlayLoop
Play video in a loop.