Home
last modified time | relevance | path

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

/external/skia/src/images/
DSkImageDecoder_libpng.cpp509 png_color_16p transpColor = nullptr; in getBitmapColorType() local
512 png_get_tRNS(png_ptr, info_ptr, nullptr, &numTransp, &transpColor); in getBitmapColorType()
516 if (valid && numTransp == 1 && transpColor != nullptr) { in getBitmapColorType()
526 *theTranspColorp = SkPackARGB32(0xFF, transpColor->red >> 8, in getBitmapColorType()
527 transpColor->green >> 8, in getBitmapColorType()
528 transpColor->blue >> 8); in getBitmapColorType()
534 0xFF & (transpColor->red), in getBitmapColorType()
535 0xFF & (transpColor->green), in getBitmapColorType()
536 0xFF & (transpColor->blue)); in getBitmapColorType()
540 *theTranspColorp = SkPackARGB32(0xFF, transpColor->gray >> 8, in getBitmapColorType()
[all …]