205 int fpsi = roundf(fps);
209 }
else if (fps <= 2) {
211 }
else if (fps <= 5) {
213 }
else if (fps <= 8) {
215 }
else if (fps <= 10) {
217 }
else if (fps <= 12) {
219 }
else if (fps <= 16) {
221 }
else if (fps <= 20) {
223 }
else if (fps <= 25) {
281 }
else if (nbLines <= 60) {
283 }
else if (nbLines <= 90) {
285 }
else if (nbLines <= 120) {
287 }
else if (nbLines <= 180) {
289 }
else if (nbLines <= 240) {
291 }
else if (nbLines <= 343) {
293 }
else if (nbLines <= 360) {
295 }
else if (nbLines <= 405) {
297 }
else if (nbLines <= 480) {
299 }
else if (nbLines <= 525) {
301 }
else if (nbLines <= 625) {
310 float fps =
getFps(fpsIndex);
313 return 1.0f / (nbLines * fps);
322 int lineTimeScaleFactor = (int) std::log10(nominalLineTime);
347 int topTimeScaleFactor = (int) std::log10(nominalTopTime);
392 int scaleFactor = (int) std::log10(sampleRate/2);
393 return std::pow(10.0, scaleFactor-1);
static int getFpsIndex(float fps)
ATVModulation m_enmModulation
bool m_blndecimatorEnable
void writeBlob(quint32 id, const QByteArray &value)
static int getNumberOfLinesIndex(int nbLines)
float m_fltVoltLevelSynchroTop
bool readBool(quint32 id, bool *result, bool def=false) const
void convertFromUIValues()
static float getFps(int fpsIndex)
bool deserialize(const QByteArray &data)
int m_topTimeFactor
added: +/- 30 something
QByteArray serialize() const
float m_fltRatioOfRowsToDisplay
bool readS32(quint32 id, qint32 *result, qint32 def=0) const
int getEffectiveSampleRate()
int m_lineTimeFactor
added: +/- 100 something
Classical frequency modulation with discriminator #1.
int m_intNumberSamplePerLine
int m_fpsIndex
added: FPS list index
float m_fltVoltLevelSynchroBlack
void writeS32(quint32 id, qint32 value)
quint32 getVersion() const
bool m_halfImage
added: true => m_fltRatioOfRowsToDisplay = 0.5, false => m_fltRatioOfRowsToDisplay = 1...
int m_nbLinesIndex
added: #lines list index
static int getNumberOfLines(int nbLinesIndex)
void writeU32(quint32 id, quint32 value)
float m_fltTopTimeMultiplier
int m_RFBandwidthFactor
added: [1:100]
static float getNominalLineTime(int nbLinesIndex, int fpsIndex)
virtual QByteArray serialize() const =0
float m_fltLineTimeMultiplier
void writeBool(quint32 id, bool value)
float m_fltRFOppBandwidth
void writeString(quint32 id, const QString &value)
Serializable * m_channelMarker
int m_OppBandwidthFactor
added: [0:100]
const QByteArray & final()