Searched refs:SK_B16_MASK (Results 1 – 6 of 6) sorted by relevance
231 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1) macro235 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK)239 #define SkB16Assert(b) SkASSERT((unsigned)(b) <= SK_B16_MASK)244 SkASSERT(b <= SK_B16_MASK); in SkPackRGB16()251 #define SK_B16_MASK_IN_PLACE (SK_B16_MASK << SK_B16_SHIFT)328 SkASSERT(SkGetPackedB16(a) + SkGetPackedB16(b) <= SK_B16_MASK); in SkRGB16Add()587 …e SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16_MASK)592 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
159 b = _mm_and_si128(b, _mm_set1_epi32(SK_B16_MASK)); in SkPacked16ToB32_SSE2()197 b1 = _mm_and_si128(b1, _mm_set1_epi32(SK_B16_MASK)); in SkPixel32ToPixel16_ToU16_SSE2()200 b2 = _mm_and_si128(b2, _mm_set1_epi32(SK_B16_MASK)); in SkPixel32ToPixel16_ToU16_SSE2()
165 vmaskB = vmask & vdupq_n_u16(SK_B16_MASK); in SkBlitLCD16OpaqueRow_neon()228 vmaskB = vmask & vdupq_n_u16(SK_B16_MASK); in SkBlitLCD16Row_neon()
44 vb = vmovn_u16(vsrc & vdupq_n_u16(SK_B16_MASK)); in SkPixel16ToPixel32_neon8()
250 const __m128i mask_blue = _mm_set1_epi16(SK_B16_MASK); in Color32A_D565_SSE2()765 __m128i b16_mask = _mm_set1_epi16(SK_B16_MASK); in S32A_D565_Opaque_SSE2()1039 __m128i b16_mask = _mm_set1_epi16(SK_B16_MASK); in S32A_D565_Opaque_Dither_SSE2()
518 vmask_blue = vmovq_n_u16(SK_B16_MASK); in Color32A_D565_neon()627 vmask_blue = vmovq_n_u16(SK_B16_MASK); in S32A_D565_Blend_neon()1472 dst_b = vandq_u16(dst8, vdupq_n_u16(SK_B16_MASK)); in S32A_D565_Opaque_Dither_neon()