Lines Matching refs:argb
99 if (IsTransparentARGBArea(pic->argb + off, pic->argb_stride, SIZE)) { in WebPCleanupTransparentArea()
101 argb_value = pic->argb[off]; in WebPCleanupTransparentArea()
104 FlattenARGB(pic->argb + off, argb_value, pic->argb_stride, SIZE); in WebPCleanupTransparentArea()
170 uint32_t* argb; in WebPCleanupTransparentAreaLossless() local
174 argb = pic->argb; in WebPCleanupTransparentAreaLossless()
178 if ((argb[x] & 0xff000000) == 0) { in WebPCleanupTransparentAreaLossless()
179 argb[x] = 0x00000000; in WebPCleanupTransparentAreaLossless()
182 argb += pic->argb_stride; in WebPCleanupTransparentAreaLossless()
251 uint32_t* argb = pic->argb; in WebPBlendAlpha() local
255 const int alpha = (argb[x] >> 24) & 0xff; in WebPBlendAlpha()
258 int r = (argb[x] >> 16) & 0xff; in WebPBlendAlpha()
259 int g = (argb[x] >> 8) & 0xff; in WebPBlendAlpha()
260 int b = (argb[x] >> 0) & 0xff; in WebPBlendAlpha()
264 argb[x] = MakeARGB32(r, g, b); in WebPBlendAlpha()
266 argb[x] = background; in WebPBlendAlpha()
270 argb += pic->argb_stride; in WebPBlendAlpha()