Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/LZH/Lz.cpp

Go to the documentation of this file.
00001 #ifndef __J2K__LZH__LZ_CPP__
00002 #define __J2K__LZH__LZ_CPP__
00003 
00004 #define LZHLINTERNAL
00005 
00006 #include <j2k/LZH/_huff.h>
00007 #include <j2k/LZH/_lz.h>
00008 
00009 inline LZHASH _calcHash( const BYTE* src ) 
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 }
00019 
00020 #include <j2k/LZH/LZBuffer.cpp>
00021 #include <j2k/LZH/LZHLCompressor.cpp>
00022 
00023 #endif

Generated on Sun Oct 14 18:46:32 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001