aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/delta_coder.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-01-19Revised the Delta filter implementation. The initializationLasse Collin1-189/+0
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.
2007-12-11Removed uncompressed size tracking from Delta encoder too.Lasse Collin1-18/+3
2007-12-09Take advantage of return_if_error() macro in more places.Lasse Collin1-7/+1
Cleaned Subblock filter's initialization code too.
2007-12-09Imported to git.Lasse Collin1-0/+210