Home
last modified time | relevance | path

Searched refs:SkPMColor (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DAvoidXfermode.h47 void xfer32(SkPMColor dst[], const SkPMColor src[], int count,
49 void xfer16(uint16_t dst[], const SkPMColor src[], int count,
51 void xferA8(SkAlpha dst[], const SkPMColor src[], int count,
DAvoidXfermode.cpp51 static unsigned color_dist32(SkPMColor c, U8CPU r, U8CPU g, U8CPU b) { in color_dist32()
74 void AvoidXfermode::xfer32(SkPMColor dst[], const SkPMColor src[], int count, in xfer32()
114 static inline U16CPU SkBlend3216(SkPMColor src, U16CPU dst, unsigned scale) { in SkBlend3216()
123 void AvoidXfermode::xfer16(uint16_t dst[], const SkPMColor src[], int count, in xfer16()
163 void AvoidXfermode::xferA8(SkAlpha dst[], const SkPMColor src[], int count, in xferA8()
DBitmap.cpp410 SkPMColor* d = (SkPMColor*)dst; in FromColor_D32()
429 SkPMColor* d = (SkPMColor*)dst; in FromColor_D32_Raw()
455 SkPMColor pmc = SkPreMultiplyColor(*src++); in FromColor_D4444()
470 SkPMColor pmc = SkPackARGB32NoCheck(SkColorGetA(c), SkColorGetR(c), in FromColor_D4444_Raw()
540 const SkPMColor* s = (const SkPMColor*)src; in ToColor_S32_Alpha()
549 const SkPMColor* s = (const SkPMColor*)src; in ToColor_S32_Raw()
551 SkPMColor c = *s++; in ToColor_S32_Raw()
560 const SkPMColor* s = (const SkPMColor*)src; in ToColor_S32_Opaque()
562 SkPMColor c = *s++; in ToColor_S32_Opaque()
582 SkPMColor c = SkPixel4444ToPixel32(*s++); in ToColor_S4444_Raw()
[all …]
/frameworks/base/core/jni/android/opengl/
Dutil.cpp753 if (sizeof(SkPMColor) != sizeof(uint32_t)) { in util_texImage2D()
758 const size_t palette_size = 256*sizeof(SkPMColor); in util_texImage2D()
764 memcpy(data, ctable->readColors(), ctable->count() * sizeof(SkPMColor)); in util_texImage2D()
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp931 virtual void shadeSpan(int x, int y, SkPMColor[], int count) { in shadeSpan() argument