Home | History | Annotate | Download | only in dsp

Lines Matching refs:rgba4444

241 // rgbA4444
257 static WEBP_INLINE void ApplyAlphaMultiply4444(uint8_t* rgba4444,
263 const uint32_t rg = rgba4444[2 * i + rg_byte_pos];
264 const uint32_t ba = rgba4444[2 * i + (rg_byte_pos ^ 1)];
270 rgba4444[2 * i + rg_byte_pos] = (r & 0xf0) | ((g >> 4) & 0x0f);
271 rgba4444[2 * i + (rg_byte_pos ^ 1)] = (b & 0xf0) | a;
273 rgba4444 += stride;
278 static void ApplyAlphaMultiply_16b(uint8_t* rgba4444,
281 ApplyAlphaMultiply4444(rgba4444, w, h, stride, 1);
283 ApplyAlphaMultiply4444(rgba4444, w, h, stride, 0);