Searched defs:colorPtr (Results 1 - 4 of 4) sorted by relevance
/external/skia/src/images/ |
H A D | SkMovie_gif.cpp | 163 SkPMColor* colorPtr = colorTable->lockColors(); local 166 memset(colorPtr, 0, cmap->ColorCount * 4); 173 colorPtr[index] = SkPackARGB32(0xFF, cmap->Colors[index].Red,
|
H A D | SkImageDecoder_libgif.cpp | 226 SkPMColor* colorPtr = ctable->lockColors(); local 228 colorPtr[index] = SkPackARGB32(0xFF, 237 colorPtr[transpIndex] = 0; // ram in a transparent SkPMColor
|
H A D | SkImageDecoder_libpng.cpp | 572 SkPMColor* colorPtr = colorTable->lockColors(); local 590 *colorPtr++ = SkPreMultiplyARGB(*trans++, palette->red, palette->green, palette->blue); 596 *colorPtr++ = SkPackARGB32(0xFF, palette->red, palette->green, palette->blue); 602 *colorPtr = colorPtr[-1];
|
/external/skia/src/xml/ |
H A D | SkParseColor.cpp | 462 const char* SkParse::FindColor(const char* value, SkColor* colorPtr) { argument 463 unsigned int oldAlpha = SkColorGetA(*colorPtr); 476 *colorPtr = SkColorSetARGB(a, r, g, b); 481 *colorPtr = hex; 496 // *colorPtr = SkColorSetARGB(SkScalarRound(array[0]), SkScalarRound(array[1]), 500 return FindNamedColor(value, strlen(value), colorPtr);
|
Completed in 181 milliseconds