Searched defs:colorPtr (Results 1 - 4 of 4) sorted by relevance

/external/skia/src/images/
H A DSkMovie_gif.cpp163 SkPMColor* colorPtr = colorTable->lockColors(); local
166 memset(colorPtr, 0, cmap->ColorCount * 4);
173 colorPtr[index] = SkPackARGB32(0xFF, cmap->Colors[index].Red,
H A DSkImageDecoder_libgif.cpp226 SkPMColor* colorPtr = ctable->lockColors(); local
228 colorPtr[index] = SkPackARGB32(0xFF,
237 colorPtr[transpIndex] = 0; // ram in a transparent SkPMColor
H A DSkImageDecoder_libpng.cpp572 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 DSkParseColor.cpp462 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