Commit Graph

13 Commits

Author SHA1 Message Date
Gregory Nutt
8b4b61f140 fs/cromfs: Fix a error in reading partial compressed blocks. The LZF decompressor does not support that operation. Instead we have to decompress full block into a temporary buffer and copy out the parts that we need. To compensate for the performance hit, a caching mechanism was added so that we do not have to read the same block repeatedly. Unrelated: Also updates some README files. 2018-03-24 11:30:35 -06:00
Gregory Nutt
278cc6f70a libc/lzf: Fix some typos in code that was in conditional logic that was not building. Change a literal use of 13 to HLOG which used to be 13. 2018-03-19 16:50:45 -06:00
Gregory Nutt
af8b291482 libc/zxf: Fix more coding standard issues. 2018-03-19 14:43:50 -06:00
Gregory Nutt
ed59157a4b libc/lzf: Define structures to represent LZF headers. 2018-03-18 12:31:50 -06:00
Boris Astardzhiev
6cd607c298 libc/lzf: Refactor so that the user is no longer required to generate the LZF header 2018-03-16 09:54:55 -06:00
Gregory Nutt
8f914ef9ca libc/lzf/Kconfig: Remove some kruft left in the file. 2018-03-15 17:29:12 -06:00
Gregory Nutt
eb4539c305 libc/lzf: Update Kconfig comments 2018-03-15 14:21:07 -06:00
Gregory Nutt
5fc6178201 libc/lzf: Another trivial coding standard fix. 2018-03-15 10:47:00 -06:00
Gregory Nutt
43ba19025d Update some function headers. 2018-03-15 09:19:26 -06:00
Gregory Nutt
0ab037e6b4 libc/lzf: lzf_compress() now expects the hash table as user allocated input parmeter rather than declaring the huge array on the stack. 2018-03-15 08:51:32 -06:00
Gregory Nutt
9acfbd2163 libc/lzf: Make HLOG configurable
(cherry picked from commit ea77dfafe1afe7d399e47871d2ec81fea99626cc)
2018-03-15 08:32:24 -06:00
Gregory Nutt
d3cf5de5f4 libc/lzf: Fix an error introduced in coding standard conversion.
(cherry picked from commit 8879116fe85558520c4811dc4ab780b28e66810d)
2018-03-15 08:32:04 -06:00
Boris Astardzhiev
25eb417c12 libc/lzf: Add Marc Alexander Lehmann's LIBLZF3.6 librrary 2018-03-14 14:48:53 -06:00