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

Go to the source code of this file.

Classes

struct  _CLzmaProps
 
struct  CLzmaDec
 

Macros

#define LZMA_PROPS_SIZE   5
 
#define LZMA_REQUIRED_INPUT_MAX   20
 
#define LzmaDec_Construct(p)   { (p)->dic = 0; (p)->probs = 0; }
 

Typedefs

typedef struct _CLzmaProps CLzmaProps
 

Enumerations

enum  ELzmaFinishMode { LZMA_FINISH_ANY, LZMA_FINISH_END }
 
enum  ELzmaStatus {
  LZMA_STATUS_NOT_SPECIFIED, LZMA_STATUS_FINISHED_WITH_MARK, LZMA_STATUS_NOT_FINISHED, LZMA_STATUS_NEEDS_MORE_INPUT,
  LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK
}
 

Functions

SRes LzmaProps_Decode (CLzmaProps *p, const uint8_t *data, unsigned size)
 
void LzmaDec_Init (CLzmaDec *p)
 
SRes LzmaDec_AllocateProbs (CLzmaDec *p, const uint8_t *props, unsigned propsSize, ISzAlloc *alloc)
 
void LzmaDec_FreeProbs (CLzmaDec *p, ISzAlloc *alloc)
 
SRes LzmaDec_Allocate (CLzmaDec *state, const uint8_t *prop, unsigned propsSize, ISzAlloc *alloc)
 
void LzmaDec_Free (CLzmaDec *state, ISzAlloc *alloc)
 
SRes LzmaDec_DecodeToDic (CLzmaDec *p, size_t dicLimit, const uint8_t *src, size_t *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
 
SRes LzmaDec_DecodeToBuf (CLzmaDec *p, uint8_t *dest, size_t *destLen, const uint8_t *src, size_t *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
 
SRes LzmaDecode (uint8_t *dest, size_t *destLen, const uint8_t *src, size_t *srcLen, const uint8_t *propData, unsigned propSize, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc)
 

Macro Definition Documentation

◆ LZMA_PROPS_SIZE

#define LZMA_PROPS_SIZE   5

◆ LZMA_REQUIRED_INPUT_MAX

#define LZMA_REQUIRED_INPUT_MAX   20

◆ LzmaDec_Construct

#define LzmaDec_Construct (   p)    { (p)->dic = 0; (p)->probs = 0; }

Typedef Documentation

◆ CLzmaProps

typedef struct _CLzmaProps CLzmaProps

Enumeration Type Documentation

◆ ELzmaFinishMode

Enumerator
LZMA_FINISH_ANY 
LZMA_FINISH_END 

◆ ELzmaStatus

Enumerator
LZMA_STATUS_NOT_SPECIFIED 
LZMA_STATUS_FINISHED_WITH_MARK 
LZMA_STATUS_NOT_FINISHED 
LZMA_STATUS_NEEDS_MORE_INPUT 
LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK 

Function Documentation

◆ LzmaDec_Allocate()

SRes LzmaDec_Allocate ( CLzmaDec state,
const uint8_t prop,
unsigned  propsSize,
ISzAlloc alloc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LzmaDec_AllocateProbs()

SRes LzmaDec_AllocateProbs ( CLzmaDec p,
const uint8_t props,
unsigned  propsSize,
ISzAlloc alloc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LzmaDec_DecodeToBuf()

SRes LzmaDec_DecodeToBuf ( CLzmaDec p,
uint8_t dest,
size_t *  destLen,
const uint8_t src,
size_t *  srcLen,
ELzmaFinishMode  finishMode,
ELzmaStatus status 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LzmaDec_DecodeToDic()

SRes LzmaDec_DecodeToDic ( CLzmaDec p,
size_t  dicLimit,
const uint8_t src,
size_t *  srcLen,
ELzmaFinishMode  finishMode,
ELzmaStatus status 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LzmaDec_Free()

void LzmaDec_Free ( CLzmaDec state,
ISzAlloc alloc 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LzmaDec_FreeProbs()

void LzmaDec_FreeProbs ( CLzmaDec p,
ISzAlloc alloc 
)
Here is the caller graph for this function:

◆ LzmaDec_Init()

void LzmaDec_Init ( CLzmaDec p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LzmaDecode()

SRes LzmaDecode ( uint8_t dest,
size_t *  destLen,
const uint8_t src,
size_t *  srcLen,
const uint8_t propData,
unsigned  propSize,
ELzmaFinishMode  finishMode,
ELzmaStatus status,
ISzAlloc alloc 
)
Here is the call graph for this function:

◆ LzmaProps_Decode()

SRes LzmaProps_Decode ( CLzmaProps p,
const uint8_t data,
unsigned  size 
)
Here is the caller graph for this function: