Home
last modified time | relevance | path

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

123

/external/skia/src/core/
DSkXfermode.cpp418 SkAlphaMulAlpha(da, SkGetPackedG32(src)) + in srcatop_modeproc()
419 SkAlphaMulAlpha(isa, SkGetPackedG32(dst)), in srcatop_modeproc()
433 SkAlphaMulAlpha(ida, SkGetPackedG32(src)) + in dstatop_modeproc()
434 SkAlphaMulAlpha(sa, SkGetPackedG32(dst)), in dstatop_modeproc()
449 SkAlphaMulAlpha(ida, SkGetPackedG32(src)) + in xor_modeproc()
450 SkAlphaMulAlpha(isa, SkGetPackedG32(dst)), in xor_modeproc()
460 unsigned g = saturated_add(SkGetPackedG32(src), SkGetPackedG32(dst)); in plus_modeproc()
470 int g = SkAlphaMulAlpha(SkGetPackedG32(src), SkGetPackedG32(dst)); in modulate_modeproc()
491 int g = blendfunc_multiply_byte(SkGetPackedG32(src), SkGetPackedG32(dst), sa, da); in multiply_modeproc()
500 int g = srcover_byte(SkGetPackedG32(src), SkGetPackedG32(dst)); in screen_modeproc()
[all …]
DSkDither.h79 unsigned sg = SkGetPackedG32(c); in SkDitherARGB32For565()
93 unsigned sg = SkGetPackedG32(c); in SkDitherRGB32For565()
117 unsigned sg = SkGetPackedG32(c); in SkDitherRGB32To565()
132 unsigned sg = SkGetPackedG32(c); in SkDitherARGB32To565()
160 unsigned g = SkGetPackedG32(c); in SkDitherARGB32To4444()
DSkUnPreMultiply.cpp16 ApplyScale(scale, SkGetPackedG32(c)), in PMColorToColor()
25 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/
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/tests/
DColorPrivTest.cpp35 const int deltaG = SkGetPackedG32(slow) - SkGetPackedG32(fast); in DEF_TEST()
DColorFilterTest.cpp128 REPORTER_ASSERT(reporter, SkGetPackedG32(out) == 0); in DEF_TEST()
146 REPORTER_ASSERT(reporter, SkGetPackedG32(out) == 0); in DEF_TEST()
DWritePixelsTest.cpp139 unsigned c1 = SkGetPackedG32(color); in premul()
171 int32_t aG = static_cast<int32_t>(SkGetPackedG32(a)); in check_pixel()
176 int32_t bG = static_cast<int32_t>(SkGetPackedG32(b)); in check_pixel()
/external/skia/include/core/
DSkColorPriv.h359 #define SkGetPackedG32(packed) ((uint32_t)((packed) << (24 - SK_G32_SHIFT)) >> 24) macro
374 SkASSERT(SkGetPackedG32(pm_color_value) <= alpha_color_value); \
385 && SkGetPackedG32(c) <= a in SkPMColorValid()
409 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_RGBA()
414 SkGetPackedG32(c), SkGetPackedB32(c)); in SkPackPMColor_as_BGRA()
428 unsigned g = SkAlphaBlend(SkGetPackedG32(src), SkGetPackedG32(dst), scale); in SkFourByteInterp256()
639 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16()
665 unsigned sg = SkGetPackedG32(src); in SkSrcOver32To16()
911 SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32To4444()
988 int dstG = SkGetPackedG32(dst); in SkBlendLCD16()
[all …]
/external/skia/include/gpu/
DSkGr.h29 unsigned g = SkGetPackedG32(pm); in SkColorToPremulGrColor()
62 return GrColorPackRGBA(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c), in SkPMColorToGrColor()
/external/skia/src/effects/
DSkArithmeticMode.cpp105 g = arith(k1, k2, k3, k4, SkGetPackedG32(sc), SkGetPackedG32(dc)); in xfer32()
118 g = blend(g, SkGetPackedG32(sc), scale); in xfer32()
DSkPixelXorXfermode.cpp25 SkGetPackedG32(fOpColor), in flatten()
195 SkGetPackedG32(pixXor.opColor())/255.0f, in onSetData()
299 SkGetPackedG32(pixelXor.opColor())/255.0f, in onSetData()
DSkLumaColorFilter.cpp34 SkGetPackedG32(c), in filterSpan()
/external/skia/src/images/
DSkImageEncoder_argb.cpp31 argb[2] = SkGetPackedG32(c); in ARGB_8888_To_ARGB()
68 argb[2] = SkGetPackedG32(c); in Index8_To_ARGB()
Dtransform_scanline.h61 *dst++ = SkGetPackedG32(c); in transform_scanline_888()
96 unsigned g = SkGetPackedG32(c); in transform_scanline_8888()
DSkImageDecoder_libwebp.cpp339 rgb[1] = SkGetPackedG32(c); in ARGB_8888_To_RGB()
354 uint8_t g = SkGetPackedG32(c); in ARGB_8888_To_RGBA()
425 rgb[1] = SkGetPackedG32(c); in Index8_To_RGB()
/external/skia/gm/
Dimagefromyuvtextures.cpp68 0.587f * SkGetPackedG32(rgbColors[i]) + in onOnceBeforeDraw()
79 rgb[1] += SkGetPackedG32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
Dimage_pict.cpp157 const int cg = SkGetPackedG32(c); in find_closest()
164 int dg = SkAbs32((int)SkGetPackedG32(table[i]) - cg); in find_closest()
/external/skia/src/opts/
DSkColorCubeFilter_opts.h34 g = SkGetPackedG32(input); in color_cube_filter_span()
DSkBlurImageFilter_opts.h200 sumG += SkGetPackedG32(c); \
205 sumG -= SkGetPackedG32(c); \
DSkBlitRow_opts_mips_dsp.cpp248 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither_mips_dsp()
522 int sg = SkGetPackedG32(c); in S32_D565_Blend_Dither_mips_dsp()
/external/skia/bench/
DRepeatTileBench.cpp46 int g = SkGetPackedG32(c); in compute_666_index()
/external/skia/samplecode/
DSampleUnpremul.cpp36 U8CPU g = SkGetPackedG32(c); in premultiply_unpmcolor()

123