aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-02 11:38:20 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-02 11:38:20 +0300
commit61ae593661e8dc402394e84d567ca2044a51572b (patch)
tree7cbd982065bc5906bf650172be2cc006a53dc910 /src/liblzma
parentCreate the PDF versions of the man pages better. (diff)
downloadxz-61ae593661e8dc402394e84d567ca2044a51572b.tar.xz
liblzma: Small fixes to comments in the API headers.
Diffstat (limited to 'src/liblzma')
-rw-r--r--src/liblzma/api/lzma/lzma.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/liblzma/api/lzma/lzma.h b/src/liblzma/api/lzma/lzma.h
index c17736d7..9d31a5ce 100644
--- a/src/liblzma/api/lzma/lzma.h
+++ b/src/liblzma/api/lzma/lzma.h
@@ -49,7 +49,7 @@
* The memory usage formulas are only rough estimates, which are closest to
* reality when dict_size is a power of two. The formulas are more complex
* in reality, and can also change a little between liblzma versions. Use
- * lzma_memusage_encoder() to get more accurate estimate of memory usage.
+ * lzma_raw_encoder_memusage() to get more accurate estimate of memory usage.
*/
typedef enum {
LZMA_MF_HC3 = 0x03,
@@ -69,7 +69,9 @@ typedef enum {
*
* Minimum nice_len: 4
*
- * Memory usage: dict_size * 7.5
+ * Memory usage:
+ * - dict_size <= 32 MiB: dict_size * 7.5
+ * - dict_size > 32 MiB: dict_size * 6.5
*/
LZMA_MF_BT2 = 0x12,
@@ -98,7 +100,9 @@ typedef enum {
*
* Minimum nice_len: 4
*
- * Memory usage: dict_size * 11.5
+ * Memory usage:
+ * - dict_size <= 32 MiB: dict_size * 11.5
+ * - dict_size > 32 MiB: dict_size * 10.5
*/
} lzma_match_finder;