Skip to content

Commit

Permalink
back out rfparams_pal change for now
Browse files Browse the repository at this point in the history
  • Loading branch information
happycube committed Oct 29, 2018
1 parent 8fff611 commit c0bbadc
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion lddecode_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ def calclinelen(SP, mult, mhz):
'video_lpf_order': 5 # butterworth filter order
}

RFParams_PAL = {
# might not work right
RFParams_PAL2 = {
# The audio notch filters are important with DD v3.0+ boards
'audio_notchwidth': 200000,
'audio_notchorder': 2,
Expand All @@ -116,6 +117,38 @@ def calclinelen(SP, mult, mhz):
'video_lpf_order': 9,
}

RFParams_PAL = {
# The audio notch filters are important with DD v3.0+ boards
'audio_notchwidth': 200000,
'audio_notchorder': 2,

'video_deemp': (100*.34, 400*.34),

# XXX: guessing here!
'video_bpf': (2500000, 12500000),
'video_bpf_order': 1,

'video_lpf_freq': 4800000,
'video_lpf_order': 9,
}


RFParams_PAL2 = {
# The audio notch filters are important with DD v3.0+ boards
'audio_notchwidth': 200000,
'audio_notchorder': 2,

'video_deemp': (100*.32, 400*.32),

# XXX: guessing here!
'video_bpf': (2500000, 13500000),
'video_bpf_order': 3,

'video_lpf_freq': 4800000,
'video_lpf_order': 9,
}


class RFDecode:
def __init__(self, inputfreq = 40, system = 'NTSC', blocklen_ = 16384, decode_analog_audio = True, have_analog_audio = True, mtf_mult = 1.0, mtf_offset = 0):
self.blocklen = blocklen_
Expand Down

0 comments on commit c0bbadc

Please sign in to comment.