Maven module :un.storage : archive-xz :
Class :
un.storage.archive.xz.lzma.LZMAEncoder
Extends/Implements :
un.storage.archive.xz.lzma.LZMACoder
Subclasses : -
Variables :
MODE_FAST,
MODE_NORMAL,
lz,
literalEncoder,
matchLenEncoder,
repLenEncoder,
niceLen,
back,
readAhead
Functions :
getMemoryUsage,
getInstance,
getDistSlot,
getNextSymbol,
LZMAEncoder,
getLZEncoder,
reset,
getUncompressedSize,
resetUncompressedSize,
encodeForLZMA2,
getMatches,
skip,
getAnyMatchPrice,
getNormalMatchPrice,
getAnyRepPrice,
getShortRepPrice,
getLongRepPrice,
getLongRepAndLenPrice,
getMatchAndLenPrice,
updatePrices
public int
MODE_FAST
public int
MODE_NORMAL
LZEncoder
lz
LiteralEncoder
literalEncoder
LengthEncoder
matchLenEncoder
LengthEncoder
repLenEncoder
int
niceLen
int
back
int
readAhead
public int
getMemoryUsage (int mode, int dictSize, int extraSizeBefore, int mf)
public LZMAEncoder
getInstance (RangeEncoder rc, int lc, int lp, int pb, int mode, int dictSize, int extraSizeBefore, int niceLen, int mf, int depthLimit)
public int
getDistSlot (int dist)
int
getNextSymbol ()
void
LZMAEncoder (RangeEncoder rc, LZEncoder lz, int lc, int lp, int pb, int dictSize, int niceLen)
public LZEncoder
getLZEncoder ()
public void
reset ()
public int
getUncompressedSize ()
public void
resetUncompressedSize ()
public boolean
encodeForLZMA2 ()
Matches
getMatches ()
void
skip (int len)
int
getAnyMatchPrice (State state, int posState)
int
getNormalMatchPrice (int anyMatchPrice, State state)
int
getAnyRepPrice (int anyMatchPrice, State state)
int
getShortRepPrice (int anyRepPrice, State state, int posState)
int
getLongRepPrice (int anyRepPrice, int rep, State state, int posState)
int
getLongRepAndLenPrice (int rep, int len, State state, int posState)
int
getMatchAndLenPrice (int normalMatchPrice, int dist, int len, int posState)
void
updatePrices ()
LZMAEncoder
Authors: Lasse Collin
Igor Pavlov
This file has been put into the public domain.
You can do whatever you want with this file.