1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-17 23:28:50 -05:00

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

This commit is contained in:
f4exb 2017-04-02 22:32:08 +02:00
parent 25cfa9041e
commit c2d9de1926
4 changed files with 23 additions and 2 deletions

View File

@ -826,6 +826,21 @@ void ATVMod::applyStandard()
switch(m_config.m_atvStd) 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 case ATVStd405: // Follows loosely the 405 lines standard
// what is left in a 64 us line for the image // what is left in a 64 us line for the image
m_nbImageLines = m_nbLines - 15; // lines less the total number of sync lines m_nbImageLines = m_nbLines - 15; // lines less the total number of sync lines

View File

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

View File

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

View File

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