Searched defs:PREMULTIPLY (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/libwebp/dsp/
H A Dalpha_processing.c214 #define PREMULTIPLY(x, m) (((x) * (m)) >> 23) macro
217 #define PREMULTIPLY(x, m) (((x) * (m) + (1U << 23)) >> 24) macro
230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult);
231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult);
232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult);
239 #undef PREMULTIPLY macro
/external/webp/src/dsp/
H A Dalpha_processing.c214 #define PREMULTIPLY(x, m) (((x) * (m)) >> 23) macro
217 #define PREMULTIPLY(x, m) (((x) * (m) + (1U << 23)) >> 24) macro
230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult);
231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult);
232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult);
239 #undef PREMULTIPLY macro

Completed in 183 milliseconds