4#ifndef ZIP7_INC_LZ_FIND_MT_H
5#define ZIP7_INC_LZ_FIND_MT_H
40#define kMtCacheLineDummy 128
int BoolInt
Definition 7zTypes.h:259
#define EXTERN_C_BEGIN
Definition 7zTypes.h:20
unsigned long long int UInt64
Definition 7zTypes.h:234
int SRes
Definition 7zTypes.h:45
#define EXTERN_C_END
Definition 7zTypes.h:21
EXTERN_C_BEGIN typedef UInt32 CLzRef
Definition LzFind.h:11
void MatchFinderMt_Construct(CMatchFinderMt *p)
Definition LzFindMt.c:789
SRes MatchFinderMt_Create(CMatchFinderMt *p, UInt32 historySize, UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter, ISzAllocPtr alloc)
Definition LzFindMt.c:848
#define kMtCacheLineDummy
Definition LzFindMt.h:40
void MatchFinderMt_CreateVTable(CMatchFinderMt *p, IMatchFinder2 *vTable)
void MatchFinderMt_Destruct(CMatchFinderMt *p, ISzAllocPtr alloc)
Definition LzFindMt.c:802
UInt32 *(* Mf_Mix_Matches)(struct CMatchFinderMt_ *p, UInt32 matchMinPos, UInt32 *distances)
Definition LzFindMt.h:37
SRes MatchFinderMt_InitMt(CMatchFinderMt *p)
Definition LzFindMt.c:873
void MatchFinderMt_ReleaseStream(CMatchFinderMt *p)
Definition LzFindMt.c:936
struct CMatchFinderMt_ CMatchFinderMt
void(* Mf_GetHeads)(const Byte *buffer, UInt32 pos, UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc)
Definition LzFindMt.h:42
UInt32 cyclicBufferSize
Definition LzFindMt.h:85
Mf_Mix_Matches MixMatchesFunc
Definition LzFindMt.h:61
const UInt32 * btBufPos
Definition LzFindMt.h:50
const UInt32 * crc
Definition LzFindMt.h:59
UInt32 * hash
Definition LzFindMt.h:55
const Byte * buffer
Definition LzFindMt.h:83
UInt32 failureBuf[1]
Definition LzFindMt.h:64
CMtSync btSync
Definition LzFindMt.h:68
CLzRef * son
Definition LzFindMt.h:79
UInt32 failure_BT
Definition LzFindMt.h:76
UInt32 fixedHashSize
Definition LzFindMt.h:56
UInt32 hashBufPosLimit
Definition LzFindMt.h:74
Mf_GetHeads GetHeadsFunc
Definition LzFindMt.h:93
UInt32 matchMaxLen
Definition LzFindMt.h:80
UInt32 historySize
Definition LzFindMt.h:58
CMatchFinder * MatchFinder
Definition LzFindMt.h:94
UInt32 numHashBytes
Definition LzFindMt.h:81
const UInt32 * btBufPosLimit
Definition LzFindMt.h:51
UInt32 pos
Definition LzFindMt.h:82
const Byte * pointerToCurPos
Definition LzFindMt.h:48
Byte btDummy[kMtCacheLineDummy]
Definition LzFindMt.h:69
UInt32 cutValue
Definition LzFindMt.h:86
CMtSync hashSync
Definition LzFindMt.h:89
UInt32 * hashBuf
Definition LzFindMt.h:72
UInt32 hashNumAvail
Definition LzFindMt.h:75
UInt32 hashBufPos
Definition LzFindMt.h:73
UInt32 btNumAvailBytes
Definition LzFindMt.h:53
UInt32 lzPos
Definition LzFindMt.h:52
UInt32 failure_LZ_BT
Definition LzFindMt.h:62
UInt32 cyclicBufferPos
Definition LzFindMt.h:84
UInt32 * btBuf
Definition LzFindMt.h:49
BoolInt csWasEntered
Definition LzFindMt.h:21
BoolInt csWasInitialized
Definition LzFindMt.h:20
BoolInt wasCreated
Definition LzFindMt.h:18
BoolInt needStart
Definition LzFindMt.h:19
UInt64 affinity
Definition LzFindMt.h:16
UInt32 numProcessedBlocks
Definition LzFindMt.h:14
CSemaphore filledSemaphore
Definition LzFindMt.h:29
CAutoResetEvent wasStopped
Definition LzFindMt.h:27
CThread thread
Definition LzFindMt.h:15
CCriticalSection cs
Definition LzFindMt.h:30
CSemaphore freeSemaphore
Definition LzFindMt.h:28
CAutoResetEvent canStart
Definition LzFindMt.h:26
BoolInt exit
Definition LzFindMt.h:23
BoolInt stopWriting
Definition LzFindMt.h:24
unsigned int UInt32
Definition bzlib_private.h:45
unsigned char Byte
Definition zconf.h:391