/external/skia/include/core/ |
D | SkColor.h | 31 static inline SkColor SkColorSetARGBInline(U8CPU a, U8CPU r, U8CPU g, U8CPU b) in SkColorSetARGBInline() 40 (static_cast<U8CPU>(a) << 24) | \ 41 (static_cast<U8CPU>(r) << 16) | \ 42 (static_cast<U8CPU>(g) << 8) | \ 43 (static_cast<U8CPU>(b) << 0)) 69 static inline SkColor SkColorSetA(SkColor c, U8CPU a) { in SkColorSetA() 104 SK_API void SkRGBToHSV(U8CPU red, U8CPU green, U8CPU blue, SkScalar hsv[3]); 126 SK_API SkColor SkHSVToColor(U8CPU alpha, const SkScalar hsv[3]); 150 SK_API SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b);
|
D | SkColorPriv.h | 116 static inline uint32_t SkPackARGB_as_RGBA(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPackARGB_as_RGBA() 125 static inline uint32_t SkPackARGB_as_BGRA(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPackARGB_as_BGRA() 169 static inline U8CPU SkComputeLuminance(U8CPU r, U8CPU g, U8CPU b) { in SkComputeLuminance() 182 static inline unsigned SkAlpha255To256(U8CPU alpha) { in SkAlpha255To256() 193 static inline unsigned Sk255To256(U8CPU value) { in Sk255To256() 216 static inline int SkAlphaBlend255(S16CPU src, S16CPU dst, U8CPU alpha) { in SkAlphaBlend255() 226 static inline U8CPU SkUnitScalarClampToByte(SkScalar x) { in SkUnitScalarClampToByte() 227 return static_cast<U8CPU>(SkScalarPin(x, 0, 1) * 255 + 0.5); in SkUnitScalarClampToByte() 397 static inline SkPMColor SkPackARGB32(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPackARGB32() 441 U8CPU srcWeight) { in SkFourByteInterp() [all …]
|
D | SkUnPreMultiply.h | 27 static Scale GetScale(U8CPU alpha) { in GetScale() 45 static U8CPU ApplyScale(Scale scale, U8CPU component) { in ApplyScale()
|
D | SkBitmap.h | 509 void eraseARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) const { in eraseARGB() 514 void eraseRGB(U8CPU r, U8CPU g, U8CPU b) const { in eraseRGB()
|
D | SkBlitRow.h | 36 U8CPU alpha, int x, int y); 63 typedef void (*Proc32)(uint32_t dst[], const SkPMColor src[], int count, U8CPU alpha);
|
/external/skia/src/core/ |
D | SkMaskGamma.h | 33 static U8CPU computeLuminance(SkScalar gamma, SkColor c) { in computeLuminance() 55 template<U8CPU N> static inline U8CPU sk_t_scale255(U8CPU base) { in sk_t_scale255() 57 U8CPU lum = base; in sk_t_scale255() 63 template<> /*static*/ inline U8CPU sk_t_scale255<1>(U8CPU base) { 66 template<> /*static*/ inline U8CPU sk_t_scale255<2>(U8CPU base) { 69 template<> /*static*/ inline U8CPU sk_t_scale255<4>(U8CPU base) { 72 template<> /*static*/ inline U8CPU sk_t_scale255<8>(U8CPU base) { 79 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, 113 for (U8CPU i = 0; i < (1 << MAX_LUM_BITS); ++i) { in SkTMaskGamma() 114 U8CPU lum = sk_t_scale255<MAX_LUM_BITS>(i); in SkTMaskGamma() [all …]
|
D | SkColor.cpp | 12 SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPreMultiplyARGB() 23 static inline SkScalar ByteToScalar(U8CPU x) { in ByteToScalar() 28 static inline SkScalar ByteDivToScalar(int numer, U8CPU denom) { in ByteDivToScalar() 33 void SkRGBToHSV(U8CPU r, U8CPU g, U8CPU b, SkScalar hsv[3]) { in SkRGBToHSV() 73 SkColor SkHSVToColor(U8CPU a, const SkScalar hsv[3]) { in SkHSVToColor() 76 U8CPU s = SkUnitScalarClampToByte(hsv[1]); in SkHSVToColor() 77 U8CPU v = SkUnitScalarClampToByte(hsv[2]); in SkHSVToColor()
|
D | SkCoreBlitters.h | 124 void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) override; 125 void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) override; 145 void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) override; 146 void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) override; 157 void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) override; 158 void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) override;
|
D | SkMathPriv.h | 57 static inline U8CPU SkMulDiv255Trunc(U8CPU a, U8CPU b) { in SkMulDiv255Trunc() 67 static inline U8CPU SkMulDiv255Ceiling(U8CPU a, U8CPU b) { in SkMulDiv255Ceiling()
|
D | SkDither.h | 102 static inline uint16_t SkDitherRGBTo565(U8CPU r, U8CPU g, U8CPU b, in SkDitherRGBTo565() 126 static inline uint16_t SkDitherARGB32To565(U8CPU sa, SkPMColor c, unsigned dither) in SkDitherARGB32To565() 143 static inline SkPMColor16 SkDitherARGB32To4444(U8CPU a, U8CPU r, U8CPU g, in SkDitherARGB32To4444() 144 U8CPU b, unsigned dither) in SkDitherARGB32To4444()
|
D | SkBlitRow_D16.cpp | 17 U8CPU alpha, int /*x*/, int /*y*/) { in S32_D565_Opaque() 31 U8CPU alpha, int /*x*/, int /*y*/) { in S32_D565_Blend() 50 U8CPU alpha, int /*x*/, int /*y*/) { in S32A_D565_Opaque() 68 U8CPU alpha, int /*x*/, int /*y*/) { in S32A_D565_Blend() 89 int count, U8CPU alpha, int x, int y) { in S32_D565_Opaque_Dither() 107 int count, U8CPU alpha, int x, int y) { in S32_D565_Blend_Dither() 136 int count, U8CPU alpha, int x, int y) { in S32A_D565_Opaque_Dither() 170 int count, U8CPU alpha, int x, int y) { in S32A_D565_Blend_Dither()
|
D | SkBlitRow_D32.cpp | 18 int count, U8CPU alpha) { in S32_Opaque_BlitRow32() 25 int count, U8CPU alpha) { in S32_Blend_BlitRow32() 57 int count, U8CPU alpha) { in S32A_Opaque_BlitRow32() 86 int count, U8CPU alpha) { in S32A_Blend_BlitRow32()
|
D | SkBlitter_ARGB32.cpp | 19 U8CPU alpha = SkGetPackedA32(srcColor); in SkARGB32_Blit32() 108 void SkARGB32_Blitter::blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) { in blitAntiH2() 116 void SkARGB32_Blitter::blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) { in blitAntiV2() 199 void SkARGB32_Opaque_Blitter::blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) { in blitAntiH2() 207 void SkARGB32_Opaque_Blitter::blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) { in blitAntiV2() 292 void SkARGB32_Black_Blitter::blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) { in blitAntiH2() 300 void SkARGB32_Black_Blitter::blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) { in blitAntiV2() 315 int count, U8CPU aa) { in blend_srcmode()
|
D | SkBlitBWMaskTemplate.h | 50 U8CPU mask = *bits++; in SK_BLITBWMASK_NAME() 88 U8CPU mask = *bits & left_mask; in SK_BLITBWMASK_NAME() 100 U8CPU mask; in SK_BLITBWMASK_NAME()
|
D | SkBlitter.h | 59 virtual void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) { in blitAntiH2() 72 virtual void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) { in blitAntiV2()
|
D | SkSpriteBlitter_ARGB32.cpp | 20 Sprite_D32_S32(const SkPixmap& src, U8CPU alpha) : INHERITED(src) { in Sprite_D32_S32() 42 U8CPU alpha = fAlpha; in blitRect() 53 U8CPU fAlpha; 107 U8CPU fAlpha; 265 U8CPU alpha = paint.getAlpha(); in ChooseL32()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_SSE2.h | 15 int count, U8CPU alpha); 19 int count, U8CPU alpha); 23 int count, U8CPU alpha); 35 U8CPU alpha, int /*x*/, int /*y*/); 38 int count, U8CPU alpha, int /*x*/, int /*y*/); 41 int count, U8CPU alpha, int x, int y); 44 int count, U8CPU alpha, int x, int y);
|
D | SkBlitRow_opts_mips_dsp.cpp | 16 U8CPU alpha, int /*x*/, int /*y*/) { in S32_D565_Blend_mips_dsp() 110 int count, U8CPU alpha, int x, int y) { in S32A_D565_Opaque_Dither_mips_dsp() 267 int count, U8CPU alpha, int x, int y) { in S32_D565_Opaque_Dither_mips_dsp() 377 int count, U8CPU alpha, int x, int y) { in S32_D565_Blend_Dither_mips_dsp() 538 int count, U8CPU alpha, int x, int y) { in S32A_D565_Opaque_mips_dsp() 660 U8CPU alpha, int /*x*/, int /*y*/) { in S32A_D565_Blend_mips_dsp() 767 int count, U8CPU alpha) { in S32_Blend_BlitRow32_mips_dsp()
|
/external/skia/include/gpu/ |
D | GrColor.h | 100 U8CPU a = GrColorUnpackA(c); in GrInvertColor() 101 U8CPU r = GrColorUnpackR(c); in GrInvertColor() 102 U8CPU g = GrColorUnpackG(c); in GrInvertColor() 103 U8CPU b = GrColorUnpackB(c); in GrInvertColor() 108 U8CPU r = SkMulDiv255Round(GrColorUnpackR(c0), GrColorUnpackR(c1)); in GrColorMul() 109 U8CPU g = SkMulDiv255Round(GrColorUnpackG(c0), GrColorUnpackG(c1)); in GrColorMul() 110 U8CPU b = SkMulDiv255Round(GrColorUnpackB(c0), GrColorUnpackB(c1)); in GrColorMul() 111 U8CPU a = SkMulDiv255Round(GrColorUnpackA(c0), GrColorUnpackA(c1)); in GrColorMul()
|
/external/skia/tests/ |
D | WritePixelsTest.cpp | 26 static const U8CPU DEV_PAD = 0xee; 32 U8CPU r = x; in get_canvas_color() 33 U8CPU g = y; in get_canvas_color() 34 U8CPU b = 0xc; in get_canvas_color() 36 U8CPU a = 0x0; in get_canvas_color() 58 static uint32_t pack_color_type(SkColorType ct, U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in pack_color_type() 83 U8CPU b = n & 0xff; in get_bitmap_color() 84 U8CPU g = (n >> 8) & 0xff; in get_bitmap_color() 85 U8CPU r = (n >> 16) & 0xff; in get_bitmap_color() 86 U8CPU a = 0; in get_bitmap_color()
|
D | ReadPixelsTest.cpp | 31 U8CPU r = x; in get_src_color() 32 U8CPU g = y; in get_src_color() 33 U8CPU b = 0xc; in get_src_color() 35 U8CPU a = 0xff; in get_src_color() 59 U8CPU b = n & 0xff; in get_dst_bmp_init_color() 60 U8CPU g = (n >> 8) & 0xff; in get_dst_bmp_init_color() 61 U8CPU r = (n >> 16) & 0xff; in get_dst_bmp_init_color() 70 U8CPU a,r,g,b; in convert_to_pmcolor() 73 b = static_cast<U8CPU>(c[0]); in convert_to_pmcolor() 74 g = static_cast<U8CPU>(c[1]); in convert_to_pmcolor() [all …]
|
/external/skia/src/effects/ |
D | SkAlphaThresholdFilter.cpp | 368 U8CPU innerThreshold = (U8CPU)(fInnerThreshold * 0xFF); in onFilterImageDeprecated() 369 U8CPU outerThreshold = (U8CPU)(fOuterThreshold * 0xFF); in onFilterImageDeprecated() 381 U8CPU alpha = SkColorGetA(source); in onFilterImageDeprecated() 386 (U8CPU)(SkColorGetR(source) * scale), in onFilterImageDeprecated() 387 (U8CPU)(SkColorGetG(source) * scale), in onFilterImageDeprecated() 388 (U8CPU)(SkColorGetB(source) * scale)); in onFilterImageDeprecated() 394 (U8CPU)(SkColorGetR(source) * scale), in onFilterImageDeprecated() 395 (U8CPU)(SkColorGetG(source) * scale), in onFilterImageDeprecated() 396 (U8CPU)(SkColorGetB(source) * scale)); in onFilterImageDeprecated()
|
/external/skia/src/views/ |
D | SkTagList.h | 29 SkTagList(U8CPU tag) : fTag(SkToU8(tag)) in SkTagList() 38 static SkTagList* Find(SkTagList* head, U8CPU tag); 39 static void DeleteTag(SkTagList** headptr, U8CPU tag);
|
/external/skia/samplecode/ |
D | SampleUnpremul.cpp | 34 U8CPU a = SkGetPackedA32(c); in premultiply_unpmcolor() 35 U8CPU r = SkGetPackedR32(c); in premultiply_unpmcolor() 36 U8CPU g = SkGetPackedG32(c); in premultiply_unpmcolor() 37 U8CPU b = SkGetPackedB32(c); in premultiply_unpmcolor()
|
/external/skia/include/views/ |
D | SkEventSink.h | 98 SkTagList* findTagList(U8CPU tag) const; 100 void removeTagList(U8CPU tag);
|