Home
last modified time | relevance | path

Searched refs:SkGetPackedR32 (Results 1 – 25 of 46) sorted by relevance

12

/external/skia/src/core/
DSkXfermode.cpp130 SkAlphaMulAlpha(da, SkGetPackedR32(src)) + in srcatop_modeproc()
131 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), in srcatop_modeproc()
145 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + in dstatop_modeproc()
146 SkAlphaMulAlpha(sa, SkGetPackedR32(dst)), in dstatop_modeproc()
161 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + in xor_modeproc()
162 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), in xor_modeproc()
175 unsigned r = saturated_add(SkGetPackedR32(src), SkGetPackedR32(dst)); in plus_modeproc()
183 int r = SkAlphaMulAlpha(SkGetPackedR32(src), SkGetPackedR32(dst)); in modulate_modeproc()
204 int r = blendfunc_multiply_byte(SkGetPackedR32(src), SkGetPackedR32(dst), sa, da); in multiply_modeproc()
213 int r = srcover_byte(SkGetPackedR32(src), SkGetPackedR32(dst)); in screen_modeproc()
[all …]
DSkUnPreMultiply.cpp15 ApplyScale(scale, SkGetPackedR32(c)), in PMColorToColor()
24 ApplyScale(scale, SkGetPackedR32(c)), in UnPreMultiplyPreservingByteOrder()
DSkBlitRow_D16.cpp118 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()
DSkBlitMask_D32.cpp291 int srcR = SkGetPackedR32(s); in LCD16_RowProc_Blend()
308 int dstR = SkGetPackedR32(d); in LCD16_RowProc_Blend()
333 int srcR = SkGetPackedR32(s); in LCD16_RowProc_Opaque()
349 int dstR = SkGetPackedR32(d); in LCD16_RowProc_Opaque()
/external/skia/src/effects/
DSkArithmeticMode.cpp122 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); in xfer32()
126 int sr = SkGetPackedR32(sc); in xfer32()
136 int dr = SkGetPackedR32(dc); in xfer32()
153 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); in xfer32()
167 r = blend(r, SkGetPackedR32(sc), scale); in xfer32()
DSkBlurImageFilter.cpp93 sumR += SkGetPackedR32(*p); in boxBlur()
109 sumR -= SkGetPackedR32(l); in boxBlur()
116 sumR += SkGetPackedR32(r); in boxBlur()
DSkLumaColorFilter.cpp33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), in filterSpan()
/external/skia/include/core/
DSkDither.h78 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()
DSkColorPriv.h349 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24) macro
364 SkASSERT(SkGetPackedR32(pm_color_value) <= alpha_color_value); \
387 return SkPackARGB_as_RGBA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_RGBA()
392 return SkPackARGB_as_BGRA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_BGRA()
406 unsigned r = SkAlphaBlend(SkGetPackedR32(src), SkGetPackedR32(dst), scale); in SkFourByteInterp256()
618 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16()
643 unsigned sr = SkGetPackedR32(src); in SkSrcOver32To16()
889 return SkDitherARGB32To4444(SkGetPackedA32(c), SkGetPackedR32(c), in SkDitherPixel32To4444()
966 int dstR = SkGetPackedR32(dst); in SkBlendLCD16()
1001 int dstR = SkGetPackedR32(dst); in SkBlendLCD16Opaque()
/external/skia/tools/
Dskdiff.cpp145 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in colors_match_thresholded()
183 uint32_t thisR = SkAbs32(SkGetPackedR32(c0) - SkGetPackedR32(c1)); in compute_diff()
Dskdiff.h259 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in compute_diff_pmcolor()
/external/skia/tests/
DColorPrivTest.cpp34 const int deltaR = SkGetPackedR32(slow) - SkGetPackedR32(fast); in DEF_TEST()
DColorFilterTest.cpp127 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0); in DEF_TEST()
145 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0); in DEF_TEST()
DWritePixelsTest.cpp141 unsigned c0 = SkGetPackedR32(color); in premul()
173 int32_t aR = static_cast<int32_t>(SkGetPackedR32(a)); in checkPixel()
178 int32_t bR = static_cast<int32_t>(SkGetPackedR32(b)); in checkPixel()
DImageDecodingTest.cpp37 U8CPU r = SkGetPackedR32(c); in premultiply_unpmcolor()
136 int dr = SkAbs32(SkGetPackedR32(c0) - SkGetPackedR32(c1)); in compare_unpremul()
DReadPixelsTest.cpp136 int32_t aR = static_cast<int32_t>(SkGetPackedR32(a)); in checkPixel()
141 int32_t bR = static_cast<int32_t>(SkGetPackedR32(b)); in checkPixel()
/external/skia/src/images/
Dtransform_scanline.h60 *dst++ = SkGetPackedR32(c); in transform_scanline_888()
95 unsigned r = SkGetPackedR32(c); in transform_scanline_8888()
DSkImageEncoder_argb.cpp30 argb[1] = SkGetPackedR32(c); in ARGB_8888_To_ARGB()
67 argb[1] = SkGetPackedR32(c); in Index8_To_ARGB()
DSkImageDecoder_libwebp.cpp456 rgb[0] = SkGetPackedR32(c); in ARGB_8888_To_RGB()
471 uint8_t r = SkGetPackedR32(c); in ARGB_8888_To_RGBA()
542 rgb[0] = SkGetPackedR32(c); in Index8_To_RGB()
/external/skia/include/gpu/
DSkGr.h57 unsigned r = SkGetPackedR32(pm); in SkColor2GrColor()
/external/skia/src/opts/
DSkPMFloat_none.h10 SkGetPackedR32(c), in SkPMFloat()
DSkBlitMask_opts_arm_neon.cpp54 vpmc.val[NEON_R] = vdup_n_u8(SkGetPackedR32(pmc)); in D32_A8_Opaque_Color_neon()
143 vopqDstR = vdup_n_u8(SkGetPackedR32(opaqueDst)); in SkBlitLCD16OpaqueRow_neon()
DSkBlitRow_opts_mips_dsp.cpp247 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_mips_dsp()
521 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither_mips_dsp()
DSkBlitRow_opts_arm_neon.cpp481 unsigned r = SkGetPackedR32(c); in pmcolor_to_expand16()
526 unsigned sr = SkGetPackedR32(src); in Color32A_D565_neon()
860 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither_neon()
1399 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_neon()
1551 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_neon()
/external/skia/bench/
DRepeatTileBench.cpp45 int r = SkGetPackedR32(c); in compute_666_index()

12