mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-08-15 20:22:26 -04:00
ATV Modulator: fixed some vertical sync parameters
This commit is contained in:
parent
8ae95f2e85
commit
96078bc9b8
@ -587,10 +587,11 @@ void ATVModSource::applyStandard(const ATVModSettings& settings)
|
|||||||
m_blankLineLvel = 0.7f;
|
m_blankLineLvel = 0.7f;
|
||||||
break;
|
break;
|
||||||
case ATVModSettings::ATVStd405: // Follows loosely the 405 lines standard
|
case ATVModSettings::ATVStd405: // Follows loosely the 405 lines standard
|
||||||
m_nbImageLines = m_nbLines - 15; // lines less the total number of sync lines
|
m_nbImageLines = m_nbLines - 14; // lines less the total number of sync lines
|
||||||
|
// 14 = m_nbSyncLinesHeadE + m_nbSyncLinesHeadO + m_nbSyncLinesBottom + m_nbHalfLongSync + m_nbWholeEqLines
|
||||||
m_nbImageLines2 = m_nbImageLines / 2;
|
m_nbImageLines2 = m_nbImageLines / 2;
|
||||||
m_interlaced = true;
|
m_interlaced = true;
|
||||||
m_nbSyncLinesHeadE = 5; // number of sync lines on the top of a frame even
|
m_nbSyncLinesHeadE = 4; // number of sync lines on the top of a frame even
|
||||||
m_nbSyncLinesHeadO = 4; // number of sync lines on the top of a frame odd
|
m_nbSyncLinesHeadO = 4; // number of sync lines on the top of a frame odd
|
||||||
m_nbSyncLinesBottom = 3;
|
m_nbSyncLinesBottom = 3;
|
||||||
m_nbLongSyncLines = 2;
|
m_nbLongSyncLines = 2;
|
||||||
@ -601,10 +602,10 @@ void ATVModSource::applyStandard(const ATVModSettings& settings)
|
|||||||
m_blankLineLvel = m_blackLevel;
|
m_blankLineLvel = m_blackLevel;
|
||||||
break;
|
break;
|
||||||
case ATVModSettings::ATVStdPAL525: // Follows PAL-M standard
|
case ATVModSettings::ATVStdPAL525: // Follows PAL-M standard
|
||||||
m_nbImageLines = m_nbLines - 15;
|
m_nbImageLines = m_nbLines - 14;
|
||||||
m_nbImageLines2 = m_nbImageLines / 2;
|
m_nbImageLines2 = m_nbImageLines / 2;
|
||||||
m_interlaced = true;
|
m_interlaced = true;
|
||||||
m_nbSyncLinesHeadE = 5;
|
m_nbSyncLinesHeadE = 4;
|
||||||
m_nbSyncLinesHeadO = 4; // number of sync lines on the top of a frame odd
|
m_nbSyncLinesHeadO = 4; // number of sync lines on the top of a frame odd
|
||||||
m_nbSyncLinesBottom = 3;
|
m_nbSyncLinesBottom = 3;
|
||||||
m_nbLongSyncLines = 2;
|
m_nbLongSyncLines = 2;
|
||||||
@ -616,10 +617,10 @@ void ATVModSource::applyStandard(const ATVModSettings& settings)
|
|||||||
break;
|
break;
|
||||||
case ATVModSettings::ATVStdPAL625: // Follows PAL-B/G/H standard
|
case ATVModSettings::ATVStdPAL625: // Follows PAL-B/G/H standard
|
||||||
default:
|
default:
|
||||||
m_nbImageLines = m_nbLines - 15;
|
m_nbImageLines = m_nbLines - 14;
|
||||||
m_nbImageLines2 = m_nbImageLines / 2;
|
m_nbImageLines2 = m_nbImageLines / 2;
|
||||||
m_interlaced = true;
|
m_interlaced = true;
|
||||||
m_nbSyncLinesHeadE = 5;
|
m_nbSyncLinesHeadE = 4;
|
||||||
m_nbSyncLinesHeadO = 4; // number of sync lines on the top of a frame odd
|
m_nbSyncLinesHeadO = 4; // number of sync lines on the top of a frame odd
|
||||||
m_nbSyncLinesBottom = 3;
|
m_nbSyncLinesBottom = 3;
|
||||||
m_nbLongSyncLines = 2;
|
m_nbLongSyncLines = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user