aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/delta_encoder.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-08-28Sort of garbage collection commit. :-| Many things are stillLasse Collin1-28/+0
broken. API has changed a lot and it will still change a little more here and there. The command line tool doesn't have all the required changes to reflect the API changes, so it's easy to get "internal error" or trigger assertions.
2008-01-19Revised the Delta filter implementation. The initializationLasse Collin1-0/+28
function is still shared between encoder and decoder, but the actual coding is in separate files for encoder and decoder. There are now separate functions for the actual delta calculation depending on if Delta is the last filter in the chain or not. If it is the last, the new code copies the data from input to output buffer and does the delta calculation at the same time. The old code first copied the data, then did the delta in the target buffer, which required reading through the data twice. Support for LZMA_SYNC_FLUSH was added to the Delta encoder. This doesn't change anything in the file format.