Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyph.h32 kSubBits = 2, enumerator
33 kSubMask = ((1 << kSubBits) - 1),
37 kSubShiftX = kSubBits,
106 return (n >> (16 - kSubBits)) & kSubMask; in FixedToSub()
111 return sub << (16 - kSubBits); in SubToFixed()
132 static constexpr SkFixed kSubpixelRound = SK_FixedHalf >> SkPackedID::kSubBits;
/external/skqp/src/core/
DSkGlyph.h32 kSubBits = 2, enumerator
33 kSubMask = ((1 << kSubBits) - 1),
37 kSubShiftX = kSubBits,
106 return (n >> (16 - kSubBits)) & kSubMask; in FixedToSub()
111 return sub << (16 - kSubBits); in SubToFixed()
141 static constexpr SkFixed kSubpixelRound = SK_FixedHalf >> SkPackedID::kSubBits;
/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.cpp558 static const unsigned kSubBits = 8; variable
562 for (unsigned i = kSubBits; i < 32; i++) in GetLogSize()
563 for (UInt32 j = 0; j < (1 << kSubBits); j++) in GetLogSize()
564 if (size <= (((UInt32)1) << i) + (j << (i - kSubBits))) in GetLogSize()
565 return (i << kSubBits) + j; in GetLogSize()
566 return (32 << kSubBits); in GetLogSize()
662 UInt64 t = GetLogSize(dictSize) - (kBenchMinDicLogSize << kSubBits); in GetCompressRating()
663 encComplex = 870 + ((t * t * 5) >> (2 * kSubBits)); in GetCompressRating()