mirror of
https://github.com/KrisKennaway/ii-vision.git
synced 2024-12-21 05:30:20 +00:00
ec65684221
- Extract out a (File)FrameSequencer class from Video to encapsulate the generation of still frames. This also makes Video easier to test. - Fix FileFrameSequencer.frames() to correctly handle filenames containing '.' - Temporarily switch to the BMP2DHR NTSC palette (#5) for evaluation. Video: - Temporarily hardcode DHGR decoding - Optimize _heapify_priorities() by using numpy to vectorize the construction of the list of tuples. This requires changing the random nonce to an int so the intermediate array has a uniform type. - Use the efficient 28-bit representation of DHGR (aux, main, aux, main) tuples introduced in DHGRBitmap to evaluate diffs - Switch to np.int type for accumulating diffs, and random.randint(0, 10000) instead of float for nonce values. - Fix/improve some of the error evaluation in _index_changes: - skip offsets whose diffs have already been cleared - hoist some stuff out of _compute_error into the parent - Add some validation that when we run out of work to do with a frame, the source and target memory maps should be equal. This isn't happening sometimes, i.e. there is a bug. |
||
---|---|---|
.. | ||
audio.py | ||
colours.py | ||
edit_distance_test.py | ||
edit_distance.pickle | ||
edit_distance.py | ||
machine.py | ||
main.py | ||
make_data_tables_test.py | ||
make_data_tables.py | ||
movie.py | ||
opcodes_test.py | ||
opcodes.py | ||
palette.py | ||
screen_test.py | ||
screen.py | ||
symbol_table_test.py | ||
symbol_table.py | ||
video.py |