Home
last modified time | relevance | path

Searched refs:kNumBits (Results 1 – 3 of 3) sorted by relevance

/external/lzma/Java/SevenZip/Compression/RangeCoder/
DEncoder.java128 int kNumBits = (kNumBitModelTotalBits - kNumMoveReducingBits);
129 for (int i = kNumBits - 1; i >= 0; i--)
131 int start = 1 << (kNumBits - i - 1);
132 int end = 1 << (kNumBits - i);
135 (((end - j) << kNumBitPriceShiftBits) >>> (kNumBits - i - 1));
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBit.cs52 const int kNumBits = (kNumBitModelTotalBits - kNumMoveReducingBits); in BitEncoder()
53 for (int i = kNumBits - 1; i >= 0; i--) in BitEncoder()
55 UInt32 start = (UInt32)1 << (kNumBits - i - 1); in BitEncoder()
56 UInt32 end = (UInt32)1 << (kNumBits - i); in BitEncoder()
59 (((end - j) << kNumBitPriceShiftBits) >> (kNumBits - i - 1)); in BitEncoder()
/external/chromium_org/media/cast/test/utility/
Daudio_utility.cc91 const size_t kNumBits = 16; variable
93 const double kSenseFrequency = kBaseFrequency * (kNumBits + 1);
106 for (size_t i = 0; i < kNumBits; i++) { in EncodeTimestamp()
119 mix_of_components /= kNumBits + 1; in EncodeTimestamp()
160 for (size_t bit = 0; success && bit < kNumBits; bit++) { in DecodeTimestamp()