Skip to content

Commit

Permalink
tweak u-matic a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindln committed Feb 1, 2024
1 parent a0cd705 commit 5367b49
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions vhsdecode/format_defs/umatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ def get_rfparams_pal_umatic(RFParams_PAL):
RFParams_PAL_UMATIC = {**RFParams_PAL}
# UMATIC section
# These need tweaking.
RFParams_PAL_UMATIC["video_bpf_low"] = 2500000
RFParams_PAL_UMATIC["video_bpf_high"] = 6700000
RFParams_PAL_UMATIC["video_bpf_low"] = 1400000
RFParams_PAL_UMATIC["video_bpf_high"] = 7000000
RFParams_PAL_UMATIC["video_bpf_order"] = 1
RFParams_PAL_UMATIC["video_lpf_extra"] = 6900000
RFParams_PAL_UMATIC["video_lpf_extra_order"] = 3
RFParams_PAL_UMATIC["video_hpf_extra"] = 1500000
RFParams_PAL_UMATIC["video_hpf_extra_order"] = 1
RFParams_PAL_UMATIC["video_lpf_extra"] = 7000000
RFParams_PAL_UMATIC["video_lpf_extra_order"] = 8
RFParams_PAL_UMATIC["video_hpf_extra"] = 1400000
RFParams_PAL_UMATIC["video_hpf_extra_order"] = 14
RFParams_PAL_UMATIC["video_lpf_freq"] = 4200000
RFParams_PAL_UMATIC["video_lpf_order"] = 6
# 685546 ± 200
Expand Down Expand Up @@ -65,7 +65,7 @@ def get_rfparams_pal_umatic_hi(RFParams_PAL):
RFParams_PAL_UMATIC["video_lpf_extra"] = 7200000
RFParams_PAL_UMATIC["video_lpf_extra_order"] = 3
RFParams_PAL_UMATIC["video_hpf_extra"] = 1500000
RFParams_PAL_UMATIC["video_hpf_extra_order"] = 1
RFParams_PAL_UMATIC["video_hpf_extra_order"] = 8
RFParams_PAL_UMATIC["video_lpf_freq"] = 4200000
RFParams_PAL_UMATIC["video_lpf_order"] = 6
# 923828 ± x00
Expand Down Expand Up @@ -129,13 +129,13 @@ def get_sysparams_pal_umatic_hi(sysparams_pal):
def get_rfparams_ntsc_umatic(rfparams_ntsc):
RFParams_NTSC_UMATIC = {**rfparams_ntsc}

RFParams_NTSC_UMATIC["video_bpf_low"] = 2500000
RFParams_NTSC_UMATIC["video_bpf_low"] = 1400000
RFParams_NTSC_UMATIC["video_bpf_high"] = 6500000
RFParams_NTSC_UMATIC["video_bpf_order"] = 1
RFParams_NTSC_UMATIC["video_lpf_extra"] = 6900000
RFParams_NTSC_UMATIC["video_lpf_extra_order"] = 3
RFParams_NTSC_UMATIC["video_hpf_extra"] = 1200000
RFParams_NTSC_UMATIC["video_hpf_extra_order"] = 1
RFParams_NTSC_UMATIC["video_lpf_extra"] = 6500000
RFParams_NTSC_UMATIC["video_lpf_extra_order"] = 8
RFParams_NTSC_UMATIC["video_hpf_extra"] = 1400000
RFParams_NTSC_UMATIC["video_hpf_extra_order"] = 14
RFParams_NTSC_UMATIC["video_lpf_freq"] = 4000000
RFParams_NTSC_UMATIC["video_lpf_order"] = 6
# 688374 ± 200
Expand Down

0 comments on commit 5367b49

Please sign in to comment.