Home
last modified time | relevance | path

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

123

/external/skia/src/core/
DSkXfermode.cpp420 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 …]
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()
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.cpp206 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/
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.cpp140 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/
DSkColorPriv.h360 #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/
DSkGr.h30 unsigned b = SkGetPackedB32(pm); in SkColorToPremulGrColor()
62 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
/external/skia/src/effects/
DSkArithmeticMode.cpp106 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc)); in xfer32()
119 b = blend(b, SkGetPackedB32(sc), scale); in xfer32()
DSkPixelXorXfermode.cpp26 SkGetPackedB32(fOpColor))); in flatten()
196 SkGetPackedB32(pixXor.opColor())/255.0f); in onSetData()
300 SkGetPackedB32(pixelXor.opColor())/255.0f); in onSetData()
DSkLumaColorFilter.cpp35 SkGetPackedB32(c)); in filterSpan()
/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.cpp340 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/
Dimagefromyuvtextures.cpp69 0.114f * SkGetPackedB32(rgbColors[i])); in onOnceBeforeDraw()
80 rgb[2] += SkGetPackedB32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
Dimage_pict.cpp158 const int cb = SkGetPackedB32(c); in find_closest()
165 int db = SkAbs32((int)SkGetPackedB32(table[i]) - cb); in find_closest()
/external/skia/src/opts/
DSkColorCubeFilter_opts.h35 b = SkGetPackedB32(input); in color_cube_filter_span()
DSkBlurImageFilter_opts.h201 sumB += SkGetPackedB32(c)
206 sumB -= SkGetPackedB32(c)
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/bench/
DRepeatTileBench.cpp47 int b = SkGetPackedB32(c); in compute_666_index()
/external/skia/samplecode/
DSampleUnpremul.cpp37 U8CPU b = SkGetPackedB32(c); in premultiply_unpmcolor()

123