/external/skia/src/utils/ |
D | SkParseColor.cpp | 455 const char* SkParse::FindColor(const char* value, SkColor* colorPtr) { in FindColor() argument 456 unsigned int oldAlpha = SkColorGetA(*colorPtr); in FindColor() 469 *colorPtr = SkColorSetARGB(a, r, g, b); in FindColor() 474 *colorPtr = hex; in FindColor() 493 return FindNamedColor(value, strlen(value), colorPtr); in FindColor()
|
/external/skqp/src/utils/ |
D | SkParseColor.cpp | 455 const char* SkParse::FindColor(const char* value, SkColor* colorPtr) { in FindColor() argument 456 unsigned int oldAlpha = SkColorGetA(*colorPtr); in FindColor() 469 *colorPtr = SkColorSetARGB(a, r, g, b); in FindColor() 474 *colorPtr = hex; in FindColor() 493 return FindNamedColor(value, strlen(value), colorPtr); in FindColor()
|
/external/skqp/src/shaders/ |
D | SkShader.cpp | 81 bool SkShaderBase::asLuminanceColor(SkColor* colorPtr) const { in asLuminanceColor() 83 if (nullptr == colorPtr) { in asLuminanceColor() 84 colorPtr = &storage; in asLuminanceColor() 86 if (this->onAsLuminanceColor(colorPtr)) { in asLuminanceColor() 87 *colorPtr = SkColorSetA(*colorPtr, 0xFF); // we only return opaque in asLuminanceColor()
|
/external/skia/src/shaders/ |
D | SkShader.cpp | 81 bool SkShaderBase::asLuminanceColor(SkColor* colorPtr) const { in asLuminanceColor() 83 if (nullptr == colorPtr) { in asLuminanceColor() 84 colorPtr = &storage; in asLuminanceColor() 86 if (this->onAsLuminanceColor(colorPtr)) { in asLuminanceColor() 87 *colorPtr = SkColorSetA(*colorPtr, 0xFF); // we only return opaque in asLuminanceColor()
|
/external/skia/src/codec/ |
D | SkCodecPriv.h | 113 const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) { in get_color_table_fill_value() argument 114 SkASSERT(nullptr != colorPtr); in get_color_table_fill_value() 118 return colorPtr[fillIndex]; in get_color_table_fill_value() 120 return SkPixel32ToPixel16(colorPtr[fillIndex]); in get_color_table_fill_value() 124 uint32_t srcColor = colorPtr[fillIndex]; in get_color_table_fill_value()
|
D | SkBmpStandardCodec.cpp | 165 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in initializeSwizzler() local 178 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler() 330 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in onGetFillValue() local 331 if (colorPtr) { in onGetFillValue() 332 return get_color_table_fill_value(dstInfo.colorType(), dstInfo.alphaType(), colorPtr, 0, in onGetFillValue()
|
D | SkPngCodec.cpp | 1190 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in onGetFillValue() local 1191 if (colorPtr) { in onGetFillValue() 1194 return get_color_table_fill_value(dstInfo.colorType(), alphaType, colorPtr, 0, in onGetFillValue()
|
/external/skqp/src/codec/ |
D | SkCodecPriv.h | 113 const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) { in get_color_table_fill_value() argument 114 SkASSERT(nullptr != colorPtr); in get_color_table_fill_value() 118 return colorPtr[fillIndex]; in get_color_table_fill_value() 120 return SkPixel32ToPixel16(colorPtr[fillIndex]); in get_color_table_fill_value() 124 uint32_t srcColor = colorPtr[fillIndex]; in get_color_table_fill_value()
|
D | SkBmpStandardCodec.cpp | 165 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in initializeSwizzler() local 179 fSwizzler.reset(SkSwizzler::CreateSwizzler(encodedInfo, colorPtr, swizzlerInfo, in initializeSwizzler() 332 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in onGetFillValue() local 333 if (colorPtr) { in onGetFillValue() 334 return get_color_table_fill_value(dstInfo.colorType(), dstInfo.alphaType(), colorPtr, 0, in onGetFillValue()
|
D | SkPngCodec.cpp | 1159 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); in onGetFillValue() local 1160 if (colorPtr) { in onGetFillValue() 1163 return get_color_table_fill_value(dstInfo.colorType(), alphaType, colorPtr, 0, in onGetFillValue()
|
/external/skqp/tests/ |
D | SwizzlerTest.cpp | 46 uint32_t* colorPtr = (uint32_t*) indexPtr; in check_fill() local 52 REPORTER_ASSERT(r, kFillColor == colorPtr[x]); in check_fill() 66 colorPtr = (uint32_t*) indexPtr; in check_fill()
|
/external/skia/tests/ |
D | SwizzlerTest.cpp | 47 uint32_t* colorPtr = (uint32_t*) indexPtr; in check_fill() local 53 REPORTER_ASSERT(r, kFillColor == colorPtr[x]); in check_fill() 67 colorPtr = (uint32_t*) indexPtr; in check_fill()
|
/external/libvncserver/libvncserver/ |
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); 566 static rfbBool CheckSolidTile(rfbClientPtr cl, int x, int y, int w, int h, uint32_t* colorPtr, rfbB… in CheckSolidTile() argument 570 return CheckSolidTile32(cl, x, y, w, h, colorPtr, needSameColor); in CheckSolidTile() 572 return CheckSolidTile16(cl, x, y, w, h, colorPtr, needSameColor); in CheckSolidTile() 574 return CheckSolidTile8(cl, x, y, w, h, colorPtr, needSameColor); in CheckSolidTile() 583 uint32_t* colorPtr, rfbBool needSameColor) \ 593 if (needSameColor && (uint32_t)colorValue != *colorPtr) \ [all …]
|
/external/skqp/docs/ |
D | SkSurface_Reference.bmh | 142 SkPMColor* colorPtr = (SkPMColor*) pixels; 143 SkPMColor pmWhite = colorPtr[0]; 149 SkDebugf("%c", *colorPtr++ == pmWhite ? '-' : 'x'); 205 const uint32_t* colorPtr = pixmap.addr32(); 206 SkPMColor pmWhite = colorPtr[0]; 212 SkDebugf("%c", colorPtr[x] == pmWhite ? '-' : 'x'); 214 colorPtr += rowBytes / sizeof(colorPtr[0]); 262 const uint32_t* colorPtr = pixmap.addr32(); 263 SkPMColor pmWhite = colorPtr[0]; 269 SkDebugf("%c", colorPtr[x] == pmWhite ? '-' : 'x'); [all …]
|
/external/skia/docs/ |
D | SkSurface_Reference.bmh | 147 SkPMColor* colorPtr = (SkPMColor*) pixels; 148 SkPMColor pmWhite = colorPtr[0]; 154 SkDebugf("%c", *colorPtr++ == pmWhite ? '-' : 'x'); 211 const uint32_t* colorPtr = pixmap.addr32(); 212 SkPMColor pmWhite = colorPtr[0]; 218 SkDebugf("%c", colorPtr[x] == pmWhite ? '-' : 'x'); 220 colorPtr += rowBytes / sizeof(colorPtr[0]); 268 const uint32_t* colorPtr = pixmap.addr32(); 269 SkPMColor pmWhite = colorPtr[0]; 275 SkDebugf("%c", colorPtr[x] == pmWhite ? '-' : 'x'); [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 668 GrColor* colorPtr = (GrColor*)(offset + sizeof(SkPoint) + i * vertexStride); in writePathVertices() local 669 *colorPtr = color; in writePathVertices()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 670 GrColor* colorPtr = (GrColor*)(offset + sizeof(SkPoint) + i * vertexStride); in writePathVertices() local 671 *colorPtr = color; in writePathVertices()
|