/external/skia/src/core/ |
D | SkXfermode.cpp | 416 SkAlphaMulAlpha(da, SkGetPackedR32(src)) + in srcatop_modeproc() 417 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), in srcatop_modeproc() 431 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + in dstatop_modeproc() 432 SkAlphaMulAlpha(sa, SkGetPackedR32(dst)), in dstatop_modeproc() 447 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + in xor_modeproc() 448 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), in xor_modeproc() 461 unsigned r = saturated_add(SkGetPackedR32(src), SkGetPackedR32(dst)); in plus_modeproc() 469 int r = SkAlphaMulAlpha(SkGetPackedR32(src), SkGetPackedR32(dst)); in modulate_modeproc() 490 int r = blendfunc_multiply_byte(SkGetPackedR32(src), SkGetPackedR32(dst), sa, da); in multiply_modeproc() 499 int r = srcover_byte(SkGetPackedR32(src), SkGetPackedR32(dst)); in screen_modeproc() [all …]
|
D | SkDither.h | 78 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32For565() 92 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32For565() 116 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32To565() 131 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32To565() 159 unsigned r = SkGetPackedR32(c); in SkDitherARGB32To4444()
|
D | SkUnPreMultiply.cpp | 15 ApplyScale(scale, SkGetPackedR32(c)), in PMColorToColor() 24 ApplyScale(scale, SkGetPackedR32(c)), in UnPreMultiplyPreservingByteOrder()
|
D | SkBlitRow_D16.cpp | 118 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither() 149 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither() 186 int sr = SkGetPackedR32(c); in S32A_D565_Blend_Dither() 208 unsigned r = SkGetPackedR32(c); in pmcolor_to_expand16()
|
D | SkBlitMask_D32.cpp | 204 int srcR = SkGetPackedR32(s); in LCD16_RowProc_Blend() 221 int dstR = SkGetPackedR32(d); in LCD16_RowProc_Blend() 246 int srcR = SkGetPackedR32(s); in LCD16_RowProc_Opaque() 262 int dstR = SkGetPackedR32(d); in LCD16_RowProc_Opaque()
|
/external/skia/tools/ |
D | skdiff.cpp | 145 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in colors_match_thresholded() 183 uint32_t thisR = SkAbs32(SkGetPackedR32(c0) - SkGetPackedR32(c1)); in compute_diff()
|
D | skdiff.h | 259 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in compute_diff_pmcolor()
|
/external/skia/tests/ |
D | ColorPrivTest.cpp | 34 const int deltaR = SkGetPackedR32(slow) - SkGetPackedR32(fast); in DEF_TEST()
|
D | ColorFilterTest.cpp | 127 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0); in DEF_TEST() 145 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0); in DEF_TEST()
|
D | WritePixelsTest.cpp | 138 unsigned c0 = SkGetPackedR32(color); in premul() 170 int32_t aR = static_cast<int32_t>(SkGetPackedR32(a)); in check_pixel() 175 int32_t bR = static_cast<int32_t>(SkGetPackedR32(b)); in check_pixel()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 358 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24) macro 373 SkASSERT(SkGetPackedR32(pm_color_value) <= alpha_color_value); \ 384 && SkGetPackedR32(c) <= a in SkPMColorValid() 408 return SkPackARGB_as_RGBA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_RGBA() 413 return SkPackARGB_as_BGRA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_BGRA() 427 unsigned r = SkAlphaBlend(SkGetPackedR32(src), SkGetPackedR32(dst), scale); in SkFourByteInterp256() 639 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16() 664 unsigned sr = SkGetPackedR32(src); in SkSrcOver32To16() 910 return SkDitherARGB32To4444(SkGetPackedA32(c), SkGetPackedR32(c), in SkDitherPixel32To4444() 987 int dstR = SkGetPackedR32(dst); in SkBlendLCD16() [all …]
|
/external/skia/include/gpu/ |
D | SkGr.h | 28 unsigned r = SkGetPackedR32(pm); in SkColorToPremulGrColor() 62 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
|
/external/skia/src/effects/ |
D | SkArithmeticMode.cpp | 104 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); in xfer32() 117 r = blend(r, SkGetPackedR32(sc), scale); in xfer32()
|
D | SkPixelXorXfermode.cpp | 24 wb.writeColor(SkColorSetRGB(SkGetPackedR32(fOpColor), in flatten() 194 SkGetPackedR32(pixXor.opColor())/255.0f, in onSetData() 298 SkGetPackedR32(pixelXor.opColor())/255.0f, in onSetData()
|
D | SkLumaColorFilter.cpp | 33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), in filterSpan()
|
/external/skia/src/images/ |
D | SkImageEncoder_argb.cpp | 30 argb[1] = SkGetPackedR32(c); in ARGB_8888_To_ARGB() 67 argb[1] = SkGetPackedR32(c); in Index8_To_ARGB()
|
D | transform_scanline.h | 60 *dst++ = SkGetPackedR32(c); in transform_scanline_888() 95 unsigned r = SkGetPackedR32(c); in transform_scanline_8888()
|
D | SkImageDecoder_libwebp.cpp | 338 rgb[0] = SkGetPackedR32(c); in ARGB_8888_To_RGB() 353 uint8_t r = SkGetPackedR32(c); in ARGB_8888_To_RGBA() 424 rgb[0] = SkGetPackedR32(c); in Index8_To_RGB()
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 67 yPixels[i] = static_cast<unsigned char>(0.299f * SkGetPackedR32(rgbColors[i]) + in onOnceBeforeDraw() 78 rgb[0] += SkGetPackedR32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
|
D | image_pict.cpp | 156 const int cr = SkGetPackedR32(c); in find_closest() 163 int dr = SkAbs32((int)SkGetPackedR32(table[i]) - cr); in find_closest()
|
/external/skia/src/opts/ |
D | SkColorCubeFilter_opts.h | 33 r = SkGetPackedR32(input); in color_cube_filter_span()
|
D | SkBlurImageFilter_opts.h | 199 sumR += SkGetPackedR32(c); \ 204 sumR -= SkGetPackedR32(c); \
|
D | SkBlitRow_opts_mips_dsp.cpp | 247 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_mips_dsp() 521 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither_mips_dsp()
|
/external/skia/bench/ |
D | RepeatTileBench.cpp | 45 int r = SkGetPackedR32(c); in compute_666_index()
|
/external/skia/samplecode/ |
D | SampleUnpremul.cpp | 35 U8CPU r = SkGetPackedR32(c); in premultiply_unpmcolor()
|