Searched refs:SkMul16ShiftRound (Results 1 – 2 of 2) sorted by relevance
342 dr = (sr + SkMul16ShiftRound(dr, isa, SK_R16_BITS)) >> (8 - SK_R16_BITS); in SkSrcOver32To16()343 dg = (sg + SkMul16ShiftRound(dg, isa, SK_G16_BITS)) >> (8 - SK_G16_BITS); in SkSrcOver32To16()344 db = (sb + SkMul16ShiftRound(db, isa, SK_B16_BITS)) >> (8 - SK_B16_BITS); in SkSrcOver32To16()
219 static inline unsigned SkMul16ShiftRound(unsigned a, unsigned b, int shift) { in SkMul16ShiftRound() function