Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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()
/third_party/lzma/C/
DBcj2.c12 #define kNumMoveBits 5 macro
227 *prob = (CBcj2Prob)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits)); in Bcj2Dec_Decode()
234 *prob = (CBcj2Prob)(ttt - (ttt >> kNumMoveBits)); in Bcj2Dec_Decode()
290 #undef kNumMoveBits
DBcj2Enc.c20 #define kNumMoveBits 5 macro
324 *prob = (CBcj2Prob)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits)); in Bcj2Enc_Encode_2()
330 *prob = (CBcj2Prob)(ttt - (ttt >> kNumMoveBits)); in Bcj2Enc_Encode_2()
506 #undef kNumMoveBits
DLzmaEnc.c48 #define kNumMoveBits 5 macro
736 if (bit == 0) { range = newBound; ttt += (kBitModelTotal - ttt) >> kNumMoveBits; } \
737 else { (p)->low += newBound; range -= newBound; ttt -= ttt >> kNumMoveBits; } \
754 mask &= (kBitModelTotal - ((1 << kNumMoveBits) - 1)); \
755 mask += ((1 << kNumMoveBits) - 1); \
756 ttt += (UInt32)((Int32)(mask - ttt) >> kNumMoveBits); \
767 range = newBound; *(prob) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits));
770 range -= newBound; (p)->low += newBound; *(prob) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits)); \
DLzmaDec.c21 #define kNumMoveBits 5 macro
25 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits
26 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
/third_party/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()
/third_party/lzma/Asm/x86/
DLzmaDecOpt.asm147 kNumMoveBits equ 5 define
148 kBitModelOffset equ ((1 SHL kNumMoveBits) - 1)
174 shr prob2, kNumMoveBits
185 shr probBranch, kNumMoveBits
235 sar t0, kNumMoveBits
/third_party/lzma/Asm/arm64/
DLzmaDecOpt.S192 .equ kNumMoveBits , 5 define
193 .equ kBitModelOffset , (kBitModelTotal - (1 << kNumMoveBits) + 1)
226 sub probBranch, probBranch, prob2, asr #(kNumMoveBits)
253 sub prob2, probBranch, probBranch, lsr #(kNumMoveBits)
358 sub \dest_reg, \prob, \dest_reg, asr #(kNumMoveBits)
/third_party/lzma/DOC/
Dlzma-specification.txt485 #define kNumMoveBits 5
494 v += ((1 << kNumBitModelTotalBits) - v) >> kNumMoveBits;
500 v -= v >> kNumMoveBits;