Home
last modified time | relevance | path

Searched refs:PREMULTIPLY (Results 1 – 2 of 2) sorted by relevance

/external/webp/src/dsp/
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); in ApplyAlphaMultiply()
231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult); in ApplyAlphaMultiply()
232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult); in ApplyAlphaMultiply()
239 #undef PREMULTIPLY
/external/mesa3d/src/gallium/state_trackers/vega/
Dshaders_cache.h63 #define SHADERS_GET_PREMULTIPLY_SHADER(id) _SHADERS_GET_STAGE(PREMULTIPLY, id)