Home
last modified time | relevance | path

Searched refs:kNumMoveBits (Results 1 – 11 of 11) 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.c25 #define kNumMoveBits 5 macro
196 *prob = (CProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits)); in Bcj2Enc_Encode_2()
204 *prob = (CProb)(ttt - (ttt >> kNumMoveBits)); in Bcj2Enc_Encode_2()
DLzmaEnc.c34 #define kNumMoveBits 5 macro
639 if (bit == 0) { range = newBound; ttt += (kBitModelTotal - ttt) >> kNumMoveBits; } \
640 else { (p)->low += newBound; range -= newBound; ttt -= ttt >> kNumMoveBits; } \
657 mask &= (kBitModelTotal - ((1 << kNumMoveBits) - 1)); \
658 mask += ((1 << kNumMoveBits) - 1); \
659 ttt += (Int32)(mask - ttt) >> kNumMoveBits; \
670 range = newBound; *(prob) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits));
673 range -= newBound; (p)->low += newBound; *(prob) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits)); \
DLzmaDec.c16 #define kNumMoveBits 5 macro
23 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits
24 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
/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/Asm/x86/
DLzmaDecOpt.asm146 kNumMoveBits equ 5 define
147 kBitModelOffset equ ((1 SHL kNumMoveBits) - 1)
173 shr prob2, kNumMoveBits
184 shr probBranch, kNumMoveBits
234 sar t0, kNumMoveBits
/external/u-boot/lib/lzma/
DLzmaDec.c16 #define kNumMoveBits 5 macro
23 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits
24 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
/external/lzma/DOC/
Dlzma-specification.txt485 #define kNumMoveBits 5
494 v += ((1 << kNumBitModelTotalBits) - v) >> kNumMoveBits;
500 v -= v >> kNumMoveBits;