Searched refs:colorPtr (Results 1 - 9 of 9) sorted by relevance
/external/skia/src/codec/ |
H A D | SkCodecPriv.h | 123 const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) { 124 SkASSERT(nullptr != colorPtr); 128 return colorPtr[fillIndex]; 130 return SkPixel32ToPixel16(colorPtr[fillIndex]); 134 uint32_t srcColor = colorPtr[fillIndex]; 122 get_color_table_fill_value(SkColorType dstColorType, SkAlphaType alphaType, const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) argument
|
H A D | SkBmpStandardCodec.cpp | 165 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); local 179 fSwizzler.reset(SkSwizzler::CreateSwizzler(encodedInfo, colorPtr, swizzlerInfo, 332 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); local 333 if (colorPtr) { 334 return get_color_table_fill_value(dstInfo.colorType(), dstInfo.alphaType(), colorPtr, 0,
|
H A D | SkPngCodec.cpp | 1138 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); local 1139 if (colorPtr) { 1142 return get_color_table_fill_value(dstInfo.colorType(), alphaType, colorPtr, 0,
|
/external/skia/tests/ |
H A D | SwizzlerTest.cpp | 46 uint32_t* colorPtr = (uint32_t*) indexPtr; local 52 REPORTER_ASSERT(r, kFillColor == colorPtr[x]); 66 colorPtr = (uint32_t*) indexPtr;
|
/external/skia/src/shaders/ |
H A D | SkShader.cpp | 81 bool SkShaderBase::asLuminanceColor(SkColor* colorPtr) const { 83 if (nullptr == colorPtr) { 84 colorPtr = &storage; 86 if (this->onAsLuminanceColor(colorPtr)) { 87 *colorPtr = SkColorSetA(*colorPtr, 0xFF); // we only return opaque
|
/external/skia/src/utils/ |
H A D | SkParseColor.cpp | 455 const char* SkParse::FindColor(const char* value, SkColor* colorPtr) { argument 456 unsigned int oldAlpha = SkColorGetA(*colorPtr); 469 *colorPtr = SkColorSetARGB(a, r, g, b); 474 *colorPtr = hex; 489 // *colorPtr = SkColorSetARGB(SkScalarRoundToInt(array[0]), SkScalarRoundToInt(array[1]), 493 return FindNamedColor(value, strlen(value), colorPtr);
|
/external/skia/src/gpu/text/ |
H A D | GrAtlasTextBlob.cpp | 113 SkColor* colorPtr = reinterpret_cast<SkColor*>(vertex + sizeof(SkPoint)); local 114 *colorPtr = color; 120 colorPtr = reinterpret_cast<SkColor*>(vertex + sizeof(SkPoint)); 121 *colorPtr = color; 127 colorPtr = reinterpret_cast<SkColor*>(vertex + sizeof(SkPoint)); 128 *colorPtr = color; 134 colorPtr = reinterpret_cast<SkColor*>(vertex + sizeof(SkPoint)); 135 *colorPtr = color;
|
/external/libvncserver/libvncserver/ |
H A D | tight.c | 180 uint32_t *colorPtr, rfbBool needSameColor); 182 uint32_t *colorPtr, rfbBool needSameColor); 184 uint32_t *colorPtr, rfbBool needSameColor); 186 uint32_t *colorPtr, rfbBool needSameColor); 562 * *colorPtr value. The result is 1 if the test is successfull, and in 563 * that case new color will be stored in *colorPtr. 566 static rfbBool CheckSolidTile(rfbClientPtr cl, int x, int y, int w, int h, uint32_t* colorPtr, rfbBool needSameColor) argument 570 return CheckSolidTile32(cl, x, y, w, h, colorPtr, needSameColor); 572 return CheckSolidTile16(cl, x, y, w, h, colorPtr, needSameColor); 574 return CheckSolidTile8(cl, x, y, w, h, colorPtr, needSameColo [all...] |
/external/skia/src/gpu/ops/ |
H A D | GrSmallPathRenderer.cpp | 621 GrColor* colorPtr = (GrColor*)(offset + sizeof(SkPoint) + i * vertexStride); local 622 *colorPtr = color;
|
Completed in 156 milliseconds