/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/lzma/CPP/7zip/Compress/LZMA/ |
H A D | LZMAEncoder.h | 178 void Encode(NRangeCoder::CEncoder *rangeEncoder, UInt32 symbol, UInt32 posState);
179 void SetPrices(UInt32 posState, UInt32 numSymbols, UInt32 *prices) const;
191 UInt32 GetPrice(UInt32 symbol, UInt32 posState) const { return _prices[posState][symbol]; }
192 void UpdateTable(UInt32 posState)
argument 194 SetPrices(posState, _tableSize, _prices[posState]);
195 _counters[posState] = _tableSize;
199 for (UInt32 posState = 0; posState < numPosState 202 Encode(NRangeCoder::CEncoder *rangeEncoder, UInt32 symbol, UInt32 posState, bool updatePrice) argument [all...] |
H A D | LZMADecoder.h | 130 for (UInt32 posState = 0; posState < numPosStates; posState++)
132 _lowCoder[posState].Init();
133 _midCoder[posState].Init();
137 UInt32 Decode(NRangeCoder::CDecoder *rangeDecoder, UInt32 posState)
argument 140 return _lowCoder[posState].Decode(rangeDecoder);
142 return kNumLowSymbols + _midCoder[posState].Decode(rangeDecoder);
|
H A D | LZMAEncoder.cpp | 138 for (UInt32 posState = 0; posState < numPosStates; posState++)
140 _lowCoder[posState].Init();
141 _midCoder[posState].Init();
146 void CEncoder::Encode(NRangeCoder::CEncoder *rangeEncoder, UInt32 symbol, UInt32 posState)
argument 151 _lowCoder[posState].Encode(rangeEncoder, symbol);
159 _midCoder[posState].Encode(rangeEncoder, symbol - kNumLowSymbols);
169 void CEncoder::SetPrices(UInt32 posState, UInt32 numSymbols, UInt32 *prices) const
argument 180 prices[i] = a0 + _lowCoder[posState] 651 UInt32 posState = (position & _posStateMask); local 825 UInt32 posState = (position & _posStateMask); local 1248 WriteEndMarker(UInt32 posState) argument 1352 UInt32 posState = UInt32(nowPos64) & _posStateMask; local 1381 UInt32 posState = nowPos32 & _posStateMask; local [all...] |
H A D | LZMADecoder.cpp | 96 UInt32 posState = UInt32(nowPos64) & _posStateMask;
97 if (_isMatch[state.Index][posState].Decode(&_rangeDecoder) == 0)
118 if(_isRep0Long[state.Index][posState].Decode(&_rangeDecoder) == 0)
145 len = _repMatchLenDecoder.Decode(&_rangeDecoder, posState) + kMatchMinLen;
154 len = kMatchMinLen + _lenDecoder.Decode(&_rangeDecoder, posState);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/lzma/CPP/7zip/Compress/LZMA/ |
H A D | LZMAEncoder.h | 178 void Encode(NRangeCoder::CEncoder *rangeEncoder, UInt32 symbol, UInt32 posState);
179 void SetPrices(UInt32 posState, UInt32 numSymbols, UInt32 *prices) const;
191 UInt32 GetPrice(UInt32 symbol, UInt32 posState) const { return _prices[posState][symbol]; }
192 void UpdateTable(UInt32 posState)
argument 194 SetPrices(posState, _tableSize, _prices[posState]);
195 _counters[posState] = _tableSize;
199 for (UInt32 posState = 0; posState < numPosState 202 Encode(NRangeCoder::CEncoder *rangeEncoder, UInt32 symbol, UInt32 posState, bool updatePrice) argument [all...] |
H A D | LZMADecoder.h | 130 for (UInt32 posState = 0; posState < numPosStates; posState++)
132 _lowCoder[posState].Init();
133 _midCoder[posState].Init();
137 UInt32 Decode(NRangeCoder::CDecoder *rangeDecoder, UInt32 posState)
argument 140 return _lowCoder[posState].Decode(rangeDecoder);
142 return kNumLowSymbols + _midCoder[posState].Decode(rangeDecoder);
|
H A D | LZMAEncoder.cpp | 138 for (UInt32 posState = 0; posState < numPosStates; posState++)
140 _lowCoder[posState].Init();
141 _midCoder[posState].Init();
146 void CEncoder::Encode(NRangeCoder::CEncoder *rangeEncoder, UInt32 symbol, UInt32 posState)
argument 151 _lowCoder[posState].Encode(rangeEncoder, symbol);
159 _midCoder[posState].Encode(rangeEncoder, symbol - kNumLowSymbols);
169 void CEncoder::SetPrices(UInt32 posState, UInt32 numSymbols, UInt32 *prices) const
argument 180 prices[i] = a0 + _lowCoder[posState] 651 UInt32 posState = (position & _posStateMask); local 825 UInt32 posState = (position & _posStateMask); local 1248 WriteEndMarker(UInt32 posState) argument 1352 UInt32 posState = UInt32(nowPos64) & _posStateMask; local 1381 UInt32 posState = nowPos32 & _posStateMask; local [all...] |
H A D | LZMADecoder.cpp | 96 UInt32 posState = UInt32(nowPos64) & _posStateMask;
97 if (_isMatch[state.Index][posState].Decode(&_rangeDecoder) == 0)
118 if(_isRep0Long[state.Index][posState].Decode(&_rangeDecoder) == 0)
145 len = _repMatchLenDecoder.Decode(&_rangeDecoder, posState) + kMatchMinLen;
154 len = kMatchMinLen + _lenDecoder.Decode(&_rangeDecoder, posState);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/lzma/CPP/7zip/Compress/LZMA/ |
H A D | LZMAEncoder.h | 178 void Encode(NRangeCoder::CEncoder *rangeEncoder, UInt32 symbol, UInt32 posState);
179 void SetPrices(UInt32 posState, UInt32 numSymbols, UInt32 *prices) const;
191 UInt32 GetPrice(UInt32 symbol, UInt32 posState) const { return _prices[posState][symbol]; }
192 void UpdateTable(UInt32 posState)
argument 194 SetPrices(posState, _tableSize, _prices[posState]);
195 _counters[posState] = _tableSize;
199 for (UInt32 posState = 0; posState < numPosState 202 Encode(NRangeCoder::CEncoder *rangeEncoder, UInt32 symbol, UInt32 posState, bool updatePrice) argument [all...] |
H A D | LZMADecoder.h | 130 for (UInt32 posState = 0; posState < numPosStates; posState++)
132 _lowCoder[posState].Init();
133 _midCoder[posState].Init();
137 UInt32 Decode(NRangeCoder::CDecoder *rangeDecoder, UInt32 posState)
argument 140 return _lowCoder[posState].Decode(rangeDecoder);
142 return kNumLowSymbols + _midCoder[posState].Decode(rangeDecoder);
|
H A D | LZMAEncoder.cpp | 138 for (UInt32 posState = 0; posState < numPosStates; posState++)
140 _lowCoder[posState].Init();
141 _midCoder[posState].Init();
146 void CEncoder::Encode(NRangeCoder::CEncoder *rangeEncoder, UInt32 symbol, UInt32 posState)
argument 151 _lowCoder[posState].Encode(rangeEncoder, symbol);
159 _midCoder[posState].Encode(rangeEncoder, symbol - kNumLowSymbols);
169 void CEncoder::SetPrices(UInt32 posState, UInt32 numSymbols, UInt32 *prices) const
argument 180 prices[i] = a0 + _lowCoder[posState] 651 UInt32 posState = (position & _posStateMask); local 825 UInt32 posState = (position & _posStateMask); local 1248 WriteEndMarker(UInt32 posState) argument 1352 UInt32 posState = UInt32(nowPos64) & _posStateMask; local 1381 UInt32 posState = nowPos32 & _posStateMask; local [all...] |
H A D | LZMADecoder.cpp | 96 UInt32 posState = UInt32(nowPos64) & _posStateMask;
97 if (_isMatch[state.Index][posState].Decode(&_rangeDecoder) == 0)
118 if(_isRep0Long[state.Index][posState].Decode(&_rangeDecoder) == 0)
145 len = _repMatchLenDecoder.Decode(&_rangeDecoder, posState) + kMatchMinLen;
154 len = kMatchMinLen + _lenDecoder.Decode(&_rangeDecoder, posState);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/tools/misc/lzma_src/C/ |
H A D | LzmaEnc.c | 756 static void LenEnc_Encode(CLenEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState)
argument 761 RcTree_Encode(rc, p->low + (posState << kLenNumLowBits), kLenNumLowBits, symbol);
769 RcTree_Encode(rc, p->mid + (posState << kLenNumMidBits), kLenNumMidBits, symbol - kLenNumLowSymbols);
779 static void LenEnc_SetPrices(CLenEnc *p, UInt32 posState, UInt32 numSymbols, UInt32 *prices, UInt32 *ProbPrices)
argument 790 prices[i] = a0 + RcTree_GetPrice(p->low + (posState << kLenNumLowBits), kLenNumLowBits, i, ProbPrices);
796 prices[i] = b0 + RcTree_GetPrice(p->mid + (posState << kLenNumMidBits), kLenNumMidBits, i - kLenNumLowSymbols, ProbPrices);
802 static void MY_FAST_CALL LenPriceEnc_UpdateTable(CLenPriceEnc *p, UInt32 posState, UInt32 *ProbPrices)
argument 804 LenEnc_SetPrices(&p->p, posState, p->tableSize, p->prices[posState], ProbPrices);
805 p->counters[posState] 810 UInt32 posState; local 815 LenEnc_Encode2(CLenPriceEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState, Bool updatePrice, UInt32 *ProbPrices) argument 879 GetRepLen1Price(CLzmaEnc *p, UInt32 state, UInt32 posState) argument 886 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState) argument 908 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState) argument 954 UInt32 numAvail, mainLen, numPairs, repMaxIndex, i, posState, lenEnd, len, cur; local 1149 UInt32 numAvailFull, newLen, numPairs, posPrev, state, posState, startLen; local 1620 WriteEndMarker(CLzmaEnc *p, UInt32 posState) argument 1791 UInt32 pos, len, posState; local [all...] |
H A D | LzmaDec.c | 165 unsigned posState = processedPos & pbMask;
local 167 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
224 prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState;
275 probLen = prob + LenLow + (posState << kLenNumLowBits);
286 probLen = prob + LenMid + (posState << kLenNumMidBits);
509 unsigned posState = (p->processedPos) & ((1 << p->prop.pb) - 1);
local 511 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
569 prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState;
612 probLen = prob + LenLow + (posState << kLenNumLowBits);
623 probLen = prob + LenMid + (posState << kLenNumMidBit [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/lzma/C/Compress/Lzma/ |
H A D | LzmaDecodeSize.c | 282 int LzmaLenDecode(CProb *p, CRangeDecoder *rd, int posState)
argument 286 (posState << kLenNumLowBits), kLenNumLowBits, rd);
289 (posState << kLenNumMidBits), kLenNumMidBits, rd);
502 int posState = (int)(
local 515 if (RangeDecoderBitDecode(p + IsMatch + (state << kNumPosBitsMax) + posState, &rd) == 0)
560 if (RangeDecoderBitDecode(p + IsRep0Long + (state << kNumPosBitsMax) + posState, &rd) == 0)
613 len = LzmaLenDecode(p + RepLenCoder, &rd, posState);
623 len = LzmaLenDecode(p + LenCoder, &rd, posState);
|
H A D | LzmaStateDecode.c | 256 int posState = (int)((nowPos + globalPos) & posStateMask);
local 258 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
322 prob = p + IsRep0Long + (state << kNumPosBitsMax) + posState;
386 probLen = prob + LenLow + (posState << kLenNumLowBits);
397 probLen = prob + LenMid + (posState << kLenNumMidBits);
|
H A D | LzmaDecode.c | 277 int posState = (int)(
local 285 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
361 prob = p + IsRep0Long + (state << kNumPosBitsMax) + posState;
440 probLen = prob + LenLow + (posState << kLenNumLowBits);
451 probLen = prob + LenMid + (posState << kLenNumMidBits);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/lzma/C/Compress/Lzma/ |
H A D | LzmaDecodeSize.c | 282 int LzmaLenDecode(CProb *p, CRangeDecoder *rd, int posState)
argument 286 (posState << kLenNumLowBits), kLenNumLowBits, rd);
289 (posState << kLenNumMidBits), kLenNumMidBits, rd);
502 int posState = (int)(
local 515 if (RangeDecoderBitDecode(p + IsMatch + (state << kNumPosBitsMax) + posState, &rd) == 0)
560 if (RangeDecoderBitDecode(p + IsRep0Long + (state << kNumPosBitsMax) + posState, &rd) == 0)
613 len = LzmaLenDecode(p + RepLenCoder, &rd, posState);
623 len = LzmaLenDecode(p + LenCoder, &rd, posState);
|
H A D | LzmaStateDecode.c | 256 int posState = (int)((nowPos + globalPos) & posStateMask);
local 258 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
322 prob = p + IsRep0Long + (state << kNumPosBitsMax) + posState;
386 probLen = prob + LenLow + (posState << kLenNumLowBits);
397 probLen = prob + LenMid + (posState << kLenNumMidBits);
|
H A D | LzmaDecode.c | 277 int posState = (int)(
local 285 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
361 prob = p + IsRep0Long + (state << kNumPosBitsMax) + posState;
440 probLen = prob + LenLow + (posState << kLenNumLowBits);
451 probLen = prob + LenMid + (posState << kLenNumMidBits);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/lzma/C/Compress/Lzma/ |
H A D | LzmaDecodeSize.c | 282 int LzmaLenDecode(CProb *p, CRangeDecoder *rd, int posState)
argument 286 (posState << kLenNumLowBits), kLenNumLowBits, rd);
289 (posState << kLenNumMidBits), kLenNumMidBits, rd);
502 int posState = (int)(
local 515 if (RangeDecoderBitDecode(p + IsMatch + (state << kNumPosBitsMax) + posState, &rd) == 0)
560 if (RangeDecoderBitDecode(p + IsRep0Long + (state << kNumPosBitsMax) + posState, &rd) == 0)
613 len = LzmaLenDecode(p + RepLenCoder, &rd, posState);
623 len = LzmaLenDecode(p + LenCoder, &rd, posState);
|
H A D | LzmaStateDecode.c | 256 int posState = (int)((nowPos + globalPos) & posStateMask);
local 258 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
322 prob = p + IsRep0Long + (state << kNumPosBitsMax) + posState;
386 probLen = prob + LenLow + (posState << kLenNumLowBits);
397 probLen = prob + LenMid + (posState << kLenNumMidBits);
|
H A D | LzmaDecode.c | 277 int posState = (int)(
local 285 prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
361 prob = p + IsRep0Long + (state << kNumPosBitsMax) + posState;
440 probLen = prob + LenLow + (posState << kLenNumLowBits);
451 probLen = prob + LenMid + (posState << kLenNumMidBits);
|