Searched refs:transpColor (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/images/ |
D | SkImageDecoder_libpng.cpp | 479 png_color_16p transpColor = NULL; in getBitmapConfig() local 482 png_get_tRNS(png_ptr, info_ptr, NULL, &numTransp, &transpColor); in getBitmapConfig() 486 if (valid && numTransp == 1 && transpColor != NULL) { in getBitmapConfig() 496 *theTranspColorp = SkPackARGB32(0xFF, transpColor->red >> 8, in getBitmapConfig() 497 transpColor->green >> 8, transpColor->blue >> 8); in getBitmapConfig() 499 *theTranspColorp = SkPackARGB32(0xFF, transpColor->red, in getBitmapConfig() 500 transpColor->green, transpColor->blue); in getBitmapConfig() 504 *theTranspColorp = SkPackARGB32(0xFF, transpColor->gray >> 8, in getBitmapConfig() 505 transpColor->gray >> 8, transpColor->gray >> 8); in getBitmapConfig() 507 *theTranspColorp = SkPackARGB32(0xFF, transpColor->gray, in getBitmapConfig() [all …]
|