Lines Matching refs:hasAlpha
292 int origWidth, origHeight, hasAlpha; in onDecode() local
293 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onDecode()
296 this->fHasAlpha = hasAlpha; in onDecode()
431 static ScanlineImporter ChooseImporter(SkColorType ct, bool hasAlpha, int* bpp) { in ChooseImporter() argument
434 if (hasAlpha) { in ChooseImporter()
442 if (hasAlpha) { in ChooseImporter()
476 const bool hasAlpha = !bm.isOpaque(); in onEncode() local
478 const ScanlineImporter scanline_import = ChooseImporter(bm.colorType(), hasAlpha, &bpp); in onEncode()
536 int width, height, hasAlpha; in sk_libwebp_dfactory() local
537 if (!webp_parse_header(stream, &width, &height, &hasAlpha)) { in sk_libwebp_dfactory()
546 int width, height, hasAlpha; in get_format_webp() local
547 if (webp_parse_header(stream, &width, &height, &hasAlpha)) { in get_format_webp()