From 9b586bdf7e560478e35301e772571156bf8f303b Mon Sep 17 00:00:00 2001 From: debian Date: Sat, 28 Dec 2019 19:56:12 -0700 Subject: [PATCH] not exactly working yet... --- sstv/spec.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/sstv/spec.py b/sstv/spec.py index cfa5823..241c3dc 100644 --- a/sstv/spec.py +++ b/sstv/spec.py @@ -182,6 +182,16 @@ class R72(R36): HAS_ALT_SCAN = False +# http://www.classicsstv.com/pdmodes.php +# Mode Pixel Line Sync Porch Frame(secs) Resolution VIS VIS+P +# PD120 190 508480 20000 2080 126.103040 640 x 496 95 95 +# The line times are for a complete "double" line, comprising sync + porch + Y0 + R-Y + B-Y + Y1. Please note that there are no pulses or porches between the four components. +# Transmission time 126.1 seconds +# Color scan times 121.600ms + +# from qsstv +# // name shortName mode imagetime Pix Dis Txl VIS sync fp bp blank synctx fptx bptx blanktx +# "PD120" ,"PD120", PD120, 126.11150,640,496,248,0x5F ,0.02000,0.00000,0.00208,0.00000,0.02000,0.00000,0.00230,0.00000,0.,1900,400 class PD120(object): NAME = "PD-120" @@ -189,7 +199,7 @@ class PD120(object): LINE_WIDTH = 640 LINE_COUNT = 496 SCAN_TIME = 0.121600 - HALF_SCAN_TIME = 0.069000 + HALF_SCAN_TIME = 0.060800 SYNC_PULSE = 0.020000 SYNC_PORCH = 0.002080 SEP_PULSE = 0.000000 @@ -206,7 +216,8 @@ class PD120(object): LINE_TIME = SYNC_PULSE + 3 * CHAN_TIME PIXEL_TIME = SCAN_TIME / LINE_WIDTH - WINDOW_FACTOR = 3.933 + HALF_PIXEL_TIME = HALF_SCAN_TIME / LINE_WIDTH + WINDOW_FACTOR = 10 HAS_START_SYNC = True HAS_HALF_SCAN = False