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

/external/skia/tests/
H A DSwizzlerTest.cpp47 uint32_t* colorPtr = (uint32_t*) indexPtr; local
53 REPORTER_ASSERT(r, kFillColor == colorPtr[x]);
67 colorPtr = (uint32_t*) indexPtr;
/external/skqp/tests/
H A DSwizzlerTest.cpp46 uint32_t* colorPtr = (uint32_t*) indexPtr; local
52 REPORTER_ASSERT(r, kFillColor == colorPtr[x]);
66 colorPtr = (uint32_t*) indexPtr;
/external/skia/src/utils/
H A DSkParseColor.cpp455 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/skqp/src/utils/
H A DSkParseColor.cpp455 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/codec/
H A DSkBmpStandardCodec.cpp165 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 DSkCodecPriv.h113 const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) {
114 SkASSERT(nullptr != colorPtr);
118 return colorPtr[fillIndex];
120 return SkPixel32ToPixel16(colorPtr[fillIndex]);
124 uint32_t srcColor = colorPtr[fillIndex];
112 get_color_table_fill_value(SkColorType dstColorType, SkAlphaType alphaType, const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) argument
H A DSkPngCodec.cpp1165 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); local
1166 if (colorPtr) {
1169 return get_color_table_fill_value(dstInfo.colorType(), alphaType, colorPtr, 0,
/external/skqp/src/codec/
H A DSkBmpStandardCodec.cpp165 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 DSkCodecPriv.h113 const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) {
114 SkASSERT(nullptr != colorPtr);
118 return colorPtr[fillIndex];
120 return SkPixel32ToPixel16(colorPtr[fillIndex]);
124 uint32_t srcColor = colorPtr[fillIndex];
112 get_color_table_fill_value(SkColorType dstColorType, SkAlphaType alphaType, const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) argument
H A DSkPngCodec.cpp1159 const SkPMColor* colorPtr = get_color_ptr(fColorTable.get()); local
1160 if (colorPtr) {
1163 return get_color_table_fill_value(dstInfo.colorType(), alphaType, colorPtr, 0,
/external/skia/src/gpu/ops/
H A DGrSmallPathRenderer.cpp670 GrColor* colorPtr = (GrColor*)(offset + sizeof(SkPoint) + i * vertexStride); local
671 *colorPtr = color;
/external/skqp/src/gpu/ops/
H A DGrSmallPathRenderer.cpp668 GrColor* colorPtr = (GrColor*)(offset + sizeof(SkPoint) + i * vertexStride); local
669 *colorPtr = color;
/external/libvncserver/libvncserver/
H A Dtight.c180 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...]

Completed in 649 milliseconds