Home
last modified time | relevance | path

Searched refs:SK_G16_MASK (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/opts/
DSkColor_opts_SSE2.h150 g = _mm_and_si128(g, _mm_set1_epi32(SK_G16_MASK)); in SkPacked16ToG32_SSE2()
188 g1 = _mm_and_si128(g1, _mm_set1_epi32(SK_G16_MASK)); in SkPixel32ToPixel16_ToU16_SSE2()
191 g2 = _mm_and_si128(g2, _mm_set1_epi32(SK_G16_MASK)); in SkPixel32ToPixel16_ToU16_SSE2()
DSkBlitRow_opts_SSE2.cpp254 const __m128i mask_green = _mm_set1_epi16(SK_G16_MASK << SK_G16_SHIFT); in Color32A_D565_SSE2()
719 __m128i g16_mask = _mm_set1_epi16(SK_G16_MASK); in S32A_D565_Opaque_SSE2()
993 __m128i g16_mask = _mm_set1_epi16(SK_G16_MASK); in S32A_D565_Opaque_Dither_SSE2()
/external/skia/include/core/
DSkColorPriv.h239 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1) macro
243 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK)
247 #define SkG16Assert(g) SkASSERT((unsigned)(g) <= SK_G16_MASK)
252 SkASSERT(g <= SK_G16_MASK); in SkPackRGB16()
259 #define SK_G16_MASK_IN_PLACE (SK_G16_MASK << SK_G16_SHIFT)
336 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK); in SkRGB16Add()
607 …e SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16_MASK)
612 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; in SkPixel32ToPixel16()
/external/skia/src/effects/
DSkAvoidXfermode.cpp40 SkASSERT(g <= SK_G16_MASK); in color_dist16()