AM Modulator: new shortest possible vertical sync compatible with ATV demod

pull/27/head
f4exb 2017-04-02 22:32:08 +02:00
rodzic 25cfa9041e
commit c2d9de1926
4 zmienionych plików z 23 dodań i 2 usunięć

Wyświetl plik

@ -826,6 +826,21 @@ void ATVMod::applyStandard()
switch(m_config.m_atvStd)
{
case ATVStdShortInterleaved: // Follows loosely the 405 lines standard
// what is left in a 64 us line for the image
m_nbImageLines = m_nbLines - 2; // lines less the total number of sync lines
m_nbImageLines2 = m_nbImageLines / 2;
m_interleaved = true;
m_nbSyncLinesHeadE = 1; // number of sync lines on the top of a frame even
m_nbSyncLinesHeadO = 1; // number of sync lines on the top of a frame odd
m_nbSyncLinesBottom = 0;
m_nbLongSyncLines = 1;
m_nbHalfLongSync = 0;
m_nbWholeEqLines = 0;
m_singleLongSync = true;
m_nbBlankLines = 1;
m_blankLineLvel = 0.7f;
break;
case ATVStd405: // Follows loosely the 405 lines standard
// what is left in a 64 us line for the image
m_nbImageLines = m_nbLines - 15; // lines less the total number of sync lines

Wyświetl plik

@ -42,7 +42,8 @@ public:
{
ATVStdPAL625,
ATVStdPAL525,
ATVStd405
ATVStd405,
ATVStdShortInterleaved
} ATVStd;
typedef enum

Wyświetl plik

@ -629,6 +629,11 @@
<string>405L</string>
</property>
</item>
<item>
<property name="text">
<string>SHi</string>
</property>
</item>
</widget>
</item>
<item>

Wyświetl plik

@ -23,7 +23,7 @@
const PluginDescriptor ATVModPlugin::m_pluginDescriptor = {
QString("ATV Modulator"),
QString("3.3.2"),
QString("3.3.3"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,