/external/skia/src/opts/ |
D | SkBlitRow_opts_SSE2.h | 13 void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 14 const SkPMColor* SK_RESTRICT src, 17 void S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 18 const SkPMColor* SK_RESTRICT src, 21 void S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 22 const SkPMColor* SK_RESTRICT src, 25 void Color32A_D565_SSE2(uint16_t dst[], SkPMColor src, int count, int x, 28 void SkBlitLCD16Row_SSE2(SkPMColor dst[], const uint16_t src[], 29 SkColor color, int width, SkPMColor); 30 void SkBlitLCD16OpaqueRow_SSE2(SkPMColor dst[], const uint16_t src[], [all …]
|
D | SkMorphologyImageFilter_opts.h | 18 static void morph(const SkPMColor* src, SkPMColor* dst, in morph() 25 const SkPMColor* upperSrc = src + radius * srcStrideX; in morph() 27 const SkPMColor* lp = src; in morph() 28 const SkPMColor* up = upperSrc; in morph() 29 SkPMColor* dptr = dst; in morph() 33 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { in morph() 51 static void morph(const SkPMColor* src, SkPMColor* dst, in morph() 58 const SkPMColor* upperSrc = src + radius * srcStrideX; in morph() 60 const SkPMColor* lp = src; in morph() 61 const SkPMColor* up = upperSrc; in morph() [all …]
|
D | SkBitmapProcState_filter_neon.h | 24 SkPMColor a00, SkPMColor a01, in Filter_32_opaque_neon() 25 SkPMColor a10, SkPMColor a11, in Filter_32_opaque_neon() 26 SkPMColor *dst) { in Filter_32_opaque_neon() 58 SkPMColor a00, SkPMColor a01, in Filter_32_alpha_neon() 59 SkPMColor a10, SkPMColor a11, in Filter_32_alpha_neon() 60 SkPMColor *dst, in Filter_32_alpha_neon()
|
D | SkBlitMask_opts.h | 24 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Opaque_Color_neon() 25 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst; in D32_A8_Opaque_Color_neon() 84 static void blit_mask_d32_a8_general(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_general() 91 static void blit_mask_d32_a8_opaque(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_opaque() 98 static void blit_mask_d32_a8_black(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8_black() 101 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst; in blit_mask_d32_a8_black() 134 static void blit_mask_d32_a8_general(SkPMColor* dst, size_t dstRB, 153 static void blit_mask_d32_a8_opaque(SkPMColor* dst, size_t dstRB, 173 static void blit_mask_d32_a8_black(SkPMColor* dst, size_t dstRB, 192 static void blit_mask_d32_a8(SkPMColor* dst, size_t dstRB, in blit_mask_d32_a8()
|
D | SkBlurImageFilter_opts.h | 21 static inline __m128i expand(SkPMColor p) { in expand() 25 static inline SkPMColor repack(__m128i p) { in repack() 41 static inline SkPMColor repack(__m128i p) { in repack() 87 int box_blur_double(const SkPMColor** src, int srcStride, const SkIRect& srcBounds, SkPMColor** dst… in box_blur_double() 90 auto load_2_pixels = [&](const SkPMColor* s) { in box_blur_double() 118 const SkPMColor* lptr = *src; in box_blur_double() 119 const SkPMColor* rptr = *src; in box_blur_double() 120 SkPMColor* dptr = *dst; in box_blur_double() 169 static inline uint16x4_t expand(SkPMColor p) { in expand() 222 static void box_blur(const SkPMColor* src, int srcStride, const SkIRect& srcBounds, SkPMColor* dst, in box_blur() [all …]
|
D | SkBlitRow_opts_SSE2.cpp | 20 void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, in S32_Blend_BlitRow32_SSE2() 21 const SkPMColor* SK_RESTRICT src, in S32_Blend_BlitRow32_SSE2() 58 src = reinterpret_cast<const SkPMColor*>(s); in S32_Blend_BlitRow32_SSE2() 59 dst = reinterpret_cast<SkPMColor*>(d); in S32_Blend_BlitRow32_SSE2() 70 void S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32_SSE2() 71 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32_SSE2() 140 src = reinterpret_cast<const SkPMColor*>(s); in S32A_Opaque_BlitRow32_SSE2() 141 dst = reinterpret_cast<SkPMColor*>(d); in S32A_Opaque_BlitRow32_SSE2() 197 void S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, in S32A_Blend_BlitRow32_SSE2() 198 const SkPMColor* SK_RESTRICT src, in S32A_Blend_BlitRow32_SSE2() [all …]
|
D | SkBlitMask_opts_arm_neon.h | 14 extern void SkBlitLCD16OpaqueRow_neon(SkPMColor dst[], const uint16_t src[], 16 SkPMColor opaqueDst); 18 extern void SkBlitLCD16Row_neon(SkPMColor dst[], const uint16_t src[], 19 SkColor color, int width, SkPMColor);
|
/external/skia/src/images/ |
D | SkScaledBitmapSampler.cpp | 19 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_Gray_D8888() argument 20 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_Gray_D8888() 36 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_RGBx_D8888() argument 37 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBx_D8888() 53 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_RGBA_D8888() argument 54 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBA_D8888() 68 const SkPMColor[]) { in Sample_RGBA_D8888_Unpremul() argument 83 const SkPMColor[]) { in Sample_RGBA_D8888_SkipZ() argument 84 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; in Sample_RGBA_D8888_SkipZ() 116 int width, int deltaSrc, int, const SkPMColor[]) { in Sample_Gray_D565() argument [all …]
|
D | SkImageDecoder_libico.cpp | 48 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 51 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 54 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 57 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 60 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 175 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) = nullptr; in onDecode() 220 SkPMColor* colors = nullptr; in onDecode() 224 colors = new SkPMColor[colorCount]; in onDecode() 338 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) in editPixelBit1() 341 SkPMColor* address = bm->getAddr32(x,y); in editPixelBit1() [all …]
|
/external/skia/src/codec/ |
D | SkSwizzler.cpp | 15 const SkPMColor ctable[]) { in copy() 24 const SkPMColor ctable[]) { in sample1() 34 const SkPMColor ctable[]) { in sample2() 44 const SkPMColor ctable[]) { in sample4() 63 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_grayscale() argument 88 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_index() argument 109 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_n32() argument 110 SkPMColor* SK_RESTRICT dst = (SkPMColor*) dstRow; in swizzle_bit_to_n32() 132 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_565() argument 157 int bpp, int deltaSrc, int offset, const SkPMColor ctable[]) { in swizzle_small_index_to_index() [all …]
|
D | SkMaskSwizzler.cpp | 18 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_n32_opaque() 35 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_n32_unpremul() 53 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_n32_premul() 90 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask24_to_n32_opaque() 107 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask24_to_n32_unpremul() 125 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask24_to_n32_premul() 160 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask32_to_n32_opaque() 177 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask32_to_n32_unpremul() 195 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask32_to_n32_premul()
|
/external/skia/src/core/ |
D | SkBitmapProcState_filter.h | 22 SkPMColor a00, SkPMColor a01, in Filter_32_opaque() 23 SkPMColor a10, SkPMColor a11, in Filter_32_opaque() 24 SkPMColor* dstColor) { in Filter_32_opaque() 50 SkPMColor a00, SkPMColor a01, in Filter_32_alpha() 51 SkPMColor a10, SkPMColor a11, in Filter_32_alpha() 52 SkPMColor* dstColor, in Filter_32_alpha() 84 SkPMColor color0, in Filter_32_opaque() 85 SkPMColor color1, in Filter_32_opaque() 86 SkPMColor* dstColor) { in Filter_32_opaque() 104 SkPMColor color0, in Filter_32_alpha() [all …]
|
D | SkBlitRow_D32.cpp | 16 static void S32_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Opaque_BlitRow32() 17 const SkPMColor* SK_RESTRICT src, in S32_Opaque_BlitRow32() 23 static void S32_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Blend_BlitRow32() 24 const SkPMColor* SK_RESTRICT src, in S32_Blend_BlitRow32() 38 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32_Blend_BlitRow32() 55 static void S32A_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32() 56 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32() 67 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32A_Opaque_BlitRow32() 84 static void S32A_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32A_Blend_BlitRow32() 85 const SkPMColor* SK_RESTRICT src, in S32A_Blend_BlitRow32() [all …]
|
D | SkOpts.h | 29 …typedef void (*BoxBlur)(const SkPMColor*, int, const SkIRect& srcBounds, SkPMColor*, int, int, int… 32 typedef void (*Morph)(const SkPMColor*, SkPMColor*, int, int, int, int, int); 40 extern void (*blit_mask_d32_a8)(SkPMColor*, size_t, const SkAlpha*, size_t, SkColor, int, int); 41 extern void (*blit_row_color32)(SkPMColor*, const SkPMColor*, int, SkPMColor); 44 extern void (*color_cube_filter_span)(const SkPMColor[], 46 SkPMColor[],
|
D | SkXfermode.cpp | 355 static SkPMColor clear_modeproc(SkPMColor src, SkPMColor dst) { in clear_modeproc() 360 static SkPMColor src_modeproc(SkPMColor src, SkPMColor dst) { in src_modeproc() 365 static SkPMColor dst_modeproc(SkPMColor src, SkPMColor dst) { in dst_modeproc() 370 static SkPMColor srcover_modeproc(SkPMColor src, SkPMColor dst) { in srcover_modeproc() 383 static SkPMColor dstover_modeproc(SkPMColor src, SkPMColor dst) { in dstover_modeproc() 390 static SkPMColor srcin_modeproc(SkPMColor src, SkPMColor dst) { in srcin_modeproc() 395 static SkPMColor dstin_modeproc(SkPMColor src, SkPMColor dst) { in dstin_modeproc() 400 static SkPMColor srcout_modeproc(SkPMColor src, SkPMColor dst) { in srcout_modeproc() 405 static SkPMColor dstout_modeproc(SkPMColor src, SkPMColor dst) { in dstout_modeproc() 410 static SkPMColor srcatop_modeproc(SkPMColor src, SkPMColor dst) { in srcatop_modeproc() [all …]
|
D | SkColorTable.cpp | 16 void SkColorTable::init(const SkPMColor colors[], int count) { in init() 20 fColors = reinterpret_cast<SkPMColor*>(sk_malloc_throw(count * sizeof(SkPMColor))); in init() 22 memcpy(fColors, colors, count * sizeof(SkPMColor)); in init() 25 SkColorTable::SkColorTable(const SkPMColor colors[], int count) { in SkColorTable() 35 SkColorTable::SkColorTable(SkPMColor* colors, int count, AllocatedWithMalloc) in SkColorTable() 69 size_t allocSize = fCount * sizeof(SkPMColor); 72 fColors = (SkPMColor*)sk_malloc_throw(allocSize); 104 const size_t allocSize = count * sizeof(SkPMColor); in Create() 105 SkAutoTDelete<SkPMColor> colors((SkPMColor*)sk_malloc_throw(allocSize)); in Create()
|
D | SkBlitRow_D16.cpp | 16 const SkPMColor* SK_RESTRICT src, int count, in S32_D565_Opaque() 22 SkPMColor c = *src++; in S32_D565_Opaque() 30 const SkPMColor* SK_RESTRICT src, int count, in S32_D565_Blend() 37 SkPMColor c = *src++; in S32_D565_Blend() 49 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Opaque() 55 SkPMColor c = *src++; in S32A_D565_Opaque() 67 const SkPMColor* SK_RESTRICT src, int count, in S32A_D565_Blend() 73 SkPMColor sc = *src++; in S32A_D565_Blend() 77 SkPMColor res = SkBlendARGB32(sc, SkPixel16ToPixel32(dc), alpha); in S32A_D565_Blend() 88 const SkPMColor* SK_RESTRICT src, in S32_D565_Opaque_Dither() [all …]
|
D | SkBlitMask_D32.cpp | 30 SkPMColor* dstRow = (SkPMColor*)dst; in D32_LCD16_Proc() 32 SkPMColor opaqueDst; in D32_LCD16_Proc() 47 dstRow = (SkPMColor*)((char*)dstRow + dstRB); in D32_LCD16_Proc() 80 … SkPMColor* SK_RESTRICT dst, const void* maskIn, const SkPMColor* SK_RESTRICT src, int count) { in BW_RowProc_Blend() 109 … SkPMColor* SK_RESTRICT dst, const void* maskIn, const SkPMColor* SK_RESTRICT src, int count) { in BW_RowProc_Opaque() 138 … SkPMColor* SK_RESTRICT dst, const void* maskIn, const SkPMColor* SK_RESTRICT src, int count) { in A8_RowProc_Blend() 157 … SkPMColor* SK_RESTRICT dst, const void* maskIn, const SkPMColor* SK_RESTRICT src, int count) { in A8_RowProc_Opaque() 192 … SkPMColor* SK_RESTRICT dst, const void* maskIn, const SkPMColor* SK_RESTRICT src, int count) { in LCD16_RowProc_Blend() 200 SkPMColor s = src[i]; in LCD16_RowProc_Blend() 201 SkPMColor d = dst[i]; in LCD16_RowProc_Blend() [all …]
|
D | Sk4px.h | 26 static Sk4px DupPMColor(SkPMColor c); // argb -> argb argb argb argb 39 static Sk4px Load4(const SkPMColor[4]); // PMColor[4] -> ARGB argb XYZW xyzw 40 static Sk4px Load2(const SkPMColor[2]); // PMColor[2] -> ARGB argb ???? ???? 41 static Sk4px Load1(const SkPMColor[1]); // PMColor[1] -> ARGB ???? ???? ???? 47 void store4(SkPMColor[4]) const; 48 void store2(SkPMColor[2]) const; 49 void store1(SkPMColor[1]) const; 101 static void MapSrc(int n, SkPMColor* dst, const SkPMColor* src, const Fn& fn) { in MapSrc() 133 static void MapDstSrc(int n, SkPMColor* dst, const SkPMColor* src, const Fn& fn) { in MapDstSrc() 163 static void MapDstAlpha(int n, SkPMColor* dst, const SkAlpha* a, const Fn& fn) { in MapDstAlpha() [all …]
|
D | SkSpriteBlitter_ARGB32.cpp | 97 fBuffer = new SkPMColor[width]; in setup() 105 SkPMColor* fBuffer; 130 const SkPMColor* tmp = src; in blitRect() 152 static void fillbuffer(SkPMColor* SK_RESTRICT dst, in fillbuffer() 168 SkPMColor* SK_RESTRICT dst = fDst.writable_addr32(x, y); in blitRect() 172 SkPMColor* SK_RESTRICT buffer = fBuffer; in blitRect() 188 dst = (SkPMColor* SK_RESTRICT)((char*)dst + dstRB); in blitRect() 199 static void src_row(SkPMColor* SK_RESTRICT dst, in src_row() 214 SkPMColor* SK_RESTRICT dst = fDst.writable_addr32(x, y); in blitRect() 221 dst = (SkPMColor* SK_RESTRICT)((char*)dst + dstRB); in blitRect() [all …]
|
/external/skia/include/core/ |
D | SkColorPriv.h | 134 static inline SkPMColor SkSwizzle_RGBA_to_PMColor(uint32_t c) { in SkSwizzle_RGBA_to_PMColor() 142 static inline SkPMColor SkSwizzle_BGRA_to_PMColor(uint32_t c) { in SkSwizzle_BGRA_to_PMColor() 370 SkPMColor pm_color_value = (color_value); \ 381 static inline bool SkPMColorValid(SkPMColor c) { in SkPMColorValid() 397 static inline SkPMColor SkPackARGB32(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPackARGB32() 407 static inline uint32_t SkPackPMColor_as_RGBA(SkPMColor c) { in SkPackPMColor_as_RGBA() 412 static inline uint32_t SkPackPMColor_as_BGRA(SkPMColor c) { in SkPackPMColor_as_BGRA() 424 static inline SkPMColor SkFourByteInterp256(SkPMColor src, SkPMColor dst, in SkFourByteInterp256() 440 static inline SkPMColor SkFourByteInterp(SkPMColor src, SkPMColor dst, in SkFourByteInterp() 481 return SkPMColor( in SkUnsplay() [all …]
|
D | SkColorTable.h | 29 SkColorTable(const SkPMColor colors[], int count); 39 SkPMColor operator[](int index) const { 46 const SkPMColor* readColors() const { return fColors; } in readColors() 62 SkColorTable(SkPMColor* colors, int count, AllocatedWithMalloc); 64 SkPMColor* fColors; 68 void init(const SkPMColor* colors, int count); 72 void dangerous_overwriteColors(const SkPMColor newColors[], int count) { in dangerous_overwriteColors() 77 memcpy(fColors, newColors, count * sizeof(SkPMColor)); in dangerous_overwriteColors()
|
D | SkBlitRow.h | 35 typedef void (*Proc16)(uint16_t dst[], const SkPMColor src[], int count, 45 typedef void (*ColorProc16)(uint16_t dst[], SkPMColor src, int count, int x, int y); 63 typedef void (*Proc32)(uint32_t dst[], const SkPMColor src[], int count, U8CPU alpha); 71 static void Color32(SkPMColor dst[], const SkPMColor src[], int count, SkPMColor color);
|
/external/skia/src/effects/ |
D | SkPixelXorXfermode.cpp | 16 SkPMColor SkPixelXorXfermode::xferColor(SkPMColor src, SkPMColor dst) const { in xferColor() 17 SkPMColor res = src ^ dst ^ fOpColor; in xferColor() 125 static const GrFragmentProcessor* Create(SkPMColor opColor, const GrFragmentProcessor* dst) { in Create() 139 SkPMColor opColor() const { return fOpColor; } in opColor() 155 PixelXorFP(SkPMColor opColor, const GrFragmentProcessor* dst) in PixelXorFP() 164 SkPMColor fOpColor; 230 PixelXorXP(const DstTexture* dstTexture, bool hasMixedSamples, SkPMColor opColor) in PixelXorXP() 240 SkPMColor opColor() const { return fOpColor; } in opColor() 258 SkPMColor fOpColor; 320 static GrXPFactory* Create(SkPMColor opColor) { in Create() [all …]
|
/external/skia/src/effects/gradients/ |
D | Sk4fLinearGradient.cpp | 19 SkPMColor trunc_from_255(const Sk4f& c) { in trunc_from_255() 20 SkPMColor pmc; in trunc_from_255() 46 void fill<SkPMColor, false>(const Sk4f& c, SkPMColor* dst, int n) { in fill() 51 void fill<SkPMColor, true>(const Sk4f& c, SkPMColor* dst, int n) { in fill() 69 void store<SkPMColor, false>(const Sk4f& c, SkPMColor* dst) { in store() 74 void store<SkPMColor, true>(const Sk4f& c, SkPMColor* dst) { in store() 91 void store4x<SkPMColor, false>(const Sk4f& c0, in store4x() 95 SkPMColor* dst) { in store4x() 160 float dst_component_scale<SkPMColor>() { in dst_component_scale() 172 LinearGradient4fContext::shadeSpan(int x, int y, SkPMColor dst[], int count) { in shadeSpan() [all …]
|