Home
last modified time | relevance | path

Searched refs:SK_B16_BITS (Results 1 – 7 of 7) sorted by relevance

/external/skia/include/core/
DSkColorPriv.h64 #define SK_B16_BITS 5 macro
66 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS)
67 #define SK_G16_SHIFT (SK_B16_BITS)
72 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1)
322 #define SkB32ToB16_MACRO(b) ((unsigned)(b) >> (SK_B32_BITS - SK_B16_BITS))
345 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…
350 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
370 …b = ((b << 1) - ((b >> (8 - SK_B16_BITS) << (8 - SK_B16_BITS)) | (b >> SK_B16_BITS))) >> (8 - SK_B… in SkDitherPack888ToRGB16()
413 db = (sb + SkMul16ShiftRound(db, isa, SK_B16_BITS)) >> (8 - SK_B16_BITS); in SkSrcOver32To16()
430 return (b << (8 - SK_B16_BITS)) | (b >> (2 * SK_B16_BITS - 8)); in SkB16ToB32()
[all …]
/external/webkit/Source/WebKit/android/plugins/
DANPBitmapInterface.cpp54 packing->BBits = SK_B16_BITS; in anp_getPixelPacking()
/external/skia/src/core/
DSkBlitMask_D32.cpp417 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5); in LCD16_RowProc_Blend()
457 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5); in LCD16_RowProc_Opaque()
DSkBlitter_RGB16.cpp544 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); in SkRGB16_Blitter()
DSkBitmap.cpp721 b >> (8 - SK_B16_BITS)); in eraseARGB()
/external/skia/src/opts/
DSkBlitRow_opts_SSE2.cpp527 SK_B16_BITS-5), in SkBlendLCD16_SSE2()
577 __m128i b = _mm_and_si128(_mm_slli_epi32(mask, SK_B16_BITS-5), in SkBlendLCD16Opaque_SSE2()
/external/skia/src/images/
DSkImageDecoder_libpng.cpp475 pos_le(info_ptr->sig_bit.blue, SK_B16_BITS)) { in getBitmapConfig()