Commit graph

97 commits

Author SHA1 Message Date
Blaine Murphy 824937759e Correct color order of Robot 36 mode.
The color sequence for Robot 36 is listed as YCrCb in the SSTV Handbook: http://www.sstv-handbook.com/download/sstv_04.pdf (Table 4.3) and the Dayton Paper: https://web.archive.org/web/20120104184535/http://www.barberdsp.com/files/Dayton%20Paper.pdf
2017-10-18 21:02:06 -04:00
András Veres-Szentkirályi 5eb8a468e4 extracted method load_pickled_asset 2017-01-12 12:54:07 +01:00
András Veres-Szentkirályi 81b45e7e4e Python 3 uses builtins.open instead of io.open 2017-01-12 12:48:50 +01:00
András Veres-Szentkirályi 9cbb0c50ff use BytesIO on Python 3 2017-01-12 12:37:58 +01:00
András Veres-Szentkirályi 0d52546d81 test_sstv: select open namespace depending on Python major version 2017-01-12 12:26:01 +01:00
András Veres-Szentkirályi ac0f89bfdf test_sstv: open further files in explicit 'rb' mode 2017-01-12 12:25:34 +01:00
András Veres-Szentkirályi bf2efdabea test_sstv: handle iterables in a more portable way 2017-01-12 12:25:03 +01:00
András Veres-Szentkirályi d574ab1d49 use absolute imports in test_sstv as well 2017-01-12 12:16:33 +01:00
András Veres-Szentkirályi 8f8f431050 StringIO was also moved in Python 3 2017-01-12 11:14:54 +01:00
András Veres-Szentkirályi a43f64fd79 modified tests for Python 2 + 3 compatibility 2017-01-12 11:06:21 +01:00
KM4YRI 5d3b11a144 added Python six compatibility layer (#10)
added dependency to `six` for better Python 2/3 compatibility
2017-01-12 10:49:13 +01:00
KM4YRI 56743c7afb Python 3 compatibility: imap->map, izip->zip, xrange->range (#9) 2017-01-03 15:04:11 +01:00
András Veres-Szentkirályi 810f604a5a codegen: added Pasokon modes to test harness 2016-04-20 19:49:43 +02:00
András Veres-Szentkirályi 23a2e2bd00 codegen: check for non-RGB images 2016-04-20 19:36:24 +02:00
András Veres-Szentkirályi ff15c3a63a codegen: removed hardcoded test image file name 2016-04-20 14:07:35 +02:00
András Veres-Szentkirályi 5d38b3b52d codegen: avoid defining test image in multiple places 2016-04-20 14:04:57 +02:00
András Veres-Szentkirályi c7fecff3e6 codegen: save outputs and C code in case of failed tests 2016-04-19 11:36:08 +02:00
András Veres-Szentkirályi 40768cb57a codegen: added MartinM2 to the test harness 2016-04-19 11:21:31 +02:00
András Veres-Szentkirályi d540abd852 codegen: pass real image width as parameter 2016-04-19 11:20:14 +02:00
András Veres-Szentkirályi dee321d59e codegen: replaced BMP with RGB array and STBI 2016-04-19 11:13:57 +02:00
András Veres-Szentkirályi ec6ff85d06 codegen: avoid masking exceptions if exe doesn't exist yet 2016-04-19 11:01:17 +02:00
András Veres-Szentkirályi 43d1c53514 codegen: added timing stats 2016-02-23 16:36:32 +01:00
András Veres-Szentkirályi ff2fc58aa7 codegen: optimized gen_matches invocation 2016-02-23 16:21:39 +01:00
András Veres-Szentkirályi c185ea571b codegen: use NotImplementedError 2016-02-23 16:21:30 +01:00
András Veres-Szentkirályi f295a07c83 codegen: removed unused variable 2016-02-23 16:17:53 +01:00
András Veres-Szentkirályi 3c3bb34b1b codegen: added simple test suite 2016-02-22 17:35:25 +01:00
András Veres-Szentkirályi d7a05fc1d5 codegen: return 0 in stub main() 2016-02-22 17:35:09 +01:00
András Veres-Szentkirályi 6418a9febc codegen: provide generator instead of printing 2016-02-22 17:34:44 +01:00
András Veres-Szentkirályi 2f6c7ca871 codegen: use configurable SSTV subclass 2016-02-22 17:34:21 +01:00
András Veres-Szentkirályi f02f43e4b5 added experimental C code generator 2016-02-22 15:02:00 +01:00
András Veres-Szentkirályi 09df062547 use absolute imports for Python 3 compatibility 2014-06-07 11:48:04 +02:00
András Veres-Szentkirályi 9ef2a5a8ca added serial port PTT support to GIMP plugin 2014-05-14 23:26:54 +02:00
Dominik Auras e0a4563a56 Add "high"-resolution modes Pasokon P3, P5 and P7
Tested against MMSSTV and HamRadio software
2014-04-22 23:11:40 +02:00
Ricky Elrod e8f07e5bcb RED isn't a member of ColorSSTV (anymore?) 2014-01-13 21:12:24 -05:00
András Veres-Szentkirályi 7e9436adeb grayscale: adjusted Robot24BW sync timing 2013-11-22 18:40:25 +01:00
András Veres-Szentkirályi b74feb49ab GrayscaleSSTV: use PIL for grayscale conversion 2013-11-22 18:36:58 +01:00
András Veres-Szentkirályi bd3b84cfb6 ColorSSTV: load raster data only once 2013-11-22 18:33:39 +01:00
András Veres-Szentkirályi 3a25caeab9 optimized Robot36 to use PIL YUV converter 2013-11-22 18:19:56 +01:00
András Veres-Szentkirályi 9bf312ca85 added SSTV.on_init() hook 2013-11-22 18:19:00 +01:00
András Veres-Szentkirályi 4c020d61b9 added Robot 36 encoder 2013-11-22 17:05:13 +01:00
András Veres-Szentkirályi 4d56f34a72 gen_values: fixed FM sample repetition bug
In the previous version, the FM modulator issued the last sample of the
previous frequency-time tuple twice, once as the last sample of the
previous tuple, once as the first sample (sample = 0) of the next one.
2013-11-22 17:00:53 +01:00
András Veres-Szentkirályi b8ef35022b image_gimp_to_pil: discard invisible layers before merge 2013-11-09 20:24:55 +01:00
András Veres-Szentkirályi 3d68f7cc5b handle progress line values near gray (fixes gh-4) 2013-11-09 20:15:17 +01:00
András Veres-Szentkirályi e9db1cf9a0 merge and use GIMP layers directly (fixes gh-3) 2013-11-09 17:24:24 +01:00
András Veres-Szentkirályi cf8eb28ec1 move packing to ProgressCanvas init 2013-11-09 16:35:16 +01:00
András Veres-Szentkirályi b8ebe9ed58 extracted function init_sstv 2013-11-05 21:42:43 +01:00
András Veres-Szentkirályi a5e7835224 extracted function match_image_with_sstv_mode 2013-11-05 21:42:33 +01:00
András Veres-Szentkirályi c0c6520c40 extracted function generate_png_filename 2013-11-05 21:42:08 +01:00
András Veres-Szentkirályi e395427dfb simplified cleanup in GIMP plugin 2013-11-05 21:32:40 +01:00
András Veres-Szentkirályi 213d987955 avoid None dereference upon double AudioThread.stop() 2013-11-05 21:28:42 +01:00