nuttx/libs/libc/stream/Kconfig
chao.an ce1c8413a2 libc/lzfcompress: add lzf compress stream
compress stream based on lzf algorithm:

  struct lib_rawoutstream_s rawstream;
  struct lib_lzfoutstream_s lzfstream;

  lib_rawoutstream(&rawstream, fd);
  lib_lzfoutstream(&lzfstream, &rawstream);

Signed-off-by: chao.an <anchao@xiaomi.com>
2021-12-20 08:39:33 -06:00

25 lines
595 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menu "Stream C I/O"
if LIBC_LZF
config STREAM_LZF_BLOG
int "Log2 of block size"
default 10
range 9 12
---help---
This stream uses two buffers of size a little more than
(1 << CONFIG_STREAM_LZF_BLOG) to compress and decompress data in
chunks. Slightly better compression should be obtainable with larger
NOTE: This is a pairing option for using the decompression tool,
chunks must match with compression
endif
endmenu # Locale Support