openMSX
Classes | Typedefs | Functions
LZ4 Namespace Reference

Classes

struct  HashImpl
 
struct  HashImpl< false, false >
 
struct  HashImpl< false, true >
 
struct  HashImpl< true, ARCH64 >
 

Typedefs

using reg_t = uintptr_t
 

Functions

int compress (const uint8_t *src, uint8_t *dst, int srcSize)
 
int decompress (const uint8_t *src, uint8_t *dst, int compressedSize, int dstCapacity)
 
int compressBound (int iSize)
 

Typedef Documentation

◆ reg_t

using LZ4::reg_t = typedef uintptr_t

Definition at line 44 of file lz4.cc.

Function Documentation

◆ compress()

int LZ4::compress ( const uint8_t *  src,
uint8_t *  dst,
int  srcSize 
)

Definition at line 455 of file lz4.cc.

Referenced by openmsx::DeltaBlockCopy::compress().

◆ compressBound()

int LZ4::compressBound ( int  iSize)
inline

Definition at line 51 of file lz4.hh.

Referenced by openmsx::DeltaBlockCopy::compress().

◆ decompress()

int LZ4::decompress ( const uint8_t *  src,
uint8_t *  dst,
int  compressedSize,
int  dstCapacity 
)

Definition at line 479 of file lz4.cc.

References Endian::read_UA_L16(), and unalignedStore32().

Referenced by openmsx::DeltaBlockCopy::apply().