Home
last modified time | relevance | path

Searched refs:SkGetPackedG16 (Results 1 – 8 of 8) sorted by relevance

/external/skia/include/core/
DSkColorPriv.h251 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) macro
344 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK); in SkRGB16Add()
692 unsigned dg = SkGetPackedG16(dst); in SkSrcOver32To16()
720 #define SkPacked16ToG32(c) SkG16ToG32(SkGetPackedG16(c))
731 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToPixel32()
746 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToColor()
883 unsigned dg = SkAlphaMul4(SkGetPackedG16(d), scale); in SkSrcOver4444To16()
997 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5); in SkBlendLCD16()
1037 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5); in SkBlendLCD16Opaque()
/external/skia/src/core/
DSkBlitRow_D16.cpp42 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), in S32_D565_Blend()
127 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither()
194 int dg = (sg * src_scale + SkGetPackedG16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
DSkBlitMask_D32.cpp214 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); in LCD16_RowProc_Blend()
254 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); in LCD16_RowProc_Opaque()
DSkSpriteBlitter_RGB16.cpp31 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); in D16_S32A_Blend_Pixel_helper()
36 dg = (SkPacked32ToG16(sc) * src_scale + SkGetPackedG16(dc) * dst_scale) >> 8; in D16_S32A_Blend_Pixel_helper()
DSkXfermode4f.cpp382 Sk4i rgbi = Sk4i(SkGetPackedR16(rgb), SkGetPackedG16(rgb), SkGetPackedB16(rgb), 0); in lcd16_to_unit_4f()
384 Sk4i rgbi = Sk4i(SkGetPackedB16(rgb), SkGetPackedG16(rgb), SkGetPackedR16(rgb), 0); in lcd16_to_unit_4f()
DSkAAClip.cpp2079 unsigned g = SkGetPackedG16(value); in mergeOne()
/external/skia/tests/
DColorTest.cpp16 #define GetPackedG16As32(packed) (SkGetPackedG16(dc) << (8 - SK_G16_BITS))
/external/skia/src/opts/
DSkBlitRow_opts_arm_neon.cpp184 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), in S32_D565_Blend_neon()
718 unsigned dg = (SkPacked32ToG16(sc) * alpha) + (SkGetPackedG16(dc) * dst_scale); in S32A_D565_Blend_neon()
867 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither_neon()