summaryrefslogtreecommitdiffstats
path: root/lib/lz4hc.h
Commit message (Collapse)AuthorAgeFilesLines
* favorDecSpeed feature can be triggered from lz4frameYann Collet2018-04-261-5/+13
| | | | and lz4hc.
* Revert Stream Size Const to Correct ValueW. Felix Handte2018-04-241-1/+1
|
* Add Comments on New Public APIsW. Felix Handte2018-04-201-0/+29
|
* Add API for Attaching DictionariesW. Felix Handte2018-04-201-0/+27
|
* Remove inputBuffer from Context, Work Around its AbsenceW. Felix Handte2018-04-201-3/+8
|
* Add Fast Reset PathsW. Felix Handte2018-04-201-0/+2
|
* Add a Dictionary Context Pointer to the HC ContextW. Felix Handte2018-04-201-5/+9
|
* fuzzer: added low address compression testYann Collet2018-02-051-4/+4
| | | | is expected to work on linux+gcc only.
* Ensure LZ4_DEPRECATED("...") is before LZ4LIB_APIAsger Hautop Drewsen2018-01-311-17/+17
| | | | | | When using clang++ with std c++14 or c++17 you would get the error "an attribute list cannot appear here" when including "lz4.h" as the visibility attribute is before the c++ attribute. This ensures that the [[deprecated]] c++ attribute is before everything else in the function declarations.
* new level 10Yann Collet2017-12-201-1/+1
| | | | | | | | | | | | lz4opt is only competitive vs lz4hc level 10. Below that level, it doesn't match the speed / compression effectiveness of regular hc parser. This patch propose to extend lz4opt to levels 10-12. The new level 10 tend to compress a bit better and a bit faster than previous one (mileage vary depending on file) The only downside is that `limitedDestSize` mode is now limited to max level 9 (vs 10), since it's only compatible with regular HC parser. (Note : I suspect it's possible to convert lz4opt to support it too, but haven't spent time into it).
* minor comment editYann Collet2017-11-031-22/+19
|
* unified HC levelsYann Collet2017-11-031-2/+1
| | | | | LZ4_setCompressionLevel() can be users accross the whole range of HC levels No more transition issue between Optimal and HC modes
* removed ctx->searchNumYann Collet2017-11-031-3/+1
| | | | | nbSearches now transmitted directly as function parameter easier to track and debug
* LZ4_compress_HC_continue_destSize() now compatible with optimal parserYann Collet2017-11-031-2/+2
| | | | levels 11+
* removed code and reference to binary tree match finderYann Collet2017-11-031-2/+2
| | | | reduced size of LZ4HC state
* lz4opt: added hash chain searchYann Collet2017-10-211-1/+1
|
* dictionary compression correctly uses compression levelYann Collet2017-08-101-7/+16
| | | | Not obvious : copying the state was copying cdict's compression level
* updated NEWSYann Collet2017-06-121-2/+2
|
* liz4hc.h: fix a comment: LZ4HC_MAX_CLEVEL -> LZ4HC_CLEVEL_MAXAlexey Tourbin2017-04-291-2/+2
|
* Export deprecated symbols declared in lz4hc.hDmitry V. Levin2017-03-241-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 25b243588585b06a2d947372284cbfe00da930e9 exported deprecated symbols declared in lz4.h by marking all LZ4_DEPRECATED functions with LZ4LIB_API attribute. This change does the same with functions declared in lz4hc.h file, thus extending the export to lz4hc.h. As result, the following 17 deprecated functions are exported again: LZ4_compressHC LZ4_compressHC2 LZ4_compressHC2_continue LZ4_compressHC2_limitedOutput LZ4_compressHC2_limitedOutput_continue LZ4_compressHC2_limitedOutput_withStateHC LZ4_compressHC2_withStateHC LZ4_compressHC_continue LZ4_compressHC_limitedOutput LZ4_compressHC_limitedOutput_continue LZ4_compressHC_limitedOutput_withStateHC LZ4_compressHC_withStateHC LZ4_createHC LZ4_freeHC LZ4_resetStreamStateHC LZ4_sizeofStreamStateHC LZ4_slideInputBufferHC
* added `extern C` for lz4.h static sectionYann Collet2017-03-171-1/+1
| | | | should make the file more compatible with C++ compiler, such as Visual or g++
* LZ4_compress_HC_continue_destSize() works as intended up to level 10Yann Collet2017-03-161-0/+2
| | | | | It's incompatible with btopt though, so cLevel >= 11 feature much reduced performance (degraded mode)
* LZ4_compress_HC_destSize() uses LZ4HC_compress_generic() code pathYann Collet2017-03-161-10/+10
| | | | | Limits compression level to 10, to remain compatible with Hash Chain.
* created LZ4_HC_STATIC_LINKING_ONLY sectionYann Collet2017-03-161-10/+47
| | | | where are exposed new prototypes *_destSize()
* lz4hc: Add LZ4_compressHC_destSize and LZ4_compress_HC_continue_destSizeremittor2017-03-081-0/+2
|
* removed nextToUpdateBTPrzemyslaw Skibinski2016-12-281-2/+0
|
* updated a few macros namesYann Collet2016-12-221-4/+4
|
* tree update dependent from compression levelPrzemyslaw Skibinski2016-12-091-0/+1
|
* fullUpdate as a parameterPrzemyslaw Skibinski2016-12-091-0/+2
|
* slightly improved lz4opt.hPrzemyslaw Skibinski2016-12-081-1/+1
|
* fixed LZ4_STREAMHCSIZEPrzemyslaw Skibinski2016-12-071-1/+1
|
* LZ4HC_DICTIONARY_LOGSIZE 17Przemyslaw Skibinski2016-12-071-4/+4
|
* improved ratioPrzemyslaw Skibinski2016-12-071-1/+1
|
* 15-bit LZ4HC_HASH_LOGPrzemyslaw Skibinski2016-12-071-1/+1
|
* LZ4HC_MAX_CLEVEL = 12Przemyslaw Skibinski2016-12-071-2/+2
|
* 17-bit LZ4HC_MAXDPrzemyslaw Skibinski2016-12-061-2/+2
|
* introduced LZ4HC_compress_hashChainPrzemyslaw Skibinski2016-12-061-3/+5
|
* fixed nameless union warningsYann Collet2016-11-141-4/+2
|
* made lz4hc explicitly dependent on lz4Yann Collet2016-11-121-49/+17
|
* fixed __GNUC__ macroYann Collet2016-11-121-2/+2
|
* enabled deprecation warnings on remaining obsolete functionsYann Collet2016-11-121-14/+14
|
* update code commentsYann Collet2016-11-121-110/+100
|
* Expose internal types to remove strict aliasingNick Terrell2016-11-111-1/+59
|
* removed LZ4_DLL_EXPORT=1 (2)Przemyslaw Skibinski2016-11-091-6/+4
|
* updated links to LZ4 repositoryPrzemyslaw Skibinski2016-11-031-1/+1
|
* Use different prefix for each file to avoid conflictKouhei Sutou2016-09-231-18/+18
|
* Add LZ4LIB_APIKouhei Sutou2016-09-221-15/+32
| | | | | | | | | | | | It's based on Zstandard's ZSTDLIB_API. See also: https://github.com/Cyan4973/lz4/issues/216#issuecomment-226245432 Deprecated functions aren't LZ4LIB_API targets. Because we don't need to export deprecated functions from now. There are same LZ4LIB_API definitions in each header files instead of including a common header file because LZ4_DEPRECATED is defined so.
* -b# and -e# options from zstdinikep2016-09-021-2/+6
|
* stronger compilation flagsYann Collet2016-06-291-4/+4
|
* modified : some more deprecated functions from lz4hc.h generate warningsYann Collet2016-06-291-28/+31
|