Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkColorPriv.h56 #define SK_B16_BITS 5 macro
58 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS)
59 #define SK_G16_SHIFT (SK_B16_BITS)
64 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1)
248 #define SkB32ToB16_MACRO(b) ((unsigned)(b) >> (SK_B32_BITS - SK_B16_BITS))
271 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…
276 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
296 …b = ((b << 1) - ((b >> (8 - SK_B16_BITS) << (8 - SK_B16_BITS)) | (b >> SK_B16_BITS))) >> (8 - SK_B… in SkDitherPack888ToRGB16()
339 db = (sb + SkMul16ShiftRound(db, isa, SK_B16_BITS)) >> (8 - SK_B16_BITS); in SkSrcOver32To16()
356 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/
DSkBlitter_ARGB32.cpp74 int maskB = SkGetPackedB16(mask) >> (SK_B16_BITS - 5); in blit_lcd16_opaque()
DSkBlitter_RGB16.cpp546 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); in SkRGB16_Blitter()
DSkBitmap.cpp729 b >> (8 - SK_B16_BITS)); in eraseARGB()
/external/skia/src/images/
DSkImageDecoder_libpng.cpp483 pos_le(info_ptr->sig_bit.blue, SK_B16_BITS)) { in getBitmapConfig()