mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-23 09:49:34 -10:00
Each comes from a source of its own - a packed stream, or a coder of one from one - into a buffer that keeps what the converter left of the last piece; one that cannot stream is decoded whole, as all three were. r7z_bcj2_decode_in() takes all four inputs a piece at a time, and a branch candidate whose bit or target is not there yet waits for it unread. It replaces r7z_bcj2_decode_piece(), which streamed main alone. r7z_stream_test and r7z_bcj2_test take them 16 octets at a time.