/external/skia/src/core/ |
D | SkXfermode.cpp | 420 SkAlphaMulAlpha(da, SkGetPackedB32(src)) + in srcatop_modeproc() 421 SkAlphaMulAlpha(isa, SkGetPackedB32(dst))); in srcatop_modeproc() 435 SkAlphaMulAlpha(ida, SkGetPackedB32(src)) + in dstatop_modeproc() 436 SkAlphaMulAlpha(sa, SkGetPackedB32(dst))); in dstatop_modeproc() 451 SkAlphaMulAlpha(ida, SkGetPackedB32(src)) + in xor_modeproc() 452 SkAlphaMulAlpha(isa, SkGetPackedB32(dst))); in xor_modeproc() 459 unsigned b = saturated_add(SkGetPackedB32(src), SkGetPackedB32(dst)); in plus_modeproc() 471 int b = SkAlphaMulAlpha(SkGetPackedB32(src), SkGetPackedB32(dst)); in modulate_modeproc() 492 int b = blendfunc_multiply_byte(SkGetPackedB32(src), SkGetPackedB32(dst), sa, da); in multiply_modeproc() 501 int b = srcover_byte(SkGetPackedB32(src), SkGetPackedB32(dst)); in screen_modeproc() [all …]
|
D | SkDither.h | 80 unsigned sb = SkGetPackedB32(c); in SkDitherARGB32For565() 94 unsigned sb = SkGetPackedB32(c); in SkDitherRGB32For565() 118 unsigned sb = SkGetPackedB32(c); in SkDitherRGB32To565() 133 unsigned sb = SkGetPackedB32(c); in SkDitherARGB32To565() 161 unsigned b = SkGetPackedB32(c); in SkDitherARGB32To4444()
|
D | SkUnPreMultiply.cpp | 17 ApplyScale(scale, SkGetPackedB32(c))); in PMColorToColor() 26 ApplyScale(scale, SkGetPackedB32(c))); in UnPreMultiplyPreservingByteOrder()
|
D | SkBlitRow_D16.cpp | 120 int sb = SkGetPackedB32(c); in S32_D565_Blend_Dither() 151 unsigned sb = SkGetPackedB32(c); in S32A_D565_Opaque_Dither() 188 int sb = SkGetPackedB32(c); in S32A_D565_Blend_Dither() 210 unsigned b = SkGetPackedB32(c); in pmcolor_to_expand16()
|
D | SkBlitMask_D32.cpp | 206 int srcB = SkGetPackedB32(s); in LCD16_RowProc_Blend() 223 int dstB = SkGetPackedB32(d); in LCD16_RowProc_Blend() 248 int srcB = SkGetPackedB32(s); in LCD16_RowProc_Opaque() 264 int dstB = SkGetPackedB32(d); in LCD16_RowProc_Opaque()
|
/external/skia/tools/ |
D | skdiff.cpp | 147 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1); in colors_match_thresholded() 185 uint32_t thisB = SkAbs32(SkGetPackedB32(c0) - SkGetPackedB32(c1)); in compute_diff()
|
D | skdiff.h | 261 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1); in compute_diff_pmcolor()
|
/external/skia/tests/ |
D | ColorPrivTest.cpp | 36 const int deltaB = SkGetPackedB32(slow) - SkGetPackedB32(fast); in DEF_TEST()
|
D | ColorFilterTest.cpp | 129 REPORTER_ASSERT(reporter, SkGetPackedB32(out) == 0); in DEF_TEST() 147 REPORTER_ASSERT(reporter, SkGetPackedB32(out) == 0); in DEF_TEST()
|
D | WritePixelsTest.cpp | 140 unsigned c2 = SkGetPackedB32(color); in premul() 172 int32_t aB = SkGetPackedB32(a); in check_pixel() 177 int32_t bB = static_cast<int32_t>(SkGetPackedB32(b)); in check_pixel()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 360 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24) macro 375 SkASSERT(SkGetPackedB32(pm_color_value) <= alpha_color_value); \ 386 && SkGetPackedB32(c) <= a; in SkPMColorValid() 409 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_RGBA() 414 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_BGRA() 429 unsigned b = SkAlphaBlend(SkGetPackedB32(src), SkGetPackedB32(dst), scale); in SkFourByteInterp256() 639 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16() 666 unsigned sb = SkGetPackedB32(src); in SkSrcOver32To16() 911 SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32To4444() 989 int dstB = SkGetPackedB32(dst); in SkBlendLCD16() [all …]
|
/external/skia/include/gpu/ |
D | SkGr.h | 30 unsigned b = SkGetPackedB32(pm); in SkColorToPremulGrColor() 62 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
|
/external/skia/src/effects/ |
D | SkArithmeticMode.cpp | 106 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc)); in xfer32() 119 b = blend(b, SkGetPackedB32(sc), scale); in xfer32()
|
D | SkPixelXorXfermode.cpp | 26 SkGetPackedB32(fOpColor))); in flatten() 196 SkGetPackedB32(pixXor.opColor())/255.0f); in onSetData() 300 SkGetPackedB32(pixelXor.opColor())/255.0f); in onSetData()
|
D | SkLumaColorFilter.cpp | 35 SkGetPackedB32(c)); in filterSpan()
|
/external/skia/src/images/ |
D | SkImageEncoder_argb.cpp | 32 argb[3] = SkGetPackedB32(c); in ARGB_8888_To_ARGB() 69 argb[3] = SkGetPackedB32(c); in Index8_To_ARGB()
|
D | transform_scanline.h | 62 *dst++ = SkGetPackedB32(c); in transform_scanline_888() 97 unsigned b = SkGetPackedB32(c); in transform_scanline_8888()
|
D | SkImageDecoder_libwebp.cpp | 340 rgb[2] = SkGetPackedB32(c); in ARGB_8888_To_RGB() 355 uint8_t b = SkGetPackedB32(c); in ARGB_8888_To_RGBA() 426 rgb[2] = SkGetPackedB32(c); in Index8_To_RGB()
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 69 0.114f * SkGetPackedB32(rgbColors[i])); in onOnceBeforeDraw() 80 rgb[2] += SkGetPackedB32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
|
D | image_pict.cpp | 158 const int cb = SkGetPackedB32(c); in find_closest() 165 int db = SkAbs32((int)SkGetPackedB32(table[i]) - cb); in find_closest()
|
/external/skia/src/opts/ |
D | SkColorCubeFilter_opts.h | 35 b = SkGetPackedB32(input); in color_cube_filter_span()
|
D | SkBlurImageFilter_opts.h | 201 sumB += SkGetPackedB32(c) 206 sumB -= SkGetPackedB32(c)
|
D | SkBlitRow_opts_mips_dsp.cpp | 249 unsigned sb = SkGetPackedB32(c); in S32A_D565_Opaque_Dither_mips_dsp() 523 int sb = SkGetPackedB32(c); in S32_D565_Blend_Dither_mips_dsp()
|
/external/skia/bench/ |
D | RepeatTileBench.cpp | 47 int b = SkGetPackedB32(c); in compute_666_index()
|
/external/skia/samplecode/ |
D | SampleUnpremul.cpp | 37 U8CPU b = SkGetPackedB32(c); in premultiply_unpmcolor()
|