Home
last modified time | relevance | path

Searched refs:kSubBits (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkGlyph.h28 kSubBits = 2, enumerator
29 kSubMask = ((1 << kSubBits) - 1),
33 kSubShiftX = kSubBits,
54 static const SkFixed kSubpixelRound = SK_FixedHalf >> SkGlyph::kSubBits;
170 return (n >> (16 - kSubBits)) & kSubMask; in FixedToSub()
175 return sub << (16 - kSubBits); in SubToFixed()
/external/lzma/Java/SevenZip/
DLzmaBench.java211 static final int kSubBits = 8; field in LzmaBench
215 for (int i = kSubBits; i < 32; i++) in GetLogSize()
216 for (int j = 0; j < (1 << kSubBits); j++) in GetLogSize()
217 if (size <= ((1) << i) + (j << (i - kSubBits))) in GetLogSize()
218 return (i << kSubBits) + j; in GetLogSize()
219 return (32 << kSubBits); in GetLogSize()
238 long t = GetLogSize(dictionarySize) - (18 << kSubBits); in GetCompressRating()
239 long numCommandsForOne = 1060 + ((t * t * 10) >> (2 * kSubBits)); in GetCompressRating()
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaBench.cs161 const int kSubBits = 8; field in SevenZip.LzmaBench
165 for (int i = kSubBits; i < 32; i++) in GetLogSize()
166 for (UInt32 j = 0; j < (1 << kSubBits); j++) in GetLogSize()
167 if (size <= (((UInt32)1) << i) + (j << (i - kSubBits))) in GetLogSize()
168 return (UInt32)(i << kSubBits) + j; in GetLogSize()
169 return (32 << kSubBits); in GetLogSize()
188 UInt64 t = GetLogSize(dictionarySize) - (18 << kSubBits); in GetCompressRating()
189 UInt64 numCommandsForOne = 1060 + ((t * t * 10) >> (2 * kSubBits)); in GetCompressRating()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp475 static const int kSubBits = 8; variable
479 for (int i = kSubBits; i < 32; i++) in GetLogSize()
480 for (UInt32 j = 0; j < (1 << kSubBits); j++) in GetLogSize()
481 if (size <= (((UInt32)1) << i) + (j << (i - kSubBits))) in GetLogSize()
482 return (i << kSubBits) + j; in GetLogSize()
483 return (32 << kSubBits); in GetLogSize()
579 UInt64 t = GetLogSize(dictSize) - (kBenchMinDicLogSize << kSubBits); in GetCompressRating()
580 encComplex = 870 + ((t * t * 5) >> (2 * kSubBits)); in GetCompressRating()