Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkTextureCompressor_ASTC.cpp854 static inline int replicate_bits(int x, int oldPrec, int prec) { in replicate_bits() argument
855 while (oldPrec < prec) { in replicate_bits()
856 const int toShift = SkMin32(prec-oldPrec, oldPrec); in replicate_bits()
857 x = (x << toShift) | (x >> (oldPrec - toShift)); in replicate_bits()
858 oldPrec += toShift; in replicate_bits()