Home
last modified time | relevance | path

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

12345678910>>...16

/external/chromium_org/third_party/skia/src/opts/
DSkXfermode_opts_arm_neon.h12 virtual void xfer32(SkPMColor dst[], const SkPMColor src[], int count,
14 virtual void xfer16(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src,
29 extern SkPMColor srcatop_modeproc_neon(SkPMColor src, SkPMColor dst);
30 extern SkPMColor dstatop_modeproc_neon(SkPMColor src, SkPMColor dst);
31 extern SkPMColor xor_modeproc_neon(SkPMColor src, SkPMColor dst);
32 extern SkPMColor plus_modeproc_neon(SkPMColor src, SkPMColor dst);
33 extern SkPMColor modulate_modeproc_neon(SkPMColor src, SkPMColor dst);
DSkBlitRow_opts_SSE2.h13 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,
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[],
31 SkColor color, int width, SkPMColor opaqueDst);
[all …]
DSkMorphology_opts_SSE2.cpp25 static void SkMorph_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkMorph_SSE2()
33 const SkPMColor* upperSrc = src + radius * srcStrideX; in SkMorph_SSE2()
35 const SkPMColor* lp = src; in SkMorph_SSE2()
36 const SkPMColor* up = upperSrc; in SkMorph_SSE2()
37 SkPMColor* dptr = dst; in SkMorph_SSE2()
40 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { in SkMorph_SSE2()
59 void SkDilateX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkDilateX_SSE2()
65 void SkErodeX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkErodeX_SSE2()
71 void SkDilateY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkDilateY_SSE2()
77 void SkErodeY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkErodeY_SSE2()
DSkMorphology_opts_neon.cpp28 static void SkMorph_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkMorph_neon()
36 const SkPMColor* upperSrc = src + radius * srcStrideX; in SkMorph_neon()
38 const SkPMColor* lp = src; in SkMorph_neon()
39 const SkPMColor* up = upperSrc; in SkMorph_neon()
40 SkPMColor* dptr = dst; in SkMorph_neon()
43 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { in SkMorph_neon()
58 void SkDilateX_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkDilateX_neon()
64 void SkErodeX_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkErodeX_neon()
70 void SkDilateY_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkDilateY_neon()
76 void SkErodeY_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkErodeY_neon()
DSkMorphology_opts_neon.h8 void SkDilateX_neon(const SkPMColor* src, SkPMColor* dst, int radius,
10 void SkDilateY_neon(const SkPMColor* src, SkPMColor* dst, int radius,
12 void SkErodeX_neon(const SkPMColor* src, SkPMColor* dst, int radius,
14 void SkErodeY_neon(const SkPMColor* src, SkPMColor* dst, int radius,
DSkMorphology_opts_SSE2.h13 void SkDilateX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
15 void SkDilateY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
17 void SkErodeX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
19 void SkErodeY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
/external/skia/src/opts/
DSkXfermode_opts_arm_neon.h12 virtual void xfer32(SkPMColor dst[], const SkPMColor src[], int count,
14 virtual void xfer16(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src,
29 extern SkPMColor srcatop_modeproc_neon(SkPMColor src, SkPMColor dst);
30 extern SkPMColor dstatop_modeproc_neon(SkPMColor src, SkPMColor dst);
31 extern SkPMColor xor_modeproc_neon(SkPMColor src, SkPMColor dst);
32 extern SkPMColor plus_modeproc_neon(SkPMColor src, SkPMColor dst);
33 extern SkPMColor modulate_modeproc_neon(SkPMColor src, SkPMColor dst);
DSkBlitRow_opts_SSE2.h13 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,
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[],
31 SkColor color, int width, SkPMColor opaqueDst);
[all …]
DSkMorphology_opts_SSE2.cpp25 static void SkMorph_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkMorph_SSE2()
33 const SkPMColor* upperSrc = src + radius * srcStrideX; in SkMorph_SSE2()
35 const SkPMColor* lp = src; in SkMorph_SSE2()
36 const SkPMColor* up = upperSrc; in SkMorph_SSE2()
37 SkPMColor* dptr = dst; in SkMorph_SSE2()
40 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { in SkMorph_SSE2()
59 void SkDilateX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkDilateX_SSE2()
65 void SkErodeX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkErodeX_SSE2()
71 void SkDilateY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkDilateY_SSE2()
77 void SkErodeY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, in SkErodeY_SSE2()
DSkMorphology_opts_neon.cpp28 static void SkMorph_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkMorph_neon()
36 const SkPMColor* upperSrc = src + radius * srcStrideX; in SkMorph_neon()
38 const SkPMColor* lp = src; in SkMorph_neon()
39 const SkPMColor* up = upperSrc; in SkMorph_neon()
40 SkPMColor* dptr = dst; in SkMorph_neon()
43 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { in SkMorph_neon()
58 void SkDilateX_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkDilateX_neon()
64 void SkErodeX_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkErodeX_neon()
70 void SkDilateY_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkDilateY_neon()
76 void SkErodeY_neon(const SkPMColor* src, SkPMColor* dst, int radius, in SkErodeY_neon()
DSkMorphology_opts_neon.h8 void SkDilateX_neon(const SkPMColor* src, SkPMColor* dst, int radius,
10 void SkDilateY_neon(const SkPMColor* src, SkPMColor* dst, int radius,
12 void SkErodeX_neon(const SkPMColor* src, SkPMColor* dst, int radius,
14 void SkErodeY_neon(const SkPMColor* src, SkPMColor* dst, int radius,
DSkMorphology_opts_SSE2.h13 void SkDilateX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
15 void SkDilateY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
17 void SkErodeX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
19 void SkErodeY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
/external/chromium_org/third_party/skia/src/core/
DSkBlitRow_D32.cpp17 static void S32_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Opaque_BlitRow32()
18 const SkPMColor* SK_RESTRICT src, in S32_Opaque_BlitRow32()
24 static void S32_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Blend_BlitRow32()
25 const SkPMColor* SK_RESTRICT src, in S32_Blend_BlitRow32()
39 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32_Blend_BlitRow32()
56 static void S32A_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32()
57 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32()
68 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32A_Opaque_BlitRow32()
85 static void S32A_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32A_Blend_BlitRow32()
86 const SkPMColor* SK_RESTRICT src, in S32A_Blend_BlitRow32()
[all …]
DSkBlitMask_D32.cpp15 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Color()
18 SkPMColor* SK_RESTRICT device = (SkPMColor *)dst; in D32_A8_Color()
36 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Opaque()
37 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst; in D32_A8_Opaque()
57 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst; in D32_A8_Black()
91 SkPMColor* dstRow = (SkPMColor*)dst; in D32_LCD16_Proc()
93 SkPMColor opaqueDst; in D32_LCD16_Proc()
108 dstRow = (SkPMColor*)((char*)dstRow + dstRB); in D32_LCD16_Proc()
115 static void blit_lcd32_opaque_row(SkPMColor* SK_RESTRICT dst, in blit_lcd32_opaque_row()
116 const SkPMColor* SK_RESTRICT src, in blit_lcd32_opaque_row()
[all …]
DSkBitmapProcState_filter.h22 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 …]
DSkXfermode.cpp74 static SkPMColor clear_modeproc(SkPMColor src, SkPMColor dst) { in clear_modeproc()
79 static SkPMColor src_modeproc(SkPMColor src, SkPMColor dst) { in src_modeproc()
84 static SkPMColor dst_modeproc(SkPMColor src, SkPMColor dst) { in dst_modeproc()
89 static SkPMColor srcover_modeproc(SkPMColor src, SkPMColor dst) { in srcover_modeproc()
102 static SkPMColor dstover_modeproc(SkPMColor src, SkPMColor dst) { in dstover_modeproc()
109 static SkPMColor srcin_modeproc(SkPMColor src, SkPMColor dst) { in srcin_modeproc()
114 static SkPMColor dstin_modeproc(SkPMColor src, SkPMColor dst) { in dstin_modeproc()
119 static SkPMColor srcout_modeproc(SkPMColor src, SkPMColor dst) { in srcout_modeproc()
124 static SkPMColor dstout_modeproc(SkPMColor src, SkPMColor dst) { in dstout_modeproc()
129 static SkPMColor srcatop_modeproc(SkPMColor src, SkPMColor dst) { in srcatop_modeproc()
[all …]
/external/skia/src/core/
DSkBlitRow_D32.cpp17 static void S32_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Opaque_BlitRow32()
18 const SkPMColor* SK_RESTRICT src, in S32_Opaque_BlitRow32()
24 static void S32_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32_Blend_BlitRow32()
25 const SkPMColor* SK_RESTRICT src, in S32_Blend_BlitRow32()
39 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32_Blend_BlitRow32()
56 static void S32A_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32A_Opaque_BlitRow32()
57 const SkPMColor* SK_RESTRICT src, in S32A_Opaque_BlitRow32()
68 const SkPMColor* SK_RESTRICT srcEnd = src + count; in S32A_Opaque_BlitRow32()
85 static void S32A_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, in S32A_Blend_BlitRow32()
86 const SkPMColor* SK_RESTRICT src, in S32A_Blend_BlitRow32()
[all …]
DSkBlitMask_D32.cpp15 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Color()
18 SkPMColor* SK_RESTRICT device = (SkPMColor *)dst; in D32_A8_Color()
36 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Opaque()
37 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst; in D32_A8_Opaque()
57 SkPMColor* SK_RESTRICT device = (SkPMColor*)dst; in D32_A8_Black()
91 SkPMColor* dstRow = (SkPMColor*)dst; in D32_LCD16_Proc()
93 SkPMColor opaqueDst; in D32_LCD16_Proc()
108 dstRow = (SkPMColor*)((char*)dstRow + dstRB); in D32_LCD16_Proc()
115 static void blit_lcd32_opaque_row(SkPMColor* SK_RESTRICT dst, in blit_lcd32_opaque_row()
116 const SkPMColor* SK_RESTRICT src, in blit_lcd32_opaque_row()
[all …]
DSkBitmapProcState_filter.h22 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 …]
DSkXfermode.cpp74 static SkPMColor clear_modeproc(SkPMColor src, SkPMColor dst) { in clear_modeproc()
79 static SkPMColor src_modeproc(SkPMColor src, SkPMColor dst) { in src_modeproc()
84 static SkPMColor dst_modeproc(SkPMColor src, SkPMColor dst) { in dst_modeproc()
89 static SkPMColor srcover_modeproc(SkPMColor src, SkPMColor dst) { in srcover_modeproc()
102 static SkPMColor dstover_modeproc(SkPMColor src, SkPMColor dst) { in dstover_modeproc()
109 static SkPMColor srcin_modeproc(SkPMColor src, SkPMColor dst) { in srcin_modeproc()
114 static SkPMColor dstin_modeproc(SkPMColor src, SkPMColor dst) { in dstin_modeproc()
119 static SkPMColor srcout_modeproc(SkPMColor src, SkPMColor dst) { in srcout_modeproc()
124 static SkPMColor dstout_modeproc(SkPMColor src, SkPMColor dst) { in dstout_modeproc()
129 static SkPMColor srcatop_modeproc(SkPMColor src, SkPMColor dst) { in srcatop_modeproc()
[all …]
/external/skia/include/core/
DSkBlitRow.h36 const SkPMColor* src,
55 const SkPMColor* src,
63 typedef void (*ColorProc)(SkPMColor* dst, const SkPMColor* src, int count,
64 SkPMColor color);
70 static void Color32(SkPMColor dst[], const SkPMColor src[],
71 int count, SkPMColor color);
77 typedef void (*ColorRectProc)(SkPMColor* dst, int width, int height,
78 size_t rowBytes, SkPMColor color);
81 static void ColorRect32(SkPMColor* dst, int width, int height,
82 size_t rowBytes, SkPMColor color);
/external/chromium_org/third_party/skia/include/core/
DSkBlitRow.h36 const SkPMColor* src,
55 const SkPMColor* src,
63 typedef void (*ColorProc)(SkPMColor* dst, const SkPMColor* src, int count,
64 SkPMColor color);
70 static void Color32(SkPMColor dst[], const SkPMColor src[],
71 int count, SkPMColor color);
77 typedef void (*ColorRectProc)(SkPMColor* dst, int width, int height,
78 size_t rowBytes, SkPMColor color);
81 static void ColorRect32(SkPMColor* dst, int width, int height,
82 size_t rowBytes, SkPMColor color);
/external/chromium_org/third_party/skia/src/images/
DSkScaledBitmapSampler.cpp19 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 …]
/external/skia/src/images/
DSkScaledBitmapSampler.cpp19 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 …]
/external/chromium_org/third_party/skia/src/effects/
DSkBicubicImageFilter.cpp65 inline SkPMColor cubicBlend(const SkScalar c[16], SkScalar t, SkPMColor c0, SkPMColor c1, SkPMColor in cubicBlend()
122 SkPMColor* dptr = result->getAddr32(dstIRect.fLeft, y); in onFilterImage()
138 SkPMColor s00 = *src.getAddr32(x0, y0); in onFilterImage()
139 SkPMColor s10 = *src.getAddr32(x1, y0); in onFilterImage()
140 SkPMColor s20 = *src.getAddr32(x2, y0); in onFilterImage()
141 SkPMColor s30 = *src.getAddr32(x3, y0); in onFilterImage()
142 SkPMColor s0 = cubicBlend(fCoefficients, fractx, s00, s10, s20, s30); in onFilterImage()
143 SkPMColor s01 = *src.getAddr32(x0, y1); in onFilterImage()
144 SkPMColor s11 = *src.getAddr32(x1, y1); in onFilterImage()
145 SkPMColor s21 = *src.getAddr32(x2, y1); in onFilterImage()
[all …]

12345678910>>...16