Fix #103 and comments for level and version numbers

This commit is contained in:
Tino Reichardt
2020-04-10 14:28:15 +02:00
parent 26cca533b1
commit d17138af60
6 changed files with 11 additions and 11 deletions

View File

@@ -48,6 +48,8 @@ struct writelist {
};
struct BROTLIMT_CCtx_s {
/* levels: 1..BROTLIMT_LEVEL_MAX */
int level;
/* threads: 1..BROTLIMT_THREAD_MAX */

View File

@@ -51,7 +51,7 @@ struct writelist {
struct LIZARDMT_CCtx_s {
/* level: 1..22 */
/* level: 1..LIZARDMT_LEVEL_MAX */
int level;
/* threads: 1..LIZARDMT_THREAD_MAX */
@@ -111,7 +111,7 @@ LIZARDMT_CCtx *LIZARDMT_createCCtx(int threads, int level, int inputsize)
if (inputsize)
ctx->inputsize = inputsize;
else
ctx->inputsize = 1024 * 1024;
ctx->inputsize = 1024 * 1024 * 4;
/* setup ctx */
ctx->level = level;

View File

@@ -51,7 +51,7 @@ struct writelist {
struct LZ5MT_CCtx_s {
/* level: 1..22 */
/* level: 1..LZ5MT_LEVEL_MAX */
int level;
/* threads: 1..LZ5MT_THREAD_MAX */
@@ -111,7 +111,7 @@ LZ5MT_CCtx *LZ5MT_createCCtx(int threads, int level, int inputsize)
if (inputsize)
ctx->inputsize = inputsize;
else
ctx->inputsize = 1024 * 64;
ctx->inputsize = 1024 * 1024 * 4;
/* setup ctx */
ctx->level = level;