Lines Matching refs:addr
129 const uint8_t* addr = pixmap.addr8(x, y); in getColor() local
130 return SkColorSetRGB(*addr, *addr, *addr); in getColor()
133 const uint8_t* addr = pixmap.addr8(x, y); in getColor() local
134 return SkColorSetA(0, addr[0]); in getColor()
137 const uint16_t* addr = pixmap.addr16(x, y); in getColor() local
138 return SkPixel16ToColor(addr[0]); in getColor()
141 const uint16_t* addr = pixmap.addr16(x, y); in getColor() local
142 SkPMColor c = SkPixel4444ToPixel32(addr[0]); in getColor()
146 const uint32_t* addr = pixmap.addr32(x, y); in getColor() local
147 SkPMColor c = SkSwizzle_BGRA_to_PMColor(addr[0]); in getColor()
151 const uint32_t* addr = pixmap.addr32(x, y); in getColor() local
152 SkPMColor c = SkSwizzle_RGBA_to_PMColor(addr[0]); in getColor()