EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Data Structures | Defines | Typedefs | Functions

IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/LzFind.h File Reference

#include "Types.h"

Go to the source code of this file.

Data Structures

struct  _CMatchFinder
struct  _IMatchFinder

Defines

#define Inline_MatchFinder_GetPointerToCurrentPos(p)   ((p)->buffer)
#define Inline_MatchFinder_GetIndexByte(p, index)   ((p)->buffer[(Int32)(index)])
#define Inline_MatchFinder_GetNumAvailableBytes(p)   ((p)->streamPos - (p)->pos)

Typedefs

typedef UInt32 CLzRef
typedef struct _CMatchFinder CMatchFinder
typedef void(* Mf_Init_Func )(void *object)
typedef Byte(* Mf_GetIndexByte_Func )(void *object, Int32 index)
typedef UInt32(* Mf_GetNumAvailableBytes_Func )(void *object)
typedef const Byte *(* Mf_GetPointerToCurrentPos_Func )(void *object)
typedef UInt32(* Mf_GetMatches_Func )(void *object, UInt32 *distances)
typedef void(* Mf_Skip_Func )(void *object, UInt32)
typedef struct _IMatchFinder IMatchFinder

Functions

int MatchFinder_NeedMove (CMatchFinder *p)
ByteMatchFinder_GetPointerToCurrentPos (CMatchFinder *p)
void MatchFinder_MoveBlock (CMatchFinder *p)
void MatchFinder_ReadIfRequired (CMatchFinder *p)
void MatchFinder_Construct (CMatchFinder *p)
int MatchFinder_Create (CMatchFinder *p, UInt32 historySize, UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter, ISzAlloc *alloc)
void MatchFinder_Free (CMatchFinder *p, ISzAlloc *alloc)
void MatchFinder_Normalize3 (UInt32 subValue, CLzRef *items, UInt32 numItems)
void MatchFinder_ReduceOffsets (CMatchFinder *p, UInt32 subValue)
UInt32GetMatchesSpec1 (UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 _cutValue, UInt32 *distances, UInt32 maxLen)
void MatchFinder_CreateVTable (CMatchFinder *p, IMatchFinder *vTable)
void MatchFinder_Init (CMatchFinder *p)
UInt32 Bt3Zip_MatchFinder_GetMatches (CMatchFinder *p, UInt32 *distances)
UInt32 Hc3Zip_MatchFinder_GetMatches (CMatchFinder *p, UInt32 *distances)
void Bt3Zip_MatchFinder_Skip (CMatchFinder *p, UInt32 num)
void Hc3Zip_MatchFinder_Skip (CMatchFinder *p, UInt32 num)

Define Documentation

#define Inline_MatchFinder_GetIndexByte (   p,
  index 
)    ((p)->buffer[(Int32)(index)])

Definition at line 50 of file LzFind.h.

#define Inline_MatchFinder_GetNumAvailableBytes (   p)    ((p)->streamPos - (p)->pos)

Definition at line 52 of file LzFind.h.

#define Inline_MatchFinder_GetPointerToCurrentPos (   p)    ((p)->buffer)

Definition at line 49 of file LzFind.h.


Typedef Documentation

typedef UInt32 CLzRef

Definition at line 9 of file LzFind.h.

typedef struct _CMatchFinder CMatchFinder
typedef struct _IMatchFinder IMatchFinder
typedef Byte(* Mf_GetIndexByte_Func)(void *object, Int32 index)

Definition at line 83 of file LzFind.h.

typedef UInt32(* Mf_GetMatches_Func)(void *object, UInt32 *distances)

Definition at line 86 of file LzFind.h.

typedef UInt32(* Mf_GetNumAvailableBytes_Func)(void *object)

Definition at line 84 of file LzFind.h.

typedef const Byte*(* Mf_GetPointerToCurrentPos_Func)(void *object)

Definition at line 85 of file LzFind.h.

typedef void(* Mf_Init_Func)(void *object)

Definition at line 82 of file LzFind.h.

typedef void(* Mf_Skip_Func)(void *object, UInt32)

Definition at line 87 of file LzFind.h.


Function Documentation

UInt32 Bt3Zip_MatchFinder_GetMatches ( CMatchFinder p,
UInt32 distances 
)

Definition at line 485 of file LzFind.c.

void Bt3Zip_MatchFinder_Skip ( CMatchFinder p,
UInt32  num 
)

Definition at line 650 of file LzFind.c.

UInt32* GetMatchesSpec1 ( UInt32  lenLimit,
UInt32  curMatch,
UInt32  pos,
const Byte buffer,
CLzRef son,
UInt32  _cyclicBufferPos,
UInt32  _cyclicBufferSize,
UInt32  _cutValue,
UInt32 distances,
UInt32  maxLen 
)

Definition at line 343 of file LzFind.c.

UInt32 Hc3Zip_MatchFinder_GetMatches ( CMatchFinder p,
UInt32 distances 
)

Definition at line 625 of file LzFind.c.

void Hc3Zip_MatchFinder_Skip ( CMatchFinder p,
UInt32  num 
)

Definition at line 711 of file LzFind.c.

void MatchFinder_Construct ( CMatchFinder p)

Definition at line 122 of file LzFind.c.

int MatchFinder_Create ( CMatchFinder p,
UInt32  historySize,
UInt32  keepAddBufferBefore,
UInt32  matchMaxLen,
UInt32  keepAddBufferAfter,
ISzAlloc alloc 
)

Definition at line 160 of file LzFind.c.

void MatchFinder_CreateVTable ( CMatchFinder p,
IMatchFinder vTable 
)

Definition at line 725 of file LzFind.c.

void MatchFinder_Free ( CMatchFinder p,
ISzAlloc alloc 
)

Definition at line 146 of file LzFind.c.

Byte* MatchFinder_GetPointerToCurrentPos ( CMatchFinder p)

Definition at line 45 of file LzFind.c.

void MatchFinder_Init ( CMatchFinder p)

Definition at line 261 of file LzFind.c.

void MatchFinder_MoveBlock ( CMatchFinder p)

Definition at line 81 of file LzFind.c.

int MatchFinder_NeedMove ( CMatchFinder p)

Definition at line 89 of file LzFind.c.

void MatchFinder_Normalize3 ( UInt32  subValue,
CLzRef items,
UInt32  numItems 
)

Definition at line 280 of file LzFind.c.

void MatchFinder_ReadIfRequired ( CMatchFinder p)

Definition at line 95 of file LzFind.c.

void MatchFinder_ReduceOffsets ( CMatchFinder p,
UInt32  subValue 
)

Definition at line 50 of file LzFind.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines