mirror of
https://github.com/dnet/pySSTV.git
synced 2026-01-05 00:00:42 +01:00
added option to override HSYNC
This commit is contained in:
parent
f14657026d
commit
dc5061e50d
6
sstv.py
6
sstv.py
|
|
@ -89,10 +89,14 @@ class GrayscaleSSTV(SSTV):
|
|||
for item in SSTV.gen_freq_bits(self):
|
||||
yield item
|
||||
for line in xrange(self.HEIGHT):
|
||||
yield FREQ_SYNC, self.SYNC
|
||||
for item in self.horizontal_sync():
|
||||
yield item
|
||||
for item in self.encode_line(line):
|
||||
yield item
|
||||
|
||||
def horizontal_sync(self):
|
||||
yield FREQ_SYNC, self.SYNC
|
||||
|
||||
def encode_line(self, line):
|
||||
msec_pixel = self.SCAN / self.WIDTH
|
||||
image = self.image
|
||||
|
|
|
|||
Loading…
Reference in a new issue