Home
last modified time | relevance | path

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

/external/skia/src/images/
DSkImageDecoder_libwebp.cpp98 fHasAlpha = 0; in SkWEBPImageDecoder()
117 return SkToBool(fHasAlpha) && !this->getRequireUnpremultipliedColors(); in shouldPremultiply()
125 int fHasAlpha; member in SkWEBPImageDecoder
287 SkColorType colorType = this->getPrefColorType(k32Bit_SrcDepth, SkToBool(fHasAlpha)); in setDecodeConfig()
290 if (fHasAlpha) { in setDecodeConfig()
301 if (SkToBool(fHasAlpha)) { in setDecodeConfig()
330 this->fHasAlpha = hasAlpha; in onBuildTileIndex()
414 this->fHasAlpha = hasAlpha; in onDecode()
DSkImageDecoder_libpng.cpp1013 bool fHasAlpha; in choose_proc() member
1025 if (gMap[i].fColorType == ct && gMap[i].fHasAlpha == hasAlpha) { in choose_proc()
/external/skia/src/codec/
DSkCodec_libpng.cpp599 , fHasAlpha(false) in SkPngScanlineDecoder()
614 fHasAlpha |= !SkSwizzler::IsOpaque(fCodec->fSwizzler->next(fSrcRow)); in onGetScanlines()
636 bool onReallyHasAlpha() const override { return fHasAlpha; } in onReallyHasAlpha()
640 bool fHasAlpha; member in SkPngScanlineDecoder
/external/skia/bench/
DGradientBench.cpp327 bool fHasAlpha; member in Gradient2Bench
332 fHasAlpha = hasAlpha; in Gradient2Bench()
352 const int alpha = fHasAlpha ? gray : 0xFF; in onDraw()