Lines Matching refs:palette
667 png_colorp palette; in decodePalette() local
671 png_get_PLTE(png_ptr, info_ptr, &palette, &numPalette); in decodePalette()
701 *colorPtr++ = proc(*trans++, palette->red, palette->green, palette->blue); in decodePalette()
702 palette++; in decodePalette()
707 *colorPtr++ = SkPackARGB32(0xFF, palette->red, palette->green, palette->blue); in decodePalette()
708 palette++; in decodePalette()
1056 png_color* SK_RESTRICT palette, in pack_palette() argument
1087 palette[i].red = SkUnPreMultiply::ApplyScale(s, SkGetPackedR32(c)); in pack_palette()
1088 palette[i].green = SkUnPreMultiply::ApplyScale(s,SkGetPackedG32(c)); in pack_palette()
1089 palette[i].blue = SkUnPreMultiply::ApplyScale(s, SkGetPackedB32(c)); in pack_palette()
1098 palette[i].red = SkGetPackedR32(c); in pack_palette()
1099 palette[i].green = SkGetPackedG32(c); in pack_palette()
1100 palette[i].blue = SkGetPackedB32(c); in pack_palette()