Commit Graph

  • cb35ead5f3
    Merge pull request #13 from KrisKennaway/python3.10 master KrisKennaway 2023-02-09 23:58:19 +0000
  • 08526ed190 Update to python 3.10 now that blocker (weighted-levenshtein) is resolved. 3.11 is still blocked by llvmlite. kris 2023-02-09 23:51:11 +0000
  • ee66fa0bcf
    Merge pull request #12 from KrisKennaway/fix-encoder v0.3 KrisKennaway 2023-01-28 21:42:58 +0000
  • a925a897a7 Update README to note emulation options kris 2023-01-28 21:37:41 +0000
  • 97403ab431 Create data dir before writing to it kris 2023-01-25 22:57:18 +0000
  • 1f455bf733 Working version of mono encoding. Hacked up so other modes won't work yet mono kris 2023-01-24 21:32:43 +0000
  • 04fa23b392 Fix return ordering of memory banks kris 2023-01-24 21:31:01 +0000
  • 1b640705d2 Checkpoint kris 2023-01-22 00:49:23 +0000
  • d131b48661 Revamp frame_grabber - the previous multiprocessing strategy now causes pickle serialization errors on newer python versions. kris 2023-01-21 22:08:55 +0000
  • 1149943d71 Add a slightly hacked up snapshot of ii-pix to do inline DHGR conversions kris 2023-01-21 22:08:12 +0000
  • 4529bc3c74 Add a TODO to upload more youtube videos showing quality improvements kris 2023-01-24 22:38:56 +0000
  • f055920dc8 Point to b2d fork instead of the original bmp2dhr source, it's somewhat newer and seems to have made some improvements. kris 2023-01-24 22:34:28 +0000
  • bbb4d14db8 Link to sample videos kris 2023-01-24 22:31:28 +0000
  • 53dac6a47c Disable debugging assertions now they've served their purpose kris 2023-01-17 21:44:43 +0000
  • 6a8d49bd97 - Stop using the 5x weighting for diff values, it was preventing from consistently finding enough additional offsets (~2.5x avg instead of >2.9) kris 2023-01-17 21:42:28 +0000
  • 990e1c9d74 - have Bitmap.apply() update the memory representation instead of requiring callers to keep track of it kris 2023-01-17 21:39:05 +0000
  • 6b612ffb0a Normalize audio at 0.5/99.5%iles to clip less kris 2023-01-18 21:25:52 +0000
  • 157d7596d7 Downgrade numpy until colormath supports 1.23+ kris 2023-01-18 21:25:19 +0000
  • 9cea6f7d18 Update to python 3.8 kris 2023-01-18 00:02:44 +0000
  • 1d5bcfd74e Optimize make_data_tables and use numpy.save instead of pickling. The file sizes are a bit larger but it unblocks updating to python 3.8. kris 2023-01-18 00:01:34 +0000
  • 89633aa845 Add release notes for v0.3 kris 2023-01-17 21:47:26 +0000
  • 7384878ecb Disable debugging assertions now they've served their purpose kris 2023-01-17 21:44:43 +0000
  • f7f5950637 - Stop using the 5x weighting for diff values, it was preventing from consistently finding enough additional offsets (~2.5x avg instead of >2.9) kris 2023-01-17 21:42:28 +0000
  • 0a3c81c8c6 - have Bitmap.apply() update the memory representation instead of requiring callers to keep track of it kris 2023-01-17 21:39:05 +0000
  • 5c728e7ff1 Allow edit transposes again, there doesn't seem to be a good reason to prevent it and I'm not sure it can even happen in practice kris 2023-01-17 21:10:49 +0000
  • efe821d215 Fix warning kris 2023-01-17 21:09:34 +0000
  • b1132e97f1 Remove pregenerated data files, they are using up all my LFS quota kris 2023-01-17 21:09:18 +0000
  • 4f6d7a796a Fix some numpy deprecation warnings kris 2023-01-17 12:26:25 +0000
  • d603445862 Add basic installation instructions and requirements.txt kris 2023-01-17 12:26:00 +0000
  • 45ce98d6ef Generate iivision.dbg file which is read by transcoder kris 2023-01-17 12:25:01 +0000
  • a885ec1305
    Move sample videos up front KrisKennaway 2019-07-30 00:07:08 +0100
  • 3709ff295e
    Fix header levels KrisKennaway 2019-07-30 00:06:12 +0100
  • 7696d5bd0f
    Update README.md KrisKennaway 2019-07-29 23:51:22 +0100
  • 75e98ce7e0 Update with release notes for v0.2 and revise content kris 2019-07-17 14:26:29 +0100
  • 1cd20a7615 WIP - optimal encoding by computing all possible byte stores at all possible (page, offset) and then choosing top 4 offsets for all content bytes. optimal kris 2019-07-14 22:09:40 +0100
  • 142dbe02fe
    Merge pull request #3 from KrisKennaway/audio KrisKennaway 2019-07-14 22:08:04 +0100
  • 451523bdef Support for custom output bitrate, e.g. to target //gs in 2.8MHz mode. For some reason playback speed is only about 1.6x (probably due to slowing down accesses to the I/O page to 1MHz, so as not to mess up hardware timings), but happily this comes within 3% of being 44100/2. audio kris 2019-07-14 22:05:20 +0100
  • 35f999bc8a Ignore .a2m files in the root directory kris 2019-07-14 22:05:08 +0100
  • 6c2f8278ce Oops, 34 ticks is the "neutral" position, not 36. Update duty cycles during slow path. This removes the slight buzz audible during periods of silence. kris 2019-07-14 22:03:26 +0100
  • ce3bed0d38 Try resampling with scipy and scaling audio power kris 2019-07-13 14:32:21 +0100
  • 326ca62075
    Merge pull request #2 from KrisKennaway/dhgr KrisKennaway 2019-07-11 23:56:51 +0100
  • 2dcd3dadab
    Merge pull request #1 from KrisKennaway/dhgr2 dhgr KrisKennaway 2019-07-11 23:56:06 +0100
  • 34f2663448 Initial checkin of edit distance matrices for HGR/DHGR palettes. dhgr2 kris 2019-07-11 23:44:32 +0100
  • 1b20cb8f63 Remove obsolete files kris 2019-07-11 23:43:59 +0100
  • f3d03a1b87 Update comments and fix some bugs kris 2019-07-11 23:40:00 +0100
  • 722e9c5d70 s/BIT TICK/STA TICK/ kris 2019-07-11 14:40:05 +0100
  • b05c3bec1e - Add a progress bar while computing the edit distance matrices kris 2019-07-07 21:25:07 +0100
  • ab29b01d0f Finish implementing HGRBitmap support. kris 2019-07-07 21:22:44 +0100
  • 16c4faa66d Support decoding arbitrary number of dots as nominal colour sequence. This is needed for HGR support. kris 2019-07-07 21:13:28 +0100
  • fc4a63fffe Support HGR mode again kris 2019-07-07 21:12:10 +0100
  • 740dafbd74 Remove commented out code kris 2019-07-04 15:54:05 +0100
  • 5c550d8524 Separate the details of the bitmap packing from operations on the packed representation (diff, apply etc). This allows the (D)HGRBitmap classes to focus on the bitmap packing and share common logic. kris 2019-07-04 15:21:20 +0100
  • 666272a8fc Checkpoint WIP for easier comparison to dhgr branch: kris 2019-07-02 22:40:50 +0100
  • e2a8bd9b4d Update IP addresses to 10.0.0.0/8 network kris 2019-06-26 11:22:58 +0100
  • 2b00a09d11 Update IP addresses to 10.0.0.0/8 network kris 2019-06-26 11:22:58 +0100
  • b2c00784b0 Minor code cleanups kris 2019-06-21 22:08:22 +0100
  • b0e83d2faf Clear the (D)HGR display before showing it, so we don't see garbage during startup. kris 2019-06-20 21:23:18 +0100
  • 7d041a6a84 Store video frames in {basename}/{mode}/{palette}/ directory to disambiguate different values (for palettes in particular) kris 2019-06-20 21:15:52 +0100
  • 75c0cce16a Merge branch 'master' of https://github.com/KrisKennaway/ii-vision kris 2019-06-19 22:31:49 +0100
  • a732a0e034 Fix merge kris 2019-06-19 22:28:31 +0100
  • e3cb6fe7d1 Merge branch 'dhgr' of https://github.com/KrisKennaway/ii-vision into dhgr kris 2019-06-19 22:16:36 +0100
  • 2cda5ea22c Merge branch 'dhgr' of https://github.com/KrisKennaway/ii-vision into dhgr kris 2019-06-19 22:14:24 +0100
  • cf3c687a8f Fix merges after rebase kris 2019-06-19 22:10:15 +0100
  • 4d9e1e510b random.getrandbits() is much faster than random.randint() kris 2019-06-15 21:23:36 +0100
  • edefe649f4 Parametrize the RGB palette to encode with, and support both NTSC and IIGS palettes. kris 2019-06-15 21:02:00 +0100
  • 696eb61bf4 Compress the precomputed edit_distance arrays kris 2019-06-14 22:08:34 +0100
  • f07cabafb7 Add type annotations kris 2019-06-14 22:03:37 +0100
  • 33aa4d46c4 Rename FrameSequencer to FrameGrabber and break out into separate file. kris 2019-06-14 21:59:39 +0100
  • fac2089206 Add tests for _diff_weights kris 2019-06-14 00:13:28 +0100
  • 5d9ffe7d8b No longer used kris 2019-06-14 00:13:14 +0100
  • fd49736b71 FrameSequencer: kris 2019-06-14 00:12:26 +0100
  • 15c77f2465 Remove unused code. kris 2019-06-13 23:44:41 +0100
  • 9c90665e96 Fix warnings kris 2019-06-13 23:41:28 +0100
  • 494503aa88 Precompute the edit distance between the 8-bit (2-pixel) and 12-bit (3-pixel) sequences that may be modified when storing bytes to the DHGR display. kris 2019-06-13 22:58:10 +0100
  • b33b730bfa Map DHGR colours to RGB values (for now using the BMP2DHR default NTSC palette), and compute the matrix of pairwise perceptual differences between these colours, using CIE2000 delta values. kris 2019-06-12 22:14:11 +0100
  • cb287ea0e7 Add a DHGRColours enum mapping the DHGR logical colours to their (memory-order) 4-bit values. kris 2019-06-12 22:12:26 +0100
  • 5dcbca4aae Exit gracefully when running out of video frames kris 2019-06-19 21:54:07 +0100
  • 38663088ef Remove CycleCounter, it's unused kris 2019-06-19 21:51:45 +0100
  • bd0aa6ad6b Simplify the accounting of audio ticks in video framing, and fix an off-by-one that was causing audio and video to become desynchronized. kris 2019-06-19 21:47:49 +0100
  • 32bb4347ad Fix unit test kris 2019-06-19 21:45:58 +0100
  • a6d7cf73b1 Fix warning about missing newline at EOF kris 2019-06-13 23:40:55 +0100
  • 079036042a Add TODO about Opcode.apply being currently unused kris 2019-06-12 21:42:17 +0100
  • 1dcd16744b Add a .gitignore file kris 2019-06-12 21:50:27 +0100
  • 20a6f03482 Default to DHGR and NTSC palette kris 2019-06-15 21:32:56 +0100
  • 44f8ab39e4 Vectorizing does not help, the array is not big enough to amortize the python overheads. kris 2019-06-15 21:30:25 +0100
  • bf2057cbb9 random.getrandbits() is much faster than random.randint() kris 2019-06-15 21:23:36 +0100
  • ca817999f6 Parametrize the RGB palette to encode with, and support both NTSC and IIGS palettes. kris 2019-06-15 21:02:00 +0100
  • 824154fd39 Compress the precomputed edit_distance arrays kris 2019-06-14 22:08:34 +0100
  • c2c57b47d5 Add type annotations kris 2019-06-14 22:03:37 +0100
  • 549752e112 Rename FrameSequencer to FrameGrabber and break out into separate file. kris 2019-06-14 21:59:39 +0100
  • d5f2482a0a Add tests for _diff_weights kris 2019-06-14 00:13:28 +0100
  • b781bf3a10 No longer used kris 2019-06-14 00:13:14 +0100
  • ec65684221 FrameSequencer: kris 2019-06-14 00:12:26 +0100
  • 4251c9938f Remove unused code. kris 2019-06-13 23:44:41 +0100
  • a172214f16 Fix warnings kris 2019-06-13 23:41:28 +0100
  • 5387eae674 Fix warning about missing newline at EOF kris 2019-06-13 23:40:55 +0100
  • fb14a20380 Precompute the edit distance between the 8-bit (2-pixel) and 12-bit (3-pixel) sequences that may be modified when storing bytes to the DHGR display. kris 2019-06-13 22:58:10 +0100
  • 9f950739f9 Map DHGR colours to RGB values (for now using the BMP2DHR default NTSC palette), and compute the matrix of pairwise perceptual differences between these colours, using CIE2000 delta values. kris 2019-06-12 22:14:11 +0100
  • bed29004c2 Add a DHGRColours enum mapping the DHGR logical colours to their (memory-order) 4-bit values. kris 2019-06-12 22:12:26 +0100
  • 2d7d4acef7 Fix test kris 2019-06-12 22:06:58 +0100