mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-10-01 09:16:39 -04:00
ATV Demod: added number of equalizing lines parameter
This commit is contained in:
parent
ca76d695f7
commit
fcd18ba821
@ -643,30 +643,35 @@ void ATVDemod::applyStandard()
|
|||||||
// what is left in a line for the image
|
// what is left in a line for the image
|
||||||
m_intNumberOfSyncLines = 0;
|
m_intNumberOfSyncLines = 0;
|
||||||
m_intNumberOfBlackLines = 0;
|
m_intNumberOfBlackLines = 0;
|
||||||
|
m_intNumberOfEqLines = 0; // not applicable
|
||||||
m_interleaved = false;
|
m_interleaved = false;
|
||||||
break;
|
break;
|
||||||
case ATVStdShort:
|
case ATVStdShort:
|
||||||
// what is left in a line for the image
|
// what is left in a line for the image
|
||||||
m_intNumberOfSyncLines = 4;
|
m_intNumberOfSyncLines = 4;
|
||||||
m_intNumberOfBlackLines = 4;
|
m_intNumberOfBlackLines = 4;
|
||||||
|
m_intNumberOfEqLines = 0;
|
||||||
m_interleaved = false;
|
m_interleaved = false;
|
||||||
break;
|
break;
|
||||||
case ATVStdShortInterleaved:
|
case ATVStdShortInterleaved:
|
||||||
// what is left in a line for the image
|
// what is left in a line for the image
|
||||||
m_intNumberOfSyncLines = 4;
|
m_intNumberOfSyncLines = 4;
|
||||||
m_intNumberOfBlackLines = 4;
|
m_intNumberOfBlackLines = 4;
|
||||||
|
m_intNumberOfEqLines = 0;
|
||||||
m_interleaved = true;
|
m_interleaved = true;
|
||||||
break;
|
break;
|
||||||
case ATVStd405: // Follows loosely the 405 lines standard
|
case ATVStd405: // Follows loosely the 405 lines standard
|
||||||
// what is left in a ine for the image
|
// what is left in a ine for the image
|
||||||
m_intNumberOfSyncLines = 24; // (15+7)*2 - 20
|
m_intNumberOfSyncLines = 24; // (15+7)*2 - 20
|
||||||
m_intNumberOfBlackLines = 28; // above + 4
|
m_intNumberOfBlackLines = 28; // above + 4
|
||||||
|
m_intNumberOfEqLines = 3;
|
||||||
m_interleaved = true;
|
m_interleaved = true;
|
||||||
break;
|
break;
|
||||||
case ATVStdPAL525: // Follows PAL-M standard
|
case ATVStdPAL525: // Follows PAL-M standard
|
||||||
// what is left in a 64/1.008 us line for the image
|
// what is left in a 64/1.008 us line for the image
|
||||||
m_intNumberOfSyncLines = 40; // (15+15)*2 - 20
|
m_intNumberOfSyncLines = 40; // (15+15)*2 - 20
|
||||||
m_intNumberOfBlackLines = 44; // above + 4
|
m_intNumberOfBlackLines = 44; // above + 4
|
||||||
|
m_intNumberOfEqLines = 3;
|
||||||
m_interleaved = true;
|
m_interleaved = true;
|
||||||
break;
|
break;
|
||||||
case ATVStdPAL625: // Follows PAL-B/G/H standard
|
case ATVStdPAL625: // Follows PAL-B/G/H standard
|
||||||
@ -674,6 +679,7 @@ void ATVDemod::applyStandard()
|
|||||||
// what is left in a 64 us line for the image
|
// what is left in a 64 us line for the image
|
||||||
m_intNumberOfSyncLines = 44; // (15+17)*2 - 20
|
m_intNumberOfSyncLines = 44; // (15+17)*2 - 20
|
||||||
m_intNumberOfBlackLines = 48; // above + 4
|
m_intNumberOfBlackLines = 48; // above + 4
|
||||||
|
m_intNumberOfEqLines = 3;
|
||||||
m_interleaved = true;
|
m_interleaved = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -350,6 +350,7 @@ private:
|
|||||||
int m_intNumberOfLines;
|
int m_intNumberOfLines;
|
||||||
int m_intNumberOfSyncLines; //!< this is the number of non displayable lines at the start of a frame. First displayable row comes next.
|
int m_intNumberOfSyncLines; //!< this is the number of non displayable lines at the start of a frame. First displayable row comes next.
|
||||||
int m_intNumberOfBlackLines; //!< this is the total number of lines not part of the image and is used for vertical screen size
|
int m_intNumberOfBlackLines; //!< this is the total number of lines not part of the image and is used for vertical screen size
|
||||||
|
int m_intNumberOfEqLines; //!< number of equalizing lines both whole and partial
|
||||||
int m_intNumberSamplePerLineSignals; //!< number of samples in the non image part of the line (signals)
|
int m_intNumberSamplePerLineSignals; //!< number of samples in the non image part of the line (signals)
|
||||||
int m_intNumberSaplesPerHSync; //!< number of samples per horizontal synchronization pattern (pulse + back porch)
|
int m_intNumberSaplesPerHSync; //!< number of samples per horizontal synchronization pattern (pulse + back porch)
|
||||||
bool m_interleaved; //!< interleaved image
|
bool m_interleaved; //!< interleaved image
|
||||||
|
Loading…
Reference in New Issue
Block a user