Home
last modified time | relevance | path

Searched refs:SkGetPackedB32 (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/src/core/
DSkXfermode.cpp134 SkAlphaMulAlpha(da, SkGetPackedB32(src)) + in srcatop_modeproc()
135 SkAlphaMulAlpha(isa, SkGetPackedB32(dst))); in srcatop_modeproc()
149 SkAlphaMulAlpha(ida, SkGetPackedB32(src)) + in dstatop_modeproc()
150 SkAlphaMulAlpha(sa, SkGetPackedB32(dst))); in dstatop_modeproc()
165 SkAlphaMulAlpha(ida, SkGetPackedB32(src)) + in xor_modeproc()
166 SkAlphaMulAlpha(isa, SkGetPackedB32(dst))); in xor_modeproc()
173 unsigned b = saturated_add(SkGetPackedB32(src), SkGetPackedB32(dst)); in plus_modeproc()
185 int b = SkAlphaMulAlpha(SkGetPackedB32(src), SkGetPackedB32(dst)); in modulate_modeproc()
206 int b = blendfunc_multiply_byte(SkGetPackedB32(src), SkGetPackedB32(dst), sa, da); in multiply_modeproc()
215 int b = srcover_byte(SkGetPackedB32(src), SkGetPackedB32(dst)); in screen_modeproc()
[all …]
DSkUnPreMultiply.cpp17 ApplyScale(scale, SkGetPackedB32(c))); in PMColorToColor()
26 ApplyScale(scale, SkGetPackedB32(c))); in UnPreMultiplyPreservingByteOrder()
DSkBlitRow_D16.cpp120 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()
DSkBlitMask_D32.cpp293 int srcB = SkGetPackedB32(s); in LCD16_RowProc_Blend()
310 int dstB = SkGetPackedB32(d); in LCD16_RowProc_Blend()
335 int srcB = SkGetPackedB32(s); in LCD16_RowProc_Opaque()
351 int dstB = SkGetPackedB32(d); in LCD16_RowProc_Opaque()
/external/skia/src/effects/
DSkArithmeticMode.cpp124 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc)); in xfer32()
128 int sb = SkGetPackedB32(sc); in xfer32()
138 int db = SkGetPackedB32(dc); in xfer32()
155 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc)); in xfer32()
169 b = blend(b, SkGetPackedB32(sc), scale); in xfer32()
DSkBlurImageFilter.cpp95 sumB += SkGetPackedB32(*p); in boxBlur()
111 sumB -= SkGetPackedB32(l); in boxBlur()
118 sumB += SkGetPackedB32(r); in boxBlur()
DSkLumaColorFilter.cpp35 SkGetPackedB32(c)); in filterSpan()
/external/skia/include/core/
DSkDither.h80 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()
DSkColorPriv.h351 #define SkGetPackedB32(packed) ((uint32_t)((packed) << (24 - SK_B32_SHIFT)) >> 24) macro
366 SkASSERT(SkGetPackedB32(pm_color_value) <= alpha_color_value); \
388 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_RGBA()
393 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_BGRA()
408 unsigned b = SkAlphaBlend(SkGetPackedB32(src), SkGetPackedB32(dst), scale); in SkFourByteInterp256()
618 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16()
645 unsigned sb = SkGetPackedB32(src); in SkSrcOver32To16()
890 SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32To4444()
968 int dstB = SkGetPackedB32(dst); in SkBlendLCD16()
1003 int dstB = SkGetPackedB32(dst); in SkBlendLCD16Opaque()
/external/skia/tools/
Dskdiff.cpp147 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1); in colors_match_thresholded()
185 uint32_t thisB = SkAbs32(SkGetPackedB32(c0) - SkGetPackedB32(c1)); in compute_diff()
Dskdiff.h261 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1); in compute_diff_pmcolor()
/external/skia/tests/
DColorPrivTest.cpp36 const int deltaB = SkGetPackedB32(slow) - SkGetPackedB32(fast); in DEF_TEST()
DColorFilterTest.cpp129 REPORTER_ASSERT(reporter, SkGetPackedB32(out) == 0); in DEF_TEST()
147 REPORTER_ASSERT(reporter, SkGetPackedB32(out) == 0); in DEF_TEST()
DWritePixelsTest.cpp143 unsigned c2 = SkGetPackedB32(color); in premul()
175 int32_t aB = SkGetPackedB32(a); in checkPixel()
180 int32_t bB = static_cast<int32_t>(SkGetPackedB32(b)); in checkPixel()
DImageDecodingTest.cpp39 U8CPU b = SkGetPackedB32(c); in premultiply_unpmcolor()
138 int db = SkAbs32(SkGetPackedB32(c0) - SkGetPackedB32(c1)); in compare_unpremul()
DReadPixelsTest.cpp138 int32_t aB = SkGetPackedB32(a); in checkPixel()
143 int32_t bB = static_cast<int32_t>(SkGetPackedB32(b)); in checkPixel()
/external/skia/src/images/
DSkImageEncoder_argb.cpp32 argb[3] = SkGetPackedB32(c); in ARGB_8888_To_ARGB()
69 argb[3] = SkGetPackedB32(c); in Index8_To_ARGB()
Dtransform_scanline.h62 *dst++ = SkGetPackedB32(c); in transform_scanline_888()
97 unsigned b = SkGetPackedB32(c); in transform_scanline_8888()
DSkImageDecoder_libwebp.cpp458 rgb[2] = SkGetPackedB32(c); in ARGB_8888_To_RGB()
473 uint8_t b = SkGetPackedB32(c); in ARGB_8888_To_RGBA()
544 rgb[2] = SkGetPackedB32(c); in Index8_To_RGB()
/external/skia/src/opts/
DSkPMFloat_none.h12 SkGetPackedB32(c)); in SkPMFloat()
DSkBlitMask_opts_arm_neon.cpp56 vpmc.val[NEON_B] = vdup_n_u8(SkGetPackedB32(pmc)); in D32_A8_Opaque_Color_neon()
145 vopqDstB = vdup_n_u8(SkGetPackedB32(opaqueDst)); in SkBlitLCD16OpaqueRow_neon()
DSkBlitRow_opts_mips_dsp.cpp249 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/include/gpu/
DSkGr.h59 unsigned b = SkGetPackedB32(pm); in SkColor2GrColor()
/external/skia/bench/
DRepeatTileBench.cpp47 int b = SkGetPackedB32(c); in compute_666_index()
/external/skia/samplecode/
DSampleUnpremul.cpp37 U8CPU b = SkGetPackedB32(c); in premultiply_unpmcolor()

12