/external/skia/src/core/ |
D | SkXfermode.cpp | 22 static SkPMColor SkFourByteInterp(SkPMColor src, SkPMColor dst, U8CPU alpha) { in SkFourByteInterp() 87 static SkPMColor clear_modeproc(SkPMColor src, SkPMColor dst) { in clear_modeproc() 92 static SkPMColor src_modeproc(SkPMColor src, SkPMColor dst) { in src_modeproc() 97 static SkPMColor dst_modeproc(SkPMColor src, SkPMColor dst) { in dst_modeproc() 102 static SkPMColor srcover_modeproc(SkPMColor src, SkPMColor dst) { in srcover_modeproc() 115 static SkPMColor dstover_modeproc(SkPMColor src, SkPMColor dst) { in dstover_modeproc() 122 static SkPMColor srcin_modeproc(SkPMColor src, SkPMColor dst) { in srcin_modeproc() 127 static SkPMColor dstin_modeproc(SkPMColor src, SkPMColor dst) { in dstin_modeproc() 132 static SkPMColor srcout_modeproc(SkPMColor src, SkPMColor dst) { in srcout_modeproc() 137 static SkPMColor dstout_modeproc(SkPMColor src, SkPMColor dst) { in dstout_modeproc() [all …]
|
D | SkBitmapProcState_filter.h | 36 SkPMColor a00, SkPMColor a01, in Filter_32_opaque_neon() 37 SkPMColor a10, SkPMColor a11, in Filter_32_opaque_neon() 38 SkPMColor *dst) { in Filter_32_opaque_neon() 69 SkPMColor a00, SkPMColor a01, in Filter_32_alpha_neon() 70 SkPMColor a10, SkPMColor a11, in Filter_32_alpha_neon() 71 SkPMColor *dst, uint16_t scale) { in Filter_32_alpha_neon() 107 SkPMColor a00, SkPMColor a01, in Filter_32_opaque_portable() 108 SkPMColor a10, SkPMColor a11, in Filter_32_opaque_portable() 109 SkPMColor* dstColor) { in Filter_32_opaque_portable() 135 SkPMColor a00, SkPMColor a01, in Filter_32_alpha_portable() [all …]
|
D | ARGB32_Clamp_Bilinear_BitmapShader.h | 9 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count); 12 SkPMColor sample_bilerp(SkFixed fx, SkFixed fy, unsigned srcMaxX, unsigned srcMaxY, 13 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table); 14 SkPMColor sample_bilerp(SkFixed fx, SkFixed fy, unsigned srcMaxX, unsigned srcMaxY, in sample_bilerp() 15 const SkPMColor* srcPixels, int srcRB, const SkFilterPtrProc* proc_table) in sample_bilerp() 20 const SkPMColor *p00, *p01, *p10, *p11; in sample_bilerp() 22 p00 = p01 = ((const SkPMColor*)((const char*)srcPixels in sample_bilerp() 32 p10 = (const SkPMColor*)((const char*)p10 + srcRB); in sample_bilerp() 33 p11 = (const SkPMColor*)((const char*)p11 + srcRB); in sample_bilerp() 40 static inline SkPMColor sample_bilerpx(SkFixed fx, unsigned srcMaxX, const SkPMColor* srcPixels, in sample_bilerpx() [all …]
|
D | SkColorTable.cpp | 31 fColors = (SkPMColor*)sk_malloc_throw(count * sizeof(SkPMColor)); in SkColorTable() 32 memset(fColors, 0, count * sizeof(SkPMColor)); in SkColorTable() 44 fColors = reinterpret_cast<SkPMColor*>( in SkColorTable() 45 sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable() 46 memcpy(fColors, src.fColors, count * sizeof(SkPMColor)); in SkColorTable() 52 SkColorTable::SkColorTable(const SkPMColor colors[], int count) in SkColorTable() 61 fColors = reinterpret_cast<SkPMColor*>( in SkColorTable() 62 sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable() 65 memcpy(fColors, colors, count * sizeof(SkPMColor)); in SkColorTable() 105 static inline void build_16bitcache(uint16_t dst[], const SkPMColor src[], int count) in build_16bitcache() [all …]
|
D | SkBlitRow_D32.cpp | 7 static void S32_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Opaque_BlitRow32() 8 const SkPMColor* SK_RESTRICT src, in S32_Opaque_BlitRow32() 11 memcpy(dst, src, count * sizeof(SkPMColor)); in S32_Opaque_BlitRow32() 14 static void S32_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Blend_BlitRow32() 15 const SkPMColor* SK_RESTRICT src, in S32_Blend_BlitRow32() 29 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32_Blend_BlitRow32() 48 static void S32A_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32() 49 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32() 60 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32A_Opaque_BlitRow32() 70 SkPMColor sc = *src; in S32A_Opaque_BlitRow32() [all …]
|
D | SkBlitRow_D4444.cpp | 8 const SkPMColor* SK_RESTRICT src, int count, in S32_D4444_Opaque() 14 SkPMColor c = *src++; in S32_D4444_Opaque() 23 const SkPMColor* SK_RESTRICT src, int count, in S32_D4444_Blend() 30 SkPMColor c = *src++; in S32_D4444_Blend() 43 const SkPMColor* SK_RESTRICT src, int count, in S32A_D4444_Opaque() 49 SkPMColor c = *src++; in S32A_D4444_Opaque() 65 const SkPMColor* SK_RESTRICT src, int count, in S32A_D4444_Blend() 72 SkPMColor sc = *src++; in S32A_D4444_Blend() 89 const SkPMColor* SK_RESTRICT src, in S32_D4444_Opaque_Dither() 96 SkPMColor c = *src++; in S32_D4444_Opaque_Dither() [all …]
|
D | SkBlitRow_D16.cpp | 8 const SkPMColor* SK_RESTRICT src, int count, in S32_D565_Opaque() 14 SkPMColor c = *src++; in S32_D565_Opaque() 22 const SkPMColor* SK_RESTRICT src, int count, in S32_D565_Blend() 29 SkPMColor c = *src++; in S32_D565_Blend() 41 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Opaque() 47 SkPMColor c = *src++; in S32A_D565_Opaque() 59 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Blend() 65 SkPMColor sc = *src++; in S32A_D565_Blend() 83 const SkPMColor* SK_RESTRICT src, in S32_D565_Opaque_Dither() 90 SkPMColor c = *src++; in S32_D565_Opaque_Dither() [all …]
|
D | SkSpriteBlitter_ARGB32.cpp | 110 fBuffer = new SkPMColor[width]; in setup() 118 SkPMColor* fBuffer; 144 const SkPMColor* tmp = src; in blitRect() 166 static void fillbuffer(SK_RESTRICT SkPMColor dst[], in fillbuffer() 182 SK_RESTRICT SkPMColor* dst = fDevice->getAddr32(x, y); in blitRect() 187 SK_RESTRICT SkPMColor* buffer = fBuffer; in blitRect() 203 dst = (SK_RESTRICT SkPMColor*)((char*)dst + dstRB); in blitRect() 214 static void src_row(SK_RESTRICT SkPMColor dst[], in src_row() 229 SK_RESTRICT SkPMColor* dst = fDevice->getAddr32(x, y); in blitRect() 237 dst = (SK_RESTRICT SkPMColor*)((char*)dst + dstRB); in blitRect() [all …]
|
D | SkBlitter_ARGB32.cpp | 55 static void blit_lcd16_opaque(SkPMColor dst[], const uint16_t src[], in blit_lcd16_opaque() 56 SkPMColor color, int width) { in blit_lcd16_opaque() 67 SkPMColor d = dst[i]; in blit_lcd16_opaque() 96 const SkIRect& clip, SkPMColor srcColor) { in blitmask_lcd16() 102 SkPMColor* dstRow = device.getAddr32(x, y); in blitmask_lcd16() 107 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); in blitmask_lcd16() 115 const SkIRect& clip, SkPMColor srcColor) { in SkARGB32_Blit32() 128 SkPMColor* dstRow = device.getAddr32(x, y); in SkARGB32_Blit32() 129 const SkPMColor* srcRow = reinterpret_cast<const SkPMColor*>(mask.getAddr(x, y)); in SkARGB32_Blit32() 133 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); in SkARGB32_Blit32() [all …]
|
D | SkBitmapSamplerTemplate.h | 31 virtual SkPMColor sample(SkFixed x, SkFixed y) const in BITMAP_CLASSNAME_PREFIX() 47 virtual SkPMColor sample(SkFixed x, SkFixed y) const in BITMAP_CLASSNAME_PREFIX() 62 virtual SkPMColor sample(SkFixed x, SkFixed y) const in BITMAP_CLASSNAME_PREFIX() 77 virtual SkPMColor sample(SkFixed x, SkFixed y) const in BITMAP_CLASSNAME_PREFIX() 92 virtual SkPMColor sample(SkFixed x, SkFixed y) const in BITMAP_CLASSNAME_PREFIX() 107 virtual SkPMColor sample(SkFixed x, SkFixed y) const in BITMAP_CLASSNAME_PREFIX()
|
D | SkBitmapProcState.h | 28 SkPMColor[], int count); 41 SkPMColor colors[]); 70 SkPMColor fPaintPMColor; // chooseProcs - A8 config 143 int count, SkPMColor colors[]); 145 int count, SkPMColor colors[]);
|
/external/skia/src/images/ |
D | SkScaledBitmapSampler.cpp | 26 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_Gray_D8888() argument 27 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_Gray_D8888() 37 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_RGBx_D8888() argument 38 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBx_D8888() 48 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_RGBA_D8888() argument 49 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBA_D8888() 64 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_Gray_D565() argument 75 int width, int deltaSrc, int y, const SkPMColor[]) { in Sample_Gray_D565_D() argument 87 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_RGBx_D565() argument 98 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_D565_D565() argument [all …]
|
D | SkImageDecoder_libico.cpp | 53 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 56 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 59 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 62 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 65 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 168 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) = NULL; in onDecode() 207 SkPMColor* colors = NULL; in onDecode() 211 colors = new SkPMColor[colorCount]; in onDecode() 286 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) in editPixelBit1() 289 SkPMColor* address = bm->getAddr32(x,y); in editPixelBit1() [all …]
|
/external/skia/include/core/ |
D | SkXfermode.h | 35 virtual void xfer32(SkPMColor dst[], const SkPMColor src[], int count, 37 virtual void xfer16(uint16_t dst[], const SkPMColor src[], int count, 39 virtual void xfer4444(uint16_t dst[], const SkPMColor src[], int count, 41 virtual void xferA8(SkAlpha dst[], const SkPMColor src[], int count, 181 virtual SkPMColor xferColor(SkPMColor src, SkPMColor dst); 202 virtual void xfer32(SkPMColor dst[], const SkPMColor src[], int count, 204 virtual void xfer16(uint16_t dst[], const SkPMColor src[], int count, 206 virtual void xfer4444(uint16_t dst[], const SkPMColor src[], int count, 208 virtual void xferA8(SkAlpha dst[], const SkPMColor src[], int count,
|
D | SkBlitRow.h | 29 const SkPMColor* SK_RESTRICT src, 35 typedef void (*ColorProc)(SkPMColor* dst, const SkPMColor* src, int count, 36 SkPMColor color); 55 const SkPMColor* SK_RESTRICT src, 64 static void Color32(SkPMColor dst[], const SkPMColor src[], 65 int count, SkPMColor color);
|
D | SkColor.h | 151 typedef uint32_t SkPMColor; typedef 155 SK_API SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b); 160 SK_API SkPMColor SkPreMultiplyColor(SkColor c); 164 typedef SkPMColor (*SkXfermodeProc)(SkPMColor src, SkPMColor dst); 169 typedef uint16_t (*SkXfermodeProc16)(SkPMColor src, uint16_t dst);
|
D | SkColorPriv.h | 181 static inline void SkPMColorAssert(SkPMColor c) { in SkPMColorAssert() 200 static inline SkPMColor SkPackARGB32(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPackARGB32() 214 static inline SkPMColor SkPackARGB32NoCheck(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPackARGB32NoCheck() 230 static inline SkPMColor SkPMSrcOver(SkPMColor src, SkPMColor dst) { in SkPMSrcOver() 234 static inline SkPMColor SkBlendARGB32(SkPMColor src, SkPMColor dst, U8CPU aa) { in SkBlendARGB32() 273 static inline U16CPU SkPixel32ToPixel16(SkPMColor c) { in SkPixel32ToPixel16() 301 static inline uint16_t SkDitherPixel32ToPixel16(SkPMColor c) { in SkDitherPixel32ToPixel16() 312 static inline uint32_t SkPMColorToExpanded16x5(SkPMColor c) { in SkPMColorToExpanded16x5() 326 static inline U16CPU SkSrcOver32To16(SkPMColor src, uint16_t dst) { in SkSrcOver32To16() 363 static inline SkPMColor SkPixel16ToPixel32(U16CPU src) { in SkPixel16ToPixel32() [all …]
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_SSE2.cpp | 27 void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, in S32_Blend_BlitRow32_SSE2() 28 const SkPMColor* SK_RESTRICT src, in S32_Blend_BlitRow32_SSE2() 88 src = reinterpret_cast<const SkPMColor*>(s); in S32_Blend_BlitRow32_SSE2() 89 dst = reinterpret_cast<SkPMColor*>(d); in S32_Blend_BlitRow32_SSE2() 100 void S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32_SSE2() 101 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32_SSE2() 213 src = reinterpret_cast<const SkPMColor*>(s); in S32A_Opaque_BlitRow32_SSE2() 214 dst = reinterpret_cast<SkPMColor*>(d); in S32A_Opaque_BlitRow32_SSE2() 225 void S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, in S32A_Blend_BlitRow32_SSE2() 226 const SkPMColor* SK_RESTRICT src, in S32A_Blend_BlitRow32_SSE2() [all …]
|
D | SkBlitRow_opts_SSE2.h | 20 void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 21 const SkPMColor* SK_RESTRICT src, 24 void S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 25 const SkPMColor* SK_RESTRICT src, 28 void S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 29 const SkPMColor* SK_RESTRICT src,
|
D | SkBlitRow_opts_arm.cpp | 32 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Opaque_neon() 206 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Blend_neon() 301 SkPMColor sc = *src++; in S32A_D565_Blend_neon() 328 static void S32_D565_Blend_Dither_neon(uint16_t *dst, const SkPMColor *src, in S32_D565_Blend_Dither_neon() 397 SkPMColor c = *src++; in S32_D565_Blend_Dither_neon() 435 static void S32A_Opaque_BlitRow32_neon(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32_neon() 436 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32_neon() 539 SkPMColor sc = *src; in S32A_Opaque_BlitRow32_neon() 542 SkPMColor result = sc; in S32A_Opaque_BlitRow32_neon() 565 static void S32A_Opaque_BlitRow32_arm(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32_arm() [all …]
|
/external/skia/src/effects/ |
D | SkColorFilters.cpp | 74 SkPMColor fPMColor; 95 virtual void filterSpan(const SkPMColor shader[], int count, in filterSpan() 96 SkPMColor result[]) { in filterSpan() 135 virtual void filterSpan(const SkPMColor shader[], int count, in filterSpan() 136 SkPMColor result[]) { in filterSpan() 186 virtual void filterSpan(const SkPMColor shader[], int count, in filterSpan() 187 SkPMColor result[]) { in filterSpan() 188 SkPMColor color = fPMColor; in filterSpan() 200 SkPMColor color = fPMColor; in filterSpan16() 309 virtual void filterSpan(const SkPMColor shader[], int count, in filterSpan() [all …]
|
D | SkPixelXorXfermode.cpp | 22 SkPMColor SkPixelXorXfermode::xferColor(SkPMColor src, SkPMColor dst) { in xferColor() 23 SkPMColor res = src ^ dst ^ fOpColor; in xferColor()
|
D | SkAvoidXfermode.cpp | 88 static unsigned color_dist32(SkPMColor c, U8CPU r, U8CPU g, U8CPU b) in color_dist32() 109 static SkPMColor SkFourByteInterp(SkPMColor src, SkPMColor dst, unsigned scale) in SkFourByteInterp() 123 void SkAvoidXfermode::xfer32(SkPMColor dst[], const SkPMColor src[], int count, in xfer32() 164 static inline U16CPU SkBlend3216(SkPMColor src, U16CPU dst, unsigned scale) in SkBlend3216() 174 void SkAvoidXfermode::xfer16(uint16_t dst[], const SkPMColor src[], int count, in xfer16() 215 void SkAvoidXfermode::xfer4444(uint16_t dst[], const SkPMColor src[], int count, in xfer4444() 256 void SkAvoidXfermode::xferA8(SkAlpha dst[], const SkPMColor src[], int count, const SkAlpha aa[]) in xferA8()
|
/external/skia/include/effects/ |
D | SkAvoidXfermode.h | 52 virtual void xfer32(SkPMColor dst[], const SkPMColor src[], int count, 54 virtual void xfer16(uint16_t dst[], const SkPMColor src[], int count, 56 virtual void xfer4444(uint16_t dst[], const SkPMColor src[], int count, 58 virtual void xferA8(SkAlpha dst[], const SkPMColor src[], int count,
|
/external/skia/samplecode/ |
D | ClockFaceView.cpp | 14 static inline SkPMColor rgb2gray(SkPMColor c) in rgb2gray() 27 virtual void filterSpan(const SkPMColor src[], int count, SkPMColor result[]) in filterSpan() 41 virtual void filterSpan(const SkPMColor src[], int count, SkPMColor result[]) in filterSpan() 43 SkPMColor mask = fMask; in filterSpan() 49 SkPMColor fMask;
|