Macros
lz4_common.h File Reference
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define LZ4_MAGIC_NUMBER   0x184d2204
 
#define LZ4_MAX_BLOCK_SIZE   0x00100000
 
#define LZ4_FLG_VERSION   0x40
 
#define LZ4_FLG_BLOCK_INDEP   0x20
 
#define LZ4_FLG_BLOCK_CHECKSUM   0x10
 
#define LZ4_FLG_CONTENT_SIZE   0x08
 
#define LZ4_FLG_CONTENT_CHECKSUM   0x04
 
#define LZ4_BD_BYTE   0x70
 
#define LZ4_MIN_MATCH   4
 
#define LZ4_LAST_MATCH_DIST   12
 
#define LZ4_LAST_LITERAL_LENGTH   5
 
#define LZ4_TOKEN_LITERAL_MASK   0xf0
 
#define LZ4_TOKEN_MATCH_MASK   0x0f
 
#define LZ4_HASH_VALUE   0x9E3779B1
 
Copyright 2017, Texas Instruments Incorporated