Searched refs:PREMULTIPLY (Results 1 - 4 of 4) 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
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dshaders_cache.h63 #define SHADERS_GET_PREMULTIPLY_SHADER(id) _SHADERS_GET_STAGE(PREMULTIPLY, id)
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dshaders_cache.h63 #define SHADERS_GET_PREMULTIPLY_SHADER(id) _SHADERS_GET_STAGE(PREMULTIPLY, id)

Completed in 268 milliseconds