Home
last modified time | relevance | path

Searched full:posstate (Results 1 - 11 of 11) sorted by relevance

/third_party/lzma/Java/SevenZip/Compression/LZMA/
H A DEncoder.java177 for (int posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder()
179 _lowCoder[posState] = new BitTreeEncoder(Base.kNumLowLenBits); in LenEncoder()
180 _midCoder[posState] = new BitTreeEncoder(Base.kNumMidLenBits); in LenEncoder()
188 for (int posState = 0; posState < numPosStates; posState++) in Init()
190 _lowCoder[posState].Init(); in Init()
191 _midCoder[posState] in Init()
196 Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState) Encode() argument
220 SetPrices(int posState, int numSymbols, int[] prices, int st) SetPrices() argument
254 GetPrice(int symbol, int posState) GetPrice() argument
259 UpdateTable(int posState) UpdateTable() argument
271 Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState) Encode() argument
455 GetRepLen1Price(int state, int posState) GetRepLen1Price() argument
461 GetPureRepPrice(int repIndex, int state, int posState) GetPureRepPrice() argument
483 GetRepPrice(int repIndex, int len, int state, int posState) GetRepPrice() argument
489 GetPosLenPrice(int pos, int len, int posState) GetPosLenPrice() argument
1036 WriteEndMarker(int posState) WriteEndMarker() argument
[all...]
H A DDecoder.java30 for (int posState = 0; posState < m_NumPosStates; posState++) in Init()
32 m_LowCoder[posState].Init(); in Init()
33 m_MidCoder[posState].Init(); in Init()
38 public int Decode(SevenZip.Compression.RangeCoder.Decoder rangeDecoder, int posState) throws IOException in Decode() argument
41 return m_LowCoder[posState].Decode(rangeDecoder); in Decode()
44 symbol += m_MidCoder[posState].Decode(rangeDecoder); in Decode()
215 int posState = (int)nowPos64 & m_PosStateMask; in Code()
216 if (m_RangeDecoder.DecodeBit(m_IsMatchDecoders, (state << Base.kNumPosStatesBitsMax) + posState) in Code()
[all...]
/third_party/lzma/CS/7zip/Compress/LZMA/
H A DLzmaEncoder.cs177 for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++) in LenEncoder()
179 _lowCoder[posState] = new RangeCoder.BitTreeEncoder(Base.kNumLowLenBits); in LenEncoder()
180 _midCoder[posState] = new RangeCoder.BitTreeEncoder(Base.kNumMidLenBits); in LenEncoder()
188 for (UInt32 posState = 0; posState < numPosStates; posState++) in Init()
190 _lowCoder[posState].Init(); in Init()
191 _midCoder[posState] in Init()
196 Encode(RangeCoder.Encoder rangeEncoder, UInt32 symbol, UInt32 posState) Encode() argument
220 SetPrices(UInt32 posState, UInt32 numSymbols, UInt32[] prices, UInt32 st) SetPrices() argument
254 GetPrice(UInt32 symbol, UInt32 posState) GetPrice() argument
259 UpdateTable(UInt32 posState) UpdateTable() argument
271 Encode(RangeCoder.Encoder rangeEncoder, UInt32 symbol, UInt32 posState) Encode() argument
455 GetRepLen1Price(Base.State state, UInt32 posState) GetRepLen1Price() argument
461 GetPureRepPrice(UInt32 repIndex, Base.State state, UInt32 posState) GetPureRepPrice() argument
483 GetRepPrice(UInt32 repIndex, UInt32 len, Base.State state, UInt32 posState) GetRepPrice() argument
489 GetPosLenPrice(UInt32 pos, UInt32 len, UInt32 posState) GetPosLenPrice() argument
1036 WriteEndMarker(UInt32 posState) WriteEndMarker() argument
[all...]
H A DLzmaDecoder.cs22 for (uint posState = m_NumPosStates; posState < numPosStates; posState++) in Create()
24 m_LowCoder[posState] = new BitTreeDecoder(Base.kNumLowLenBits); in Create()
25 m_MidCoder[posState] = new BitTreeDecoder(Base.kNumMidLenBits); in Create()
33 for (uint posState = 0; posState < m_NumPosStates; posState++) in Init()
35 m_LowCoder[posState].Init(); in Init()
36 m_MidCoder[posState] in Init()
42 Decode(RangeCoder.Decoder rangeDecoder, uint posState) Decode() argument
[all...]
/third_party/lzma/C/
H A DLzmaEnc.c337 #define GET_PRICE_LEN(p, posState, len) \
338 ((p)->prices[posState][(size_t)(len) - LZMA_MATCH_LEN_MIN])
341 #define GET_PRICE_LEN(p, posState, len) \
342 ((p)->prices2[(size_t)(len) - 2] + ((p)->prices1[posState][((len) - 2) & (kLenNumLowSymbols * 2 - 1)] & (((len) - 2 - kLenNumLowSymbols * 2) >> 9)))
928 static void LenEnc_Encode(CLenEnc *p, CRangeEnc *rc, unsigned sym, unsigned posState) in LenEnc_Encode() argument
950 // RcTree_Encode(rc, probs + (posState << kLenNumLowBits), kLenNumLowBits, sym); in LenEnc_Encode()
955 probs += (posState << (1 + kLenNumLowBits)); in LenEnc_Encode()
990 unsigned posState; in LenPriceEnc_UpdateTables() local
994 for (posState = 0; posState < numPosState in LenPriceEnc_UpdateTables()
1058 unsigned posState; LenPriceEnc_UpdateTables() local
1142 GetPrice_PureRep(const CLzmaEnc *p, unsigned repIndex, size_t state, size_t posState) GetPrice_PureRep() argument
1228 unsigned numPairs, mainLen, repMaxIndex, i, posState; GetOptimum() local
1446 unsigned newLen, numPairs, prev, state, posState, startLen; GetOptimum() local
2100 WriteEndMarker(CLzmaEnc *p, unsigned posState) WriteEndMarker() argument
2425 unsigned len, posState; LzmaEnc_CodeOneBlock() local
[all...]
H A DLzmaDec.c168 #define COMBINED_PS_STATE (posState + state)
169 #define GET_LEN_STATE (posState)
260 unsigned posState = CALC_POS_STATE(processedPos, pbMask); in LZMA_DECODE_REAL() local
729 unsigned posState = CALC_POS_STATE(p->processedPos, ((unsigned)1 << p->prop.pb) - 1); in LzmaDec_TryDummy() local
/third_party/lzma/CPP/7zip/Bundles/LzmaSpec/
H A DLzmaSpec.cpp295 unsigned Decode(CRangeDecoder *rc, unsigned posState) in Decode() argument
298 return LowCoder[posState].Decode(rc); in Decode()
300 return 8 + MidCoder[posState].Decode(rc); in Decode()
483 unsigned posState = OutWindow.TotalPos & ((1 << pb) - 1); in Decode() local
485 if (RangeDec.DecodeBit(&IsMatch[(state << kNumPosBitsMax) + posState]) == 0) in Decode()
505 if (RangeDec.DecodeBit(&IsRep0Long[(state << kNumPosBitsMax) + posState]) == 0) in Decode()
532 len = RepLenDecoder.Decode(&RangeDec, posState); in Decode()
540 len = LenDecoder.Decode(&RangeDec, posState); in Decode()
/third_party/lzma/DOC/
H A Dlzma-specification.txt655 0 xxx LowCoder[posState] xxx
656 1 0 yyy MidCoder[posState] yyy + 8
662 LowCoder[posState] to decode 3-bit zero-based match length (xxx).
668 MidCoder[posState] to decode 3-bit "yyy" value, and zero-based match
675 LZMA uses "posState" value as context to select the binary tree
678 unsigned posState = OutWindow.TotalPos & ((1 << pb) - 1);
704 unsigned Decode(CRangeDecoder *rc, unsigned posState)
707 return LowCoder[posState].Decode(rc);
709 return 8 + MidCoder[posState].Decode(rc);
964 unsigned posState
[all...]
/third_party/lzma/Asm/x86/
H A DLzmaDecOpt.asm583 ; prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/u-boot-v2019.07/hisilicon_patch/
H A Dhisilicon-u-boot-v2019.07.patch451 probLen = prob + LenLow + (posState << kLenNumLowBits);
460 probLen = prob + LenMid + (posState << kLenNumMidBits);
/third_party/lzma/Asm/arm64/
H A DLzmaDecOpt.S686 # prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;

Completed in 37 milliseconds