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 File Reference

#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)


Define Documentation

#define LZHLINTERNAL
 

Definition at line 4 of file Lz.cpp.


Function Documentation

LZHASH _calcHash const BYTE   src [inline]
 

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 }


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