ii-vision/transcoder
kris eebbccf711 Add some docstrings
Clean up naming in edit_distance

In video encoder, when we emit additional offsets as part of an opcode,
reinsert back into the priority heapq if the new edit distance is
nonzero, in case we get the chance to fix it up later in the frame.

Also make sure to zero out the diff_weights and content_deltas
so we don't consider the offset again as a side-effect of some other
opcode.

Instead of prioritizing side-effect offsets by their previous update
priority, prioritize by those with the lowest (error - edit) delta i.e.
not introducing too much error relative to their edit distance.
2019-03-21 22:56:45 +00:00
..
audio.py Start to flesh out function docstrings, add some more type annotations. 2019-03-21 22:41:05 +00:00
edit_distance_test.py Rename tests and clean up a bit. Still don't pass. 2019-03-21 17:21:43 +00:00
edit_distance.py Add some docstrings 2019-03-21 22:56:45 +00:00
machine.py Stop ticking cycles as part of emitting the opcodes, we are counting 2019-03-21 22:42:09 +00:00
main.py Support skipping frames from the input video to increase output 2019-03-21 22:43:02 +00:00
movie.py Support skipping frames from the input video to increase output 2019-03-21 22:43:02 +00:00
opcodes_test.py Add module docstrings 2019-03-21 16:42:47 +00:00
opcodes.py Stop ticking cycles as part of emitting the opcodes, we are counting 2019-03-21 22:42:09 +00:00
screen.py Move transcoder to new location 2019-03-21 16:10:16 +00: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.py Add some docstrings 2019-03-21 22:56:45 +00:00