Home
last modified time | relevance | path

Searched refs:U8CPU (Results 1 – 25 of 59) sorted by relevance

123

/external/skia/include/core/
DSkColor.h39 static inline SkColor SkColorSetARGBInline(U8CPU a, U8CPU r, U8CPU g, U8CPU b) in SkColorSetARGBInline()
48 (static_cast<U8CPU>(a) << 24) | \
49 (static_cast<U8CPU>(r) << 16) | \
50 (static_cast<U8CPU>(g) << 8) | \
51 (static_cast<U8CPU>(b) << 0))
77 static inline SkColor SkColorSetA(SkColor c, U8CPU a) { in SkColorSetA()
107 SK_API void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]);
130 SK_API SkColor SkHSVToColor(U8CPU alpha, const SkScalar hsv[3]);
155 SK_API SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b);
DSkMath.h192 static inline U8CPU SkMulDiv255Trunc(U8CPU a, U8CPU b) { in SkMulDiv255Trunc()
202 static inline U8CPU SkMulDiv255Round(U8CPU a, U8CPU b) { in SkMulDiv255Round()
212 static inline U8CPU SkMulDiv255Ceiling(U8CPU a, U8CPU b) { in SkMulDiv255Ceiling()
DSkColorPriv.h34 static inline unsigned SkAlpha255To256(U8CPU alpha) { in SkAlpha255To256()
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()
234 static inline SkPMColor SkBlendARGB32(SkPMColor src, SkPMColor dst, U8CPU aa) { in SkBlendARGB32()
280 static inline U16CPU SkPack888ToRGB16(U8CPU r, U8CPU g, U8CPU b) { in SkPack888ToRGB16()
293 static inline uint16_t SkDitherPack888ToRGB16(U8CPU r, U8CPU g, U8CPU b) { in SkDitherPack888ToRGB16()
407 static inline U8CPU SkReplicateNibble(unsigned nib) { in SkReplicateNibble()
586 static inline SkPMColor16 SkDitherARGB32To4444(U8CPU a, U8CPU r, in SkDitherARGB32To4444()
587 U8CPU g, U8CPU b) { in SkDitherARGB32To4444()
DSkDither.h109 static inline uint16_t SkDitherRGBTo565(U8CPU r, U8CPU g, U8CPU b, in SkDitherRGBTo565()
133 static inline uint16_t SkDitherARGB32To565(U8CPU sa, SkPMColor c, unsigned dither) in SkDitherARGB32To565()
150 static inline SkPMColor16 SkDitherARGB32To4444(U8CPU a, U8CPU r, U8CPU g, in SkDitherARGB32To4444()
151 U8CPU b, unsigned dither) in SkDitherARGB32To4444()
DSkUnPreMultiply.h34 static Scale GetScale(U8CPU alpha) { in GetScale()
52 static U8CPU ApplyScale(Scale scale, U8CPU component) { in ApplyScale()
DSkBitmap.h356 void eraseARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) const;
362 void eraseRGB(U8CPU r, U8CPU g, U8CPU b) const { in eraseRGB()
DSkBlitRow.h30 int count, U8CPU alpha, int x, int y);
56 int count, U8CPU alpha);
DSkPaint.h319 void setAlpha(U8CPU a);
328 void setARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b);
/external/skia/src/core/
DSkColor.cpp21 SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPreMultiplyARGB()
48 static inline SkScalar ByteToScalar(U8CPU x) { in ByteToScalar()
53 static inline SkScalar ByteDivToScalar(int numer, U8CPU denom) { in ByteDivToScalar()
58 void SkRGBToHSV(U8CPU r, U8CPU g, U8CPU b, SkScalar hsv[3]) { in SkRGBToHSV()
98 static inline U8CPU UnitScalarToByte(SkScalar x) { in UnitScalarToByte()
108 SkColor SkHSVToColor(U8CPU a, const SkScalar hsv[3]) { in SkHSVToColor()
111 U8CPU s = UnitScalarToByte(hsv[1]); in SkHSVToColor()
112 U8CPU v = UnitScalarToByte(hsv[2]); in SkHSVToColor()
DSkBlitRow_D4444.cpp9 U8CPU alpha, int /*x*/, int /*y*/) { in S32_D4444_Opaque()
24 U8CPU alpha, int /*x*/, int /*y*/) { in S32_D4444_Blend()
44 U8CPU alpha, int /*x*/, int /*y*/) { in S32A_D4444_Opaque()
66 U8CPU alpha, int /*x*/, int /*y*/) { in S32A_D4444_Blend()
90 int count, U8CPU alpha, int x, int y) { in S32_D4444_Opaque_Dither()
109 int count, U8CPU alpha, int x, int y) { in S32_D4444_Blend_Dither()
132 int count, U8CPU alpha, int x, int y) { in S32A_D4444_Opaque_Dither()
161 int count, U8CPU alpha, int x, int y) { in S32A_D4444_Blend_Dither()
DSkBlitRow_D16.cpp9 U8CPU alpha, int /*x*/, int /*y*/) { in S32_D565_Opaque()
23 U8CPU alpha, int /*x*/, int /*y*/) { in S32_D565_Blend()
42 U8CPU alpha, int /*x*/, int /*y*/) { in S32A_D565_Opaque()
60 U8CPU alpha, int /*x*/, int /*y*/) { in S32A_D565_Blend()
84 int count, U8CPU alpha, int x, int y) { in S32_D565_Opaque_Dither()
102 int count, U8CPU alpha, int x, int y) { in S32_D565_Blend_Dither()
131 int count, U8CPU alpha, int x, int y) { in S32A_D565_Opaque_Dither()
165 int count, U8CPU alpha, int x, int y) { in S32A_D565_Blend_Dither()
DSkAntiRun.h40 int add(int x, U8CPU startAlpha, int middleCount, U8CPU stopAlpha,
41 U8CPU maxValue, int offsetX);
DSkBlitBWMaskTemplate.h58 U8CPU mask = *bits++; in SK_BLITBWMASK_NAME()
97 U8CPU mask = *bits & left_mask; in SK_BLITBWMASK_NAME()
109 U8CPU mask; in SK_BLITBWMASK_NAME()
DSkSpriteBlitter_ARGB32.cpp30 Sprite_D32_S32(const SkBitmap& src, U8CPU alpha) : INHERITED(src) { in Sprite_D32_S32()
53 U8CPU alpha = fAlpha; in blitRect()
64 U8CPU fAlpha;
120 U8CPU fAlpha;
283 U8CPU alpha = paint.getAlpha(); in ChooseD32()
DSkAlphaRuns.cpp82 int SkAlphaRuns::add(int x, U8CPU startAlpha, int middleCount, U8CPU stopAlpha, in add()
83 U8CPU maxValue, int offsetX) { in add()
DSkBlitRow_D32.cpp9 int count, U8CPU alpha) { in S32_Opaque_BlitRow32()
16 int count, U8CPU alpha) { in S32_Blend_BlitRow32()
50 int count, U8CPU alpha) { in S32A_Opaque_BlitRow32()
91 int count, U8CPU alpha) { in S32A_Blend_BlitRow32()
/external/skia/include/views/
DSkWindow.h46 void eraseARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b);
47 void eraseRGB(U8CPU r, U8CPU g, U8CPU b);
DSkEventSink.h90 SkTagList* findTagList(U8CPU tag) const;
92 void removeTagList(U8CPU tag);
/external/skia/src/views/
DSkTagList.h37 SkTagList(U8CPU tag) : fTag(SkToU8(tag)) in SkTagList()
46 static SkTagList* Find(SkTagList* head, U8CPU tag);
47 static void DeleteTag(SkTagList** headptr, U8CPU tag);
DSkWindow.cpp104 void SkWindow::eraseARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) in eraseARGB()
109 void SkWindow::eraseRGB(U8CPU r, U8CPU g, U8CPU b) in eraseRGB()
DSkTagList.cpp24 SkTagList* SkTagList::Find(SkTagList* rec, U8CPU tag) in Find()
37 void SkTagList::DeleteTag(SkTagList** head, U8CPU tag) in DeleteTag()
/external/skia/src/opts/
DSkBlitRow_opts_SSE2.h22 int count, U8CPU alpha);
26 int count, U8CPU alpha);
30 int count, U8CPU alpha);
DSkBlitRow_opts_arm.cpp33 U8CPU alpha, int /*x*/, int /*y*/) { in S32A_D565_Opaque_neon()
207 U8CPU alpha, int /*x*/, int /*y*/) { in S32A_D565_Blend_neon()
209 U8CPU alpha_for_asm = alpha; in S32A_D565_Blend_neon()
329 int count, U8CPU alpha, int x, int y) in S32_D565_Blend_Dither_neon()
437 int count, U8CPU alpha) { in S32A_Opaque_BlitRow32_neon()
567 int count, U8CPU alpha) { in S32A_Opaque_BlitRow32_arm()
664 int count, U8CPU alpha) { in S32A_Blend_BlitRow32_arm()
798 int count, U8CPU alpha) { in S32_Blend_BlitRow32_neon()
913 int count, U8CPU alpha, int x, int y) { in S32A_D565_Opaque_Dither_neon()
1167 int count, U8CPU alpha, int x, int y) { in S32_D565_Opaque_Dither_neon()
/external/skia/tests/
DMathTest.cpp7 static U8CPU premul_fast(U8CPU a, U8CPU x) {
11 static U8CPU premul_trunc(U8CPU a, U8CPU x) {
17 static U8CPU premul_round(U8CPU a, U8CPU x) {
/external/skia/src/effects/
DSkAvoidXfermode.cpp21 SkAvoidXfermode::SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode) in SkAvoidXfermode()
88 static unsigned color_dist32(SkPMColor c, U8CPU r, U8CPU g, U8CPU b) in color_dist32()

123