ii-vision/transcoder
kris f3d03a1b87 Update comments and fix some bugs
make_edit_distance
- use MASKED_DOTS since it does not have a simple relationship to the
  HEADER_BITS/BODY_BITS for HGR
- try disabling transposition distances for Damerau-Levenshtein, this
  may give better quality

screen
- introduce separate notion of MASKED_DOTS which is the number of
  (coloured) pixels we can extract from MASKED_BITS.  For HGR this is
  not the same.
- fix bug in _fix_array_neighbours that was not fixing headers for HGR
- don't cache everything in byte_pair_differences, it's effectively
  unbounded.  Using 1M for LRU size seems to work just as well in
  practise, without leaking memory.
- fix bug in _diff_weights when comparing content, we want to evaluate
  the effect of storing content byte in each offset separately, not
  cumulatively.
- add a consistency check function (not currently wired up) to assert
  that headers/footers are in sync across columns
- HGR should have 16 body bits, this was causing headers not to
  propagate correctly to/from neighbouring column
- add test case for this bug

video
- Use 8 random bits consistently, using 16 in some places may have
  introduced bias
- ignore palette bit when comparing 0x00 and 0x7f in sanity check
2019-07-11 23:40:00 +01:00
..
data Parametrize the RGB palette to encode with, and support both NTSC and 2019-06-19 22:06:54 +01:00
audio.py Simplify the accounting of audio ticks in video framing, and fix an off-by-one that was causing audio and video to become desynchronized. 2019-06-19 21:47:49 +01:00
colours_test.py Support decoding arbitrary number of dots as nominal colour sequence. 2019-07-07 21:13:28 +01:00
colours.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
frame_grabber_test.py Store video frames in {basename}/{mode}/{palette}/ directory to 2019-06-20 21:15:52 +01:00
frame_grabber.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
machine.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
main.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
make_data_tables_test.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
make_data_tables.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
movie.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
opcodes_test.py Fix unit test 2019-06-19 21:45:58 +01:00
opcodes.py Rename FrameSequencer to FrameGrabber and break out into separate file. 2019-06-19 22:04:02 +01:00
palette.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
screen_test.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
screen.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
symbol_table_test.py Add module docstrings 2019-03-21 16:42:47 +00:00
symbol_table.py Start to flesh out function docstrings, add some more type annotations. 2019-03-21 22:41:05 +00:00
video_mode.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
video_test.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00
video.py Update comments and fix some bugs 2019-07-11 23:40:00 +01:00