Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkXfermode.cpp423 SkAlphaMulAlpha(da, SkGetPackedR32(src)) + in srcatop_modeproc()
424 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), in srcatop_modeproc()
438 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + in dstatop_modeproc()
439 SkAlphaMulAlpha(sa, SkGetPackedR32(dst)), in dstatop_modeproc()
454 SkAlphaMulAlpha(ida, SkGetPackedR32(src)) + in xor_modeproc()
455 SkAlphaMulAlpha(isa, SkGetPackedR32(dst)), in xor_modeproc()
468 unsigned r = saturated_add(SkGetPackedR32(src), SkGetPackedR32(dst)); in plus_modeproc()
476 int r = SkAlphaMulAlpha(SkGetPackedR32(src), SkGetPackedR32(dst)); in modulate_modeproc()
497 int r = blendfunc_multiply_byte(SkGetPackedR32(src), SkGetPackedR32(dst), sa, da); in multiply_modeproc()
506 int r = srcover_byte(SkGetPackedR32(src), SkGetPackedR32(dst)); in screen_modeproc()
[all …]
DSkDither.h77 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32For565()
91 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32For565()
115 unsigned sr = SkGetPackedR32(c); in SkDitherRGB32To565()
130 unsigned sr = SkGetPackedR32(c); in SkDitherARGB32To565()
158 unsigned r = SkGetPackedR32(c); in SkDitherARGB32To4444()
DSkUnPreMultiply.cpp14 ApplyScale(scale, SkGetPackedR32(c)), in PMColorToColor()
23 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/skdiff/
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/include/core/
DSkColorPriv.h366 #define SkGetPackedR32(packed) ((uint32_t)((packed) << (24 - SK_R32_SHIFT)) >> 24) macro
381 SkASSERT(SkGetPackedR32(pm_color_value) <= alpha_color_value); \
392 && SkGetPackedR32(c) <= a in SkPMColorValid()
416 return SkPackARGB_as_RGBA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_RGBA()
421 return SkPackARGB_as_BGRA(SkGetPackedA32(c), SkGetPackedR32(c), in SkPackPMColor_as_BGRA()
435 unsigned r = SkAlphaBlend(SkGetPackedR32(src), SkGetPackedR32(dst), scale); in SkFourByteInterp256()
662 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16()
687 unsigned sr = SkGetPackedR32(src); in SkSrcOver32To16()
933 return SkDitherARGB32To4444(SkGetPackedA32(c), SkGetPackedR32(c), in SkDitherPixel32To4444()
1010 int dstR = SkGetPackedR32(dst); in SkBlendLCD16()
[all …]
/external/skia/tests/
DColorPrivTest.cpp34 const int deltaR = SkGetPackedR32(slow) - SkGetPackedR32(fast); in DEF_TEST()
DColorFilterTest.cpp125 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0); in DEF_TEST()
143 REPORTER_ASSERT(reporter, SkGetPackedR32(out) == 0); in DEF_TEST()
DWritePixelsTest.cpp137 unsigned c0 = SkGetPackedR32(color); in premul()
169 int32_t aR = static_cast<int32_t>(SkGetPackedR32(a)); in check_pixel()
174 int32_t bR = static_cast<int32_t>(SkGetPackedR32(b)); in check_pixel()
DGrGetCoeffBlendKnownComponentsTest.cpp22 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
DColorSpaceXformTest.cpp98 SkGetPackedR32(dstPixels[i]))); in test_identity_xform()
134 SkGetPackedR32(dstPixels[i]))); in test_identity_xform_A2B()
/external/skia/src/images/
DSkPNGImageEncoder.cpp143 palette[numWithAlpha].red = SkGetPackedR32(colors[i]); in pack_palette()
156 palette[i].red = SkGetPackedR32(c); in pack_palette()
167 palette[currIndex].red = SkGetPackedR32(colors[i]); in pack_palette()
/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()
Dgammaencodedpremul.cpp17 uint8_t r = SkGetPackedR32(pixels[i]); in clamp_to_alpha()
Dimage_pict.cpp166 const int cr = SkGetPackedR32(c); in find_closest()
173 int dr = SkAbs32((int)SkGetPackedR32(table[i]) - cr); in find_closest()
/external/skia/src/effects/
DSkLumaColorFilter.cpp33 unsigned luma = SkComputeLuminance(SkGetPackedR32(c), in filterSpan()
DSkOverdrawColorFilter.cpp96 grColors[i] = GrColor4f::FromGrColor(GrColorPackRGBA(SkGetPackedR32(colors[i]), in Make()
/external/skia/src/opts/
DSkBlurImageFilter_opts.h204 sumR += SkGetPackedR32(c); \
209 sumR -= SkGetPackedR32(c); \
DSkBlitRow_opts_SSE2.cpp110 (SkGetPackedR32(src) << 13) | in Color32A_D565_SSE2()
117 const __m128i src_R_wide = _mm_set1_epi16(SkGetPackedR32(src) << 2); in Color32A_D565_SSE2()
818 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_SSE2()
973 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_SSE2()
DSkBlitRow_opts_arm_neon.cpp481 unsigned r = SkGetPackedR32(c); in pmcolor_to_expand16()
526 unsigned sr = SkGetPackedR32(src); in Color32A_D565_neon()
858 int sr = SkGetPackedR32(c); in S32_D565_Blend_Dither_neon()
1155 unsigned sr = SkGetPackedR32(c); in S32A_D565_Opaque_Dither_neon()
/external/skia/bench/
DRepeatTileBench.cpp44 int r = SkGetPackedR32(c); in compute_666_index()
/external/skia/samplecode/
DSampleUnpremul.cpp33 U8CPU r = SkGetPackedR32(c); in premultiply_unpmcolor()
DSampleDither.cpp86 unsigned r = SkGetPackedR32(c); in pre_dither()

12