#include <j2k/LZH/_huff.h>
#include <j2k/LZH/_lz.h>
#include <j2k/LZH/LZBuffer.cpp>
#include <j2k/LZH/LZHLCompressor.cpp>
Go to the source code of this file.
Defines | |
#define | LZHLINTERNAL |
Functions | |
LZHASH | _calcHash (const BYTE *src) |
|
|
|
Definition at line 9 of file Lz.cpp. Referenced by LZHLCompressor::compress().
00010 { 00011 LZHASH hash = 0; 00012 const BYTE* pEnd = src + LZMATCH; 00013 for( const BYTE* p = src; p < pEnd ; ) 00014 { 00015 UPDATE_HASH( hash, *p++ ); 00016 } 00017 return hash; 00018 } |