Home
last modified time | relevance | path

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

/external/skia/legacy/src/ports/
DSkFontHost_mac_coretext.cpp1151 int height, int rowBytes, int lumBits) { in lerpPixels() argument
1153 int scaleR = (1 << 23) * SkColorGetR(lumBits) / 0xFF; in lerpPixels()
1154 int scaleG = (1 << 23) * SkColorGetG(lumBits) / 0xFF; in lerpPixels()
1155 int scaleB = (1 << 23) * SkColorGetB(lumBits) / 0xFF; in lerpPixels()
1157 int scale = (1 << 23) * lumBits / SkScalerContext::kLuminance_Max; in lerpPixels()
1223 unsigned lumBits = fRec.getLuminanceColor(); in generateImage() local
1228 lumBits = SkColorGetR(lumBits); in generateImage()
1264 if (SK_ColorWHITE == lumBits) { in generateImage()
1266 } else if (SK_ColorBLACK == lumBits) { in generateImage()
1283 ~lumBits); in generateImage()
[all …]