Searched defs:rgba4444 (Results 1 - 2 of 2) sorted by relevance
/external/chromium_org/third_party/libwebp/dsp/ |
H A D | alpha_processing.c | 257 static WEBP_INLINE void ApplyAlphaMultiply4444(uint8_t* rgba4444, argument 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, argument 281 ApplyAlphaMultiply4444(rgba4444, w, h, stride, 1); 283 ApplyAlphaMultiply4444(rgba4444, w, h, stride, 0);
|
/external/webp/src/dsp/ |
H A D | alpha_processing.c | 257 static WEBP_INLINE void ApplyAlphaMultiply4444(uint8_t* rgba4444, argument 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, argument 281 ApplyAlphaMultiply4444(rgba4444, w, h, stride, 1); 283 ApplyAlphaMultiply4444(rgba4444, w, h, stride, 0);
|
Completed in 82 milliseconds