RetroArch
Classes | Macros | Typedefs | Functions | Variables
LzFind.h File Reference
#include "7zTypes.h"
Include dependency graph for LzFind.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CMatchFinder
 
struct  _IMatchFinder
 

Macros

#define Inline_MatchFinder_GetPointerToCurrentPos(p)   ((p)->buffer)
 
#define Inline_MatchFinder_GetNumAvailableBytes(p)   ((p)->streamPos - (p)->pos)
 
#define Inline_MatchFinder_IsFinishedOK(p)
 

Typedefs

typedef struct _CMatchFinder CMatchFinder
 
typedef void(* Mf_Init_Func) (void *object)
 
typedef uint32_t(* Mf_GetNumAvailableBytes_Func) (void *object)
 
typedef const unsigned char *(* Mf_GetPointerToCurrentPos_Func) (void *object)
 
typedef uint32_t(* Mf_GetMatches_Func) (void *object, uint32_t *distances)
 
typedef void(* Mf_Skip_Func) (void *object, uint32_t)
 
typedef struct _IMatchFinder IMatchFinder
 

Functions

int MatchFinder_NeedMove (CMatchFinder *p)
 
unsigned char * MatchFinder_GetPointerToCurrentPos (CMatchFinder *p)
 
void MatchFinder_MoveBlock (CMatchFinder *p)
 
void MatchFinder_ReadIfRequired (CMatchFinder *p)
 
void MatchFinder_Construct (CMatchFinder *p)
 
int MatchFinder_Create (CMatchFinder *p, uint32_t historySize, uint32_t keepAddBufferBefore, uint32_t matchMaxLen, uint32_t keepAddBufferAfter, ISzAlloc *alloc)
 
void MatchFinder_Free (CMatchFinder *p, ISzAlloc *alloc)
 
void MatchFinder_Normalize3 (uint32_t subValue, CLzRef *items, size_t numItems)
 
void MatchFinder_ReduceOffsets (CMatchFinder *p, uint32_t subValue)
 
uint32_tGetMatchesSpec1 (uint32_t lenLimit, uint32_t curMatch, uint32_t pos, const unsigned char *buffer, CLzRef *son, uint32_t _cyclicBufferPos, uint32_t _cyclicBufferSize, uint32_t _cutValue, uint32_t *distances, uint32_t maxLen)
 
void MatchFinder_CreateVTable (CMatchFinder *p, IMatchFinder *vTable)
 
void MatchFinder_Init_2 (CMatchFinder *p, int readData)
 
void MatchFinder_Init (CMatchFinder *p)
 
uint32_t Bt3Zip_MatchFinder_GetMatches (CMatchFinder *p, uint32_t *distances)
 
uint32_t Hc3Zip_MatchFinder_GetMatches (CMatchFinder *p, uint32_t *distances)
 
void Bt3Zip_MatchFinder_Skip (CMatchFinder *p, uint32_t num)
 
void Hc3Zip_MatchFinder_Skip (CMatchFinder *p, uint32_t num)
 

Variables

EXTERN_C_BEGIN typedef uint32_t CLzRef
 

Macro Definition Documentation

◆ Inline_MatchFinder_GetNumAvailableBytes

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

◆ Inline_MatchFinder_GetPointerToCurrentPos

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

◆ Inline_MatchFinder_IsFinishedOK

#define Inline_MatchFinder_IsFinishedOK (   p)
Value:
((p)->streamEndWasReached \
&& (p)->streamPos == (p)->pos \
&& (!(p)->directInput || (p)->directInputRem == 0))
GLfloat GLfloat p
Definition: glext.h:9809

Typedef Documentation

◆ CMatchFinder

typedef struct _CMatchFinder CMatchFinder

◆ IMatchFinder

typedef struct _IMatchFinder IMatchFinder

◆ Mf_GetMatches_Func

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

◆ Mf_GetNumAvailableBytes_Func

typedef uint32_t(* Mf_GetNumAvailableBytes_Func) (void *object)

◆ Mf_GetPointerToCurrentPos_Func

typedef const unsigned char*(* Mf_GetPointerToCurrentPos_Func) (void *object)

◆ Mf_Init_Func

typedef void(* Mf_Init_Func) (void *object)

◆ Mf_Skip_Func

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

Function Documentation

◆ Bt3Zip_MatchFinder_GetMatches()

uint32_t Bt3Zip_MatchFinder_GetMatches ( CMatchFinder p,
uint32_t distances 
)

◆ Bt3Zip_MatchFinder_Skip()

void Bt3Zip_MatchFinder_Skip ( CMatchFinder p,
uint32_t  num 
)

◆ GetMatchesSpec1()

uint32_t* GetMatchesSpec1 ( uint32_t  lenLimit,
uint32_t  curMatch,
uint32_t  pos,
const unsigned char *  buffer,
CLzRef son,
uint32_t  _cyclicBufferPos,
uint32_t  _cyclicBufferSize,
uint32_t  _cutValue,
uint32_t distances,
uint32_t  maxLen 
)

◆ Hc3Zip_MatchFinder_GetMatches()

uint32_t Hc3Zip_MatchFinder_GetMatches ( CMatchFinder p,
uint32_t distances 
)
Here is the call graph for this function:

◆ Hc3Zip_MatchFinder_Skip()

void Hc3Zip_MatchFinder_Skip ( CMatchFinder p,
uint32_t  num 
)

◆ MatchFinder_Construct()

void MatchFinder_Construct ( CMatchFinder p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MatchFinder_Create()

int MatchFinder_Create ( CMatchFinder p,
uint32_t  historySize,
uint32_t  keepAddBufferBefore,
uint32_t  matchMaxLen,
uint32_t  keepAddBufferAfter,
ISzAlloc alloc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MatchFinder_CreateVTable()

void MatchFinder_CreateVTable ( CMatchFinder p,
IMatchFinder vTable 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MatchFinder_Free()

void MatchFinder_Free ( CMatchFinder p,
ISzAlloc alloc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MatchFinder_GetPointerToCurrentPos()

unsigned char* MatchFinder_GetPointerToCurrentPos ( CMatchFinder p)
Here is the caller graph for this function:

◆ MatchFinder_Init()

void MatchFinder_Init ( CMatchFinder p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MatchFinder_Init_2()

void MatchFinder_Init_2 ( CMatchFinder p,
int  readData 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MatchFinder_MoveBlock()

void MatchFinder_MoveBlock ( CMatchFinder p)
Here is the caller graph for this function:

◆ MatchFinder_NeedMove()

int MatchFinder_NeedMove ( CMatchFinder p)
Here is the caller graph for this function:

◆ MatchFinder_Normalize3()

void MatchFinder_Normalize3 ( uint32_t  subValue,
CLzRef items,
size_t  numItems 
)
Here is the caller graph for this function:

◆ MatchFinder_ReadIfRequired()

void MatchFinder_ReadIfRequired ( CMatchFinder p)
Here is the call graph for this function:

◆ MatchFinder_ReduceOffsets()

void MatchFinder_ReduceOffsets ( CMatchFinder p,
uint32_t  subValue 
)
Here is the caller graph for this function:

Variable Documentation

◆ CLzRef

EXTERN_C_BEGIN typedef uint32_t CLzRef