RetroArch
|
Macros | |
#define | LZMA2_CONTROL_LZMA (1 << 7) |
#define | LZMA2_CONTROL_COPY_NO_RESET 2 |
#define | LZMA2_CONTROL_COPY_RESET_DIC 1 |
#define | LZMA2_CONTROL_EOF 0 |
#define | LZMA2_IS_UNCOMPRESSED_STATE(p) (((p)->control & LZMA2_CONTROL_LZMA) == 0) |
#define | LZMA2_GET_LZMA_MODE(p) (((p)->control >> 5) & 3) |
#define | LZMA2_IS_THERE_PROP(mode) ((mode) >= 2) |
#define | LZMA2_LCLP_MAX 4 |
#define | LZMA2_DIC_SIZE_FROM_PROP(p) (((uint32_t)2 | ((p) & 1)) << ((p) / 2 + 11)) |
#define | PRF(x) |
Functions | |
static SRes | Lzma2Dec_GetOldProps (uint8_t prop, uint8_t *props) |
SRes | Lzma2Dec_AllocateProbs (CLzma2Dec *p, uint8_t prop, ISzAlloc *alloc) |
SRes | Lzma2Dec_Allocate (CLzma2Dec *p, uint8_t prop, ISzAlloc *alloc) |
void | Lzma2Dec_Init (CLzma2Dec *p) |
static ELzma2State | Lzma2Dec_UpdateState (CLzma2Dec *p, uint8_t b) |
static void | LzmaDec_UpdateWithUncompressed (CLzmaDec *p, const uint8_t *src, size_t size) |
void | LzmaDec_InitDicAndState (CLzmaDec *p, bool initDic, bool initState) |
SRes | Lzma2Dec_DecodeToDic (CLzma2Dec *p, size_t dicLimit, const uint8_t *src, size_t *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) |
SRes | Lzma2Dec_DecodeToBuf (CLzma2Dec *p, uint8_t *dest, size_t *destLen, const uint8_t *src, size_t *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) |
SRes | Lzma2Decode (uint8_t *dest, size_t *destLen, const uint8_t *src, size_t *srcLen, uint8_t prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc) |
#define LZMA2_CONTROL_COPY_NO_RESET 2 |
#define LZMA2_CONTROL_COPY_RESET_DIC 1 |
#define LZMA2_CONTROL_EOF 0 |
#define LZMA2_CONTROL_LZMA (1 << 7) |
#define LZMA2_IS_UNCOMPRESSED_STATE | ( | p | ) | (((p)->control & LZMA2_CONTROL_LZMA) == 0) |
#define LZMA2_LCLP_MAX 4 |
#define PRF | ( | x | ) |
enum ELzma2State |
SRes Lzma2Dec_DecodeToBuf | ( | CLzma2Dec * | p, |
uint8_t * | dest, | ||
size_t * | destLen, | ||
const uint8_t * | src, | ||
size_t * | srcLen, | ||
ELzmaFinishMode | finishMode, | ||
ELzmaStatus * | status | ||
) |
SRes Lzma2Dec_DecodeToDic | ( | CLzma2Dec * | p, |
size_t | dicLimit, | ||
const uint8_t * | src, | ||
size_t * | srcLen, | ||
ELzmaFinishMode | finishMode, | ||
ELzmaStatus * | status | ||
) |
|
static |
SRes Lzma2Decode | ( | uint8_t * | dest, |
size_t * | destLen, | ||
const uint8_t * | src, | ||
size_t * | srcLen, | ||
uint8_t | prop, | ||
ELzmaFinishMode | finishMode, | ||
ELzmaStatus * | status, | ||
ISzAlloc * | alloc | ||
) |