Home
last modified time | relevance | path

Searched refs:kNumMoveBits (Results 1 – 9 of 9) sorted by relevance

/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBit.cs9 const int kNumMoveBits = 5; field
20 Prob += (kBitModelTotal - Prob) >> kNumMoveBits; in UpdateModel()
22 Prob -= (Prob) >> kNumMoveBits; in UpdateModel()
33 Prob += (kBitModelTotal - Prob) >> kNumMoveBits; in Encode()
39 Prob -= (Prob) >> kNumMoveBits; in Encode()
75 const int kNumMoveBits = 5; field
95 Prob += (kBitModelTotal - Prob) >> kNumMoveBits; in Decode()
107 Prob -= (Prob) >> kNumMoveBits; in Decode()
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DDecoder.java10 static final int kNumMoveBits = 5; field in Decoder
61 probs[index] = (short)(prob + ((kBitModelTotal - prob) >>> kNumMoveBits)); in DecodeBit()
73 probs[index] = (short)(prob - ((prob) >>> kNumMoveBits)); in DecodeBit()
DEncoder.java10 static final int kNumMoveBits = 5; field in Encoder
109 probs[index] = (short)(prob + ((kBitModelTotal - prob) >>> kNumMoveBits)); in Encode()
115 probs[index] = (short)(prob - ((prob) >>> kNumMoveBits)); in Encode()
/external/lzma/C/
DBcj2.c14 #define kNumMoveBits 5 macro
17 #define _UPDATE_0 p->range = bound; *prob = (CProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits));
18 #define _UPDATE_1 p->range -= bound; p->code -= bound; *prob = (CProb)(ttt - (ttt >> kNumMoveBits));
DBcj2Enc.c26 #define kNumMoveBits 5 macro
197 *prob = (CProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits)); in Bcj2Enc_Encode_2()
205 *prob = (CProb)(ttt - (ttt >> kNumMoveBits)); in Bcj2Enc_Encode_2()
DLzmaDec.c15 #define kNumMoveBits 5 macro
22 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits
23 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
DLzmaEnc.c43 #define kNumMoveBits 5 macro
609 ttt += (kBitModelTotal - ttt) >> kNumMoveBits; in RangeEnc_EncodeBit()
615 ttt -= ttt >> kNumMoveBits; in RangeEnc_EncodeBit()
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp123 #define kNumMoveBits 5 macro
206 v += ((1 << kNumBitModelTotalBits) - v) >> kNumMoveBits; in DecodeBit()
212 v -= v >> kNumMoveBits; in DecodeBit()
/external/lzma/DOC/
Dlzma-specification.txt485 #define kNumMoveBits 5
494 v += ((1 << kNumBitModelTotalBits) - v) >> kNumMoveBits;
500 v -= v >> kNumMoveBits;