Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkXfermode.cpp425 SkAlphaMulAlpha(da, SkGetPackedG32(src)) + in srcatop_modeproc()
426 SkAlphaMulAlpha(isa, SkGetPackedG32(dst)), in srcatop_modeproc()
440 SkAlphaMulAlpha(ida, SkGetPackedG32(src)) + in dstatop_modeproc()
441 SkAlphaMulAlpha(sa, SkGetPackedG32(dst)), in dstatop_modeproc()
456 SkAlphaMulAlpha(ida, SkGetPackedG32(src)) + in xor_modeproc()
457 SkAlphaMulAlpha(isa, SkGetPackedG32(dst)), in xor_modeproc()
467 unsigned g = saturated_add(SkGetPackedG32(src), SkGetPackedG32(dst)); in plus_modeproc()
477 int g = SkAlphaMulAlpha(SkGetPackedG32(src), SkGetPackedG32(dst)); in modulate_modeproc()
498 int g = blendfunc_multiply_byte(SkGetPackedG32(src), SkGetPackedG32(dst), sa, da); in multiply_modeproc()
507 int g = srcover_byte(SkGetPackedG32(src), SkGetPackedG32(dst)); in screen_modeproc()
[all …]
DSkDither.h78 unsigned sg = SkGetPackedG32(c); in SkDitherARGB32For565()
92 unsigned sg = SkGetPackedG32(c); in SkDitherRGB32For565()
116 unsigned sg = SkGetPackedG32(c); in SkDitherRGB32To565()
131 unsigned sg = SkGetPackedG32(c); in SkDitherARGB32To565()
159 unsigned g = SkGetPackedG32(c); in SkDitherARGB32To4444()
DSkUnPreMultiply.cpp15 ApplyScale(scale, SkGetPackedG32(c)), in PMColorToColor()
24 ApplyScale(scale, SkGetPackedG32(c)), in UnPreMultiplyPreservingByteOrder()
DSkBlitRow_D16.cpp119 int sg = SkGetPackedG32(c); in S32_D565_Blend_Dither()
150 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither()
187 int sg = SkGetPackedG32(c); in S32A_D565_Blend_Dither()
209 unsigned g = SkGetPackedG32(c); in pmcolor_to_expand16()
DSkBlitMask_D32.cpp205 int srcG = SkGetPackedG32(s); in LCD16_RowProc_Blend()
222 int dstG = SkGetPackedG32(d); in LCD16_RowProc_Blend()
247 int srcG = SkGetPackedG32(s); in LCD16_RowProc_Opaque()
263 int dstG = SkGetPackedG32(d); in LCD16_RowProc_Opaque()
/external/skia/tools/skdiff/
Dskdiff.cpp146 int dg = SkGetPackedG32(c0) - SkGetPackedG32(c1); in colors_match_thresholded()
184 uint32_t thisG = SkAbs32(SkGetPackedG32(c0) - SkGetPackedG32(c1)); in compute_diff()
Dskdiff.h260 int dg = SkGetPackedG32(c0) - SkGetPackedG32(c1); in compute_diff_pmcolor()
/external/skia/include/core/
DSkColorPriv.h367 #define SkGetPackedG32(packed) ((uint32_t)((packed) << (24 - SK_G32_SHIFT)) >> 24) macro
382 SkASSERT(SkGetPackedG32(pm_color_value) <= alpha_color_value); \
393 && SkGetPackedG32(c) <= a in SkPMColorValid()
417 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_RGBA()
422 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_BGRA()
436 unsigned g = SkAlphaBlend(SkGetPackedG32(src), SkGetPackedG32(dst), scale); in SkFourByteInterp256()
662 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16()
688 unsigned sg = SkGetPackedG32(src); in SkSrcOver32To16()
934 SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32To4444()
1011 int dstG = SkGetPackedG32(dst); in SkBlendLCD16()
[all …]
/external/skia/tests/
DColorPrivTest.cpp35 const int deltaG = SkGetPackedG32(slow) - SkGetPackedG32(fast); in DEF_TEST()
DColorFilterTest.cpp126 REPORTER_ASSERT(reporter, SkGetPackedG32(out) == 0); in DEF_TEST()
144 REPORTER_ASSERT(reporter, SkGetPackedG32(out) == 0); in DEF_TEST()
DWritePixelsTest.cpp138 unsigned c1 = SkGetPackedG32(color); in premul()
170 int32_t aG = static_cast<int32_t>(SkGetPackedG32(a)); in check_pixel()
175 int32_t bG = static_cast<int32_t>(SkGetPackedG32(b)); in check_pixel()
DGrGetCoeffBlendKnownComponentsTest.cpp22 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
DColorSpaceXformTest.cpp96 SkGetPackedG32(dstPixels[i]))); in test_identity_xform()
132 SkGetPackedG32(dstPixels[i]))); in test_identity_xform_A2B()
/external/skia/src/images/
DSkPNGImageEncoder.cpp144 palette[numWithAlpha].green = SkGetPackedG32(colors[i]); in pack_palette()
157 palette[i].green = SkGetPackedG32(c); in pack_palette()
168 palette[currIndex].green = SkGetPackedG32(colors[i]); in pack_palette()
/external/skia/gm/
Dimagefromyuvtextures.cpp68 0.587f * SkGetPackedG32(rgbColors[i]) + in onOnceBeforeDraw()
79 rgb[1] += SkGetPackedG32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
Dgammaencodedpremul.cpp18 uint8_t g = SkGetPackedG32(pixels[i]); in clamp_to_alpha()
Dimage_pict.cpp167 const int cg = SkGetPackedG32(c); in find_closest()
174 int dg = SkAbs32((int)SkGetPackedG32(table[i]) - cg); in find_closest()
/external/skia/src/effects/
DSkLumaColorFilter.cpp34 SkGetPackedG32(c), in filterSpan()
DSkOverdrawColorFilter.cpp97 SkGetPackedG32(colors[i]), in Make()
/external/skia/src/opts/
DSkBlurImageFilter_opts.h205 sumG += SkGetPackedG32(c); \
210 sumG -= SkGetPackedG32(c); \
DSkBlitRow_opts_SSE2.cpp109 uint32_t src_expand = (SkGetPackedG32(src) << 24) | in Color32A_D565_SSE2()
118 const __m128i src_G_wide = _mm_set1_epi16(SkGetPackedG32(src) << 3); in Color32A_D565_SSE2()
819 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither_SSE2()
974 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither_SSE2()
DSkBlitRow_opts_arm_neon.cpp482 unsigned g = SkGetPackedG32(c); in pmcolor_to_expand16()
527 unsigned sg = SkGetPackedG32(src); in Color32A_D565_neon()
859 int sg = SkGetPackedG32(c); in S32_D565_Blend_Dither_neon()
1156 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither_neon()
/external/skia/bench/
DRepeatTileBench.cpp45 int g = SkGetPackedG32(c); in compute_666_index()
/external/skia/samplecode/
DSampleUnpremul.cpp34 U8CPU g = SkGetPackedG32(c); in premultiply_unpmcolor()
DSampleDither.cpp87 unsigned g = SkGetPackedG32(c); in pre_dither()

12