|
void | LzmaEncProps_Init (CLzmaEncProps *p) |
|
void | LzmaEncProps_Normalize (CLzmaEncProps *p) |
|
uint32_t | LzmaEncProps_GetDictSize (const CLzmaEncProps *props2) |
|
static void | LzmaEnc_FastPosInit (unsigned char *g_FastPos) |
|
void | LzmaEnc_SaveState (CLzmaEncHandle pp) |
|
void | LzmaEnc_RestoreState (CLzmaEncHandle pp) |
|
SRes | LzmaEnc_SetProps (CLzmaEncHandle pp, const CLzmaEncProps *props2) |
|
static void | RangeEnc_Construct (CRangeEnc *p) |
|
static int | RangeEnc_Alloc (CRangeEnc *p, ISzAlloc *alloc) |
|
static void | RangeEnc_Free (CRangeEnc *p, ISzAlloc *alloc) |
|
static void | RangeEnc_Init (CRangeEnc *p) |
|
static void | RangeEnc_FlushStream (CRangeEnc *p) |
|
static void MY_FAST_CALL | RangeEnc_ShiftLow (CRangeEnc *p) |
|
static void | RangeEnc_FlushData (CRangeEnc *p) |
|
static void | RangeEnc_EncodeDirectBits (CRangeEnc *p, uint32_t value, unsigned numBits) |
|
static void | RangeEnc_EncodeBit (CRangeEnc *p, CLzmaProb *prob, uint32_t symbol) |
|
static void | LitEnc_Encode (CRangeEnc *p, CLzmaProb *probs, uint32_t symbol) |
|
static void | LitEnc_EncodeMatched (CRangeEnc *p, CLzmaProb *probs, uint32_t symbol, uint32_t matchByte) |
|
static void | LzmaEnc_InitPriceTables (uint32_t *ProbPrices) |
|
static uint32_t | LitEnc_GetPrice (const CLzmaProb *probs, uint32_t symbol, const uint32_t *ProbPrices) |
|
static uint32_t | LitEnc_GetPriceMatched (const CLzmaProb *probs, uint32_t symbol, uint32_t matchByte, const uint32_t *ProbPrices) |
|
static void | RcTree_Encode (CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, uint32_t symbol) |
|
static void | RcTree_ReverseEncode (CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, uint32_t symbol) |
|
static uint32_t | RcTree_GetPrice (const CLzmaProb *probs, int numBitLevels, uint32_t symbol, const uint32_t *ProbPrices) |
|
static uint32_t | RcTree_ReverseGetPrice (const CLzmaProb *probs, int numBitLevels, uint32_t symbol, const uint32_t *ProbPrices) |
|
static void | LenEnc_Init (CLenEnc *p) |
|
static void | LenEnc_Encode (CLenEnc *p, CRangeEnc *rc, uint32_t symbol, uint32_t posState) |
|
static void | LenEnc_SetPrices (CLenEnc *p, uint32_t posState, uint32_t numSymbols, uint32_t *prices, const uint32_t *ProbPrices) |
|
static void MY_FAST_CALL | LenPriceEnc_UpdateTable (CLenPriceEnc *p, uint32_t posState, const uint32_t *ProbPrices) |
|
static void | LenPriceEnc_UpdateTables (CLenPriceEnc *p, uint32_t numPosStates, const uint32_t *ProbPrices) |
|
static void | LenEnc_Encode2 (CLenPriceEnc *p, CRangeEnc *rc, uint32_t symbol, uint32_t posState, bool updatePrice, const uint32_t *ProbPrices) |
|
static void | MovePos (CLzmaEnc *p, uint32_t num) |
|
static uint32_t | ReadMatchDistances (CLzmaEnc *p, uint32_t *numDistancePairsRes) |
|
static uint32_t | GetRepLen1Price (CLzmaEnc *p, uint32_t state, uint32_t posState) |
|
static uint32_t | GetPureRepPrice (CLzmaEnc *p, uint32_t repIndex, uint32_t state, uint32_t posState) |
|
static uint32_t | GetRepPrice (CLzmaEnc *p, uint32_t repIndex, uint32_t len, uint32_t state, uint32_t posState) |
|
static uint32_t | Backward (CLzmaEnc *p, uint32_t *backRes, uint32_t cur) |
|
static uint32_t | GetOptimum (CLzmaEnc *p, uint32_t position, uint32_t *backRes) |
|
static uint32_t | GetOptimumFast (CLzmaEnc *p, uint32_t *backRes) |
|
static void | WriteEndMarker (CLzmaEnc *p, uint32_t posState) |
|
static SRes | CheckErrors (CLzmaEnc *p) |
|
static SRes | Flush (CLzmaEnc *p, uint32_t nowPos) |
|
static void | FillAlignPrices (CLzmaEnc *p) |
|
static void | FillDistancesPrices (CLzmaEnc *p) |
|
void | LzmaEnc_Construct (CLzmaEnc *p) |
|
CLzmaEncHandle | LzmaEnc_Create (ISzAlloc *alloc) |
|
void | LzmaEnc_FreeLits (CLzmaEnc *p, ISzAlloc *alloc) |
|
void | LzmaEnc_Destruct (CLzmaEnc *p, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
void | LzmaEnc_Destroy (CLzmaEncHandle p, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
static SRes | LzmaEnc_CodeOneBlock (CLzmaEnc *p, bool useLimits, uint32_t maxPackSize, uint32_t maxUnpackSize) |
|
static SRes | LzmaEnc_Alloc (CLzmaEnc *p, uint32_t keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
void | LzmaEnc_Init (CLzmaEnc *p) |
|
void | LzmaEnc_InitPrices (CLzmaEnc *p) |
|
static SRes | LzmaEnc_AllocAndInit (CLzmaEnc *p, uint32_t keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
static SRes | LzmaEnc_Prepare (CLzmaEncHandle pp, ISeqOutStream *outStream, ISeqInStream *inStream, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
SRes | LzmaEnc_PrepareForLzma2 (CLzmaEncHandle pp, ISeqInStream *inStream, uint32_t keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
static void | LzmaEnc_SetInputBuf (CLzmaEnc *p, const unsigned char *src, size_t srcLen) |
|
SRes | LzmaEnc_MemPrepare (CLzmaEncHandle pp, const unsigned char *src, size_t srcLen, uint32_t keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
void | LzmaEnc_Finish (CLzmaEncHandle pp) |
|
static size_t | MyWrite (void *pp, const void *data, size_t size) |
|
uint32_t | LzmaEnc_GetNumAvailableBytes (CLzmaEncHandle pp) |
|
const unsigned char * | LzmaEnc_GetCurBuf (CLzmaEncHandle pp) |
|
SRes | LzmaEnc_CodeOneMemBlock (CLzmaEncHandle pp, bool reInit, unsigned char *dest, size_t *destLen, uint32_t desiredPackSize, uint32_t *unpackSize) |
|
static SRes | LzmaEnc_Encode2 (CLzmaEnc *p, ICompressProgress *progress) |
|
SRes | LzmaEnc_Encode (CLzmaEncHandle pp, ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
SRes | LzmaEnc_WriteProperties (CLzmaEncHandle pp, unsigned char *props, size_t *size) |
|
SRes | LzmaEnc_MemEncode (CLzmaEncHandle pp, unsigned char *dest, size_t *destLen, const unsigned char *src, size_t srcLen, int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
SRes | LzmaEncode (unsigned char *dest, size_t *destLen, const unsigned char *src, size_t srcLen, const CLzmaEncProps *props, unsigned char *propsEncoded, size_t *propsSize, int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) |
|
|
static const int | kLiteralNextStates [kNumStates] = {0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 4, 5} |
|
static const int | kMatchNextStates [kNumStates] = {7, 7, 7, 7, 7, 7, 7, 10, 10, 10, 10, 10} |
|
static const int | kRepNextStates [kNumStates] = {8, 8, 8, 8, 8, 8, 8, 11, 11, 11, 11, 11} |
|
static const int | kShortRepNextStates [kNumStates] = {9, 9, 9, 9, 9, 9, 9, 11, 11, 11, 11, 11} |
|