Skip to content

Commit

Permalink
Merge pull request #464 from Gamnn/patch-1
Browse files Browse the repository at this point in the history
crack at #462
  • Loading branch information
happycube authored Feb 17, 2020
2 parents 5286058 + 5f2eb48 commit 48a88a1
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 48a88a1

Please sign in to comment.