Home
last modified time | relevance | path

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

123

/external/skia/src/core/
DSkXfermode.cpp416 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 …]
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()
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.cpp204 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/
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.cpp138 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/
DSkColorPriv.h358 #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/
DSkGr.h28 unsigned r = SkGetPackedR32(pm); in SkColorToPremulGrColor()
62 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
/external/skia/src/effects/
DSkArithmeticMode.cpp104 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); in xfer32()
117 r = blend(r, SkGetPackedR32(sc), scale); in xfer32()
DSkPixelXorXfermode.cpp24 wb.writeColor(SkColorSetRGB(SkGetPackedR32(fOpColor), in flatten()
194 SkGetPackedR32(pixXor.opColor())/255.0f, in onSetData()
298 SkGetPackedR32(pixelXor.opColor())/255.0f, in onSetData()
DSkLumaColorFilter.cpp33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), in filterSpan()
/external/skia/src/images/
DSkImageEncoder_argb.cpp30 argb[1] = SkGetPackedR32(c); in ARGB_8888_To_ARGB()
67 argb[1] = SkGetPackedR32(c); in Index8_To_ARGB()
Dtransform_scanline.h60 *dst++ = SkGetPackedR32(c); in transform_scanline_888()
95 unsigned r = SkGetPackedR32(c); in transform_scanline_8888()
DSkImageDecoder_libwebp.cpp338 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/
Dimagefromyuvtextures.cpp67 yPixels[i] = static_cast<unsigned char>(0.299f * SkGetPackedR32(rgbColors[i]) + in onOnceBeforeDraw()
78 rgb[0] += SkGetPackedR32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
Dimage_pict.cpp156 const int cr = SkGetPackedR32(c); in find_closest()
163 int dr = SkAbs32((int)SkGetPackedR32(table[i]) - cr); in find_closest()
/external/skia/src/opts/
DSkColorCubeFilter_opts.h33 r = SkGetPackedR32(input); in color_cube_filter_span()
DSkBlurImageFilter_opts.h199 sumR += SkGetPackedR32(c); \
204 sumR -= SkGetPackedR32(c); \
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()
/external/skia/bench/
DRepeatTileBench.cpp45 int r = SkGetPackedR32(c); in compute_666_index()
/external/skia/samplecode/
DSampleUnpremul.cpp35 U8CPU r = SkGetPackedR32(c); in premultiply_unpmcolor()

123