Searched refs:kNumMoveBits (Results 1 – 11 of 11) sorted by relevance
/third_party/lzma/CS/7zip/Compress/RangeCoder/ |
D | RangeCoderBit.cs | 9 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/ |
D | Decoder.java | 10 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()
|
D | Encoder.java | 10 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/ |
D | Bcj2.c | 12 #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
|
D | Bcj2Enc.c | 20 #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
|
D | LzmaEnc.c | 48 #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)); \
|
D | LzmaDec.c | 21 #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/ |
D | LzmaSpec.cpp | 123 #define kNumMoveBits 5 macro 206 v += ((1 << kNumBitModelTotalBits) - v) >> kNumMoveBits; in DecodeBit() 212 v -= v >> kNumMoveBits; in DecodeBit()
|
/third_party/lzma/Asm/x86/ |
D | LzmaDecOpt.asm | 147 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/ |
D | LzmaDecOpt.S | 192 .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/ |
D | lzma-specification.txt | 485 #define kNumMoveBits 5 494 v += ((1 << kNumBitModelTotalBits) - v) >> kNumMoveBits; 500 v -= v >> kNumMoveBits;
|