Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lddecode/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def calclinelen(SP, mult, mhz):
'audio_rfreq': (1000000*315/88/227.5) * 178.75,

'colorBurstUS': (5.3, 7.8),
'activeVideoUS': (9.45, 63.555-1.5),
'activeVideoUS': (9.45, 63.555-1.0),

# In NTSC framing, the distances between the first/last eq pulses and the
# corresponding next lines are different.
Expand All @@ -90,7 +90,7 @@ def calclinelen(SP, mult, mhz):
# In color NTSC, the line period was changed from 63.5 to 227.5 color cycles,
# which works out to 63.555(with a bar on top) usec
SysParams_NTSC['line_period'] = 1/(SysParams_NTSC['fsc_mhz']/227.5)
SysParams_NTSC['activeVideoUS'] = (9.45, SysParams_NTSC['line_period'] - 1.5)
SysParams_NTSC['activeVideoUS'] = (9.45, SysParams_NTSC['line_period'] - 1.0)

SysParams_NTSC['FPS'] = 1000000/ (525 * SysParams_NTSC['line_period'])

Expand Down